Lines Matching defs:segment
73 * Write WRs are constructed and posted. Each Write segment gets its own
75 * DMA-unmap the pages under I/O for that Write segment. The Write
369 * svc_rdma_encode_write_segment - Encode one Write segment
373 * @segno: which segment in the chunk
377 * that was consumed by the Write segment, and updates @remaining
384 const struct svc_rdma_segment *segment = &chunk->ch_segments[segno];
393 length = min_t(u32, *remaining, segment->rs_length);
395 xdr_encode_rdma_segment(p, segment->rs_handle, length,
396 segment->rs_offset);
397 trace_svcrdma_encode_wseg(sctxt, segno, segment->rs_handle, length,
398 segment->rs_offset);
408 * Reply transport header. Update each segment's length field
409 * to reflect the number of bytes written in that segment.