Lines Matching full:remaining
57 * the svc_rqst will be recycled as soon as sendto returns. Remaining
381 * @remaining: remaining bytes of the payload left in the Write chunk
386 * that was consumed by the Write segment, and updates @remaining
391 u32 *remaining, unsigned int segno) in svc_rdma_encode_write_segment() argument
402 length = min_t(u32, *remaining, segment->rs_length); in svc_rdma_encode_write_segment()
403 *remaining -= length; in svc_rdma_encode_write_segment()
428 u32 remaining = chunk->ch_payload_length; in svc_rdma_encode_write_chunk() local
444 ret = svc_rdma_encode_write_segment(sctxt, chunk, &remaining, segno); in svc_rdma_encode_write_chunk()
592 unsigned int len, remaining; in svc_rdma_xb_dma_map() local
603 remaining = xdr->page_len; in svc_rdma_xb_dma_map()
604 while (remaining) { in svc_rdma_xb_dma_map()
605 len = min_t(u32, PAGE_SIZE - pageoff, remaining); in svc_rdma_xb_dma_map()
611 remaining -= len; in svc_rdma_xb_dma_map()
640 unsigned int remaining; in svc_rdma_xb_count_sges() local
647 remaining = xdr->page_len; in svc_rdma_xb_count_sges()
648 while (remaining) { in svc_rdma_xb_count_sges()
650 remaining -= min_t(u32, PAGE_SIZE - offset, remaining); in svc_rdma_xb_count_sges()
706 unsigned int len, remaining; in svc_rdma_xb_linearize() local
717 remaining = xdr->page_len; in svc_rdma_xb_linearize()
718 while (remaining) { in svc_rdma_xb_linearize()
719 len = min_t(u32, PAGE_SIZE - pageoff, remaining); in svc_rdma_xb_linearize()
721 remaining -= len; in svc_rdma_xb_linearize()