Lines Matching refs:tail
102 size_t tlen = buf->tail[0].iov_len; in rpcrdma_tail_pullup()
118 src = buf->tail[0].iov_base; in rpcrdma_tail_pullup()
190 if (xdrbuf->tail[0].iov_len) { in rpcrdma_convert_iovs()
193 if (xdrbuf->tail[0].iov_len < 4 && xprt_rdma_pad_optimize) in rpcrdma_convert_iovs()
199 seg[n].mr_offset = xdrbuf->tail[0].iov_base; in rpcrdma_convert_iovs()
200 seg[n].mr_len = xdrbuf->tail[0].iov_len; in rpcrdma_convert_iovs()
383 if (rqst->rq_snd_buf.tail[0].iov_len) { in rpcrdma_inline_pullup()
384 curlen = rqst->rq_snd_buf.tail[0].iov_len; in rpcrdma_inline_pullup()
385 if (destp + copy_len != rqst->rq_snd_buf.tail[0].iov_base) { in rpcrdma_inline_pullup()
387 rqst->rq_snd_buf.tail[0].iov_base, curlen); in rpcrdma_inline_pullup()
668 if (copy_len && rqst->rq_rcv_buf.tail[0].iov_len) { in rpcrdma_inline_fixup()
670 if (curlen > rqst->rq_rcv_buf.tail[0].iov_len) in rpcrdma_inline_fixup()
671 curlen = rqst->rq_rcv_buf.tail[0].iov_len; in rpcrdma_inline_fixup()
672 if (rqst->rq_rcv_buf.tail[0].iov_base != srcp) in rpcrdma_inline_fixup()
673 memmove(rqst->rq_rcv_buf.tail[0].iov_base, srcp, curlen); in rpcrdma_inline_fixup()
676 rqst->rq_rcv_buf.tail[0].iov_len = curlen; in rpcrdma_inline_fixup()
679 rqst->rq_rcv_buf.tail[0].iov_len = 0; in rpcrdma_inline_fixup()
683 unsigned char *p = rqst->rq_rcv_buf.tail[0].iov_base; in rpcrdma_inline_fixup()
685 p[rqst->rq_rcv_buf.tail[0].iov_len++] = 0; in rpcrdma_inline_fixup()