Lines Matching full:remaining
57 * the svc_rqst will be recycled as soon as sendto returns. Remaining
367 * @remaining: remaining bytes of the payload left in the Write chunk
372 * that was consumed by the Write segment, and updates @remaining
377 u32 *remaining, unsigned int segno) in svc_rdma_encode_write_segment() argument
388 length = min_t(u32, *remaining, segment->rs_length); in svc_rdma_encode_write_segment()
389 *remaining -= length; in svc_rdma_encode_write_segment()
414 u32 remaining = chunk->ch_payload_length; in svc_rdma_encode_write_chunk() local
430 ret = svc_rdma_encode_write_segment(sctxt, chunk, &remaining, segno); in svc_rdma_encode_write_chunk()
578 unsigned int len, remaining; in svc_rdma_xb_dma_map() local
589 remaining = xdr->page_len; in svc_rdma_xb_dma_map()
590 while (remaining) { in svc_rdma_xb_dma_map()
591 len = min_t(u32, PAGE_SIZE - pageoff, remaining); in svc_rdma_xb_dma_map()
597 remaining -= len; in svc_rdma_xb_dma_map()
626 unsigned int remaining; in svc_rdma_xb_count_sges() local
633 remaining = xdr->page_len; in svc_rdma_xb_count_sges()
634 while (remaining) { in svc_rdma_xb_count_sges()
636 remaining -= min_t(u32, PAGE_SIZE - offset, remaining); in svc_rdma_xb_count_sges()
692 unsigned int len, remaining; in svc_rdma_xb_linearize() local
703 remaining = xdr->page_len; in svc_rdma_xb_linearize()
704 while (remaining) { in svc_rdma_xb_linearize()
705 len = min_t(u32, PAGE_SIZE - pageoff, remaining); in svc_rdma_xb_linearize()
707 remaining -= len; in svc_rdma_xb_linearize()