Lines Matching full:remaining
57 * the svc_rqst will be recycled as soon as sendto returns. Remaining
412 * @remaining: remaining bytes of the payload left in the Write chunk
417 * that was consumed by the Write segment, and updates @remaining
422 u32 *remaining, unsigned int segno) in svc_rdma_encode_write_segment() argument
433 length = min_t(u32, *remaining, segment->rs_length); in svc_rdma_encode_write_segment()
434 *remaining -= length; in svc_rdma_encode_write_segment()
459 u32 remaining = chunk->ch_payload_length; in svc_rdma_encode_write_chunk() local
475 ret = svc_rdma_encode_write_segment(sctxt, chunk, &remaining, segno); in svc_rdma_encode_write_chunk()
623 unsigned int len, remaining; in svc_rdma_xb_dma_map() local
634 remaining = xdr->page_len; in svc_rdma_xb_dma_map()
635 while (remaining) { in svc_rdma_xb_dma_map()
636 len = min_t(u32, PAGE_SIZE - pageoff, remaining); in svc_rdma_xb_dma_map()
642 remaining -= len; in svc_rdma_xb_dma_map()
671 unsigned int remaining; in svc_rdma_xb_count_sges() local
678 remaining = xdr->page_len; in svc_rdma_xb_count_sges()
679 while (remaining) { in svc_rdma_xb_count_sges()
681 remaining -= min_t(u32, PAGE_SIZE - offset, remaining); in svc_rdma_xb_count_sges()
737 unsigned int len, remaining; in svc_rdma_xb_linearize() local
748 remaining = xdr->page_len; in svc_rdma_xb_linearize()
749 while (remaining) { in svc_rdma_xb_linearize()
750 len = min_t(u32, PAGE_SIZE - pageoff, remaining); in svc_rdma_xb_linearize()
752 remaining -= len; in svc_rdma_xb_linearize()