Lines Matching refs:iov_base
183 bvec_set_virt(bvec++, head->iov_base, head->iov_len); in xdr_buf_to_bvec()
205 bvec_set_virt(bvec, tail->iov_base, tail->iov_len); in xdr_buf_to_bvec()
232 char *buf = (char *)head->iov_base; in xdr_inline_pages()
241 tail->iov_base = buf + offset; in xdr_inline_pages()
481 memset(iov->iov_base + base, 0, len); in xdr_buf_iov_zero()
595 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right()
625 _copy_from_pages(tail->iov_base + tato, buf->pages, in xdr_buf_pages_copy_right()
667 memcpy(tail->iov_base + tato, head->iov_base + base, talen); in xdr_buf_head_copy_right()
671 _copy_to_pages(buf->pages, buf->page_base + pgto, head->iov_base + base, in xdr_buf_head_copy_right()
675 memmove(head->iov_base + to, head->iov_base + base, len); in xdr_buf_head_copy_right()
745 memcpy(head->iov_base + hdto, tail->iov_base + base, hdlen); in xdr_buf_tail_copy_left()
759 tail->iov_base + base, pglen); in xdr_buf_tail_copy_left()
765 memmove(tail->iov_base + base - shift, tail->iov_base + base, len); in xdr_buf_tail_copy_left()
789 _copy_from_pages(head->iov_base + hdto, buf->pages, in xdr_buf_pages_copy_left()
847 memmove(head->iov_base + (base - shift), in xdr_buf_head_shift_left()
848 head->iov_base + base, bytes); in xdr_buf_head_shift_left()
974 xdr->p = (__be32 *)((char *)iov->iov_base + iov->iov_len); in xdr_init_encode()
975 xdr->end = (__be32 *)((char *)iov->iov_base + scratch_len); in xdr_init_encode()
1032 memcpy(xdr->scratch.iov_base, page, shift); in __xdr_commit_encode()
1203 xdr->p = tail->iov_base + tail->iov_len; in xdr_truncate_encode()
1225 xdr->end = head->iov_base + head->iov_len; in xdr_truncate_encode()
1230 xdr->p = head->iov_base + head->iov_len; in xdr_truncate_encode()
1300 tail->iov_base = xdr->p; in xdr_write_pages()
1308 tail->iov_base = (char *)xdr->p + (len & 3); in xdr_write_pages()
1325 xdr->p = (__be32*)(iov->iov_base + base); in xdr_set_iov()
1326 xdr->end = (__be32*)(iov->iov_base + len); in xdr_set_iov()
1490 char *cpdest = xdr->scratch.iov_base; in xdr_copy_to_scratch()
1507 return xdr->scratch.iov_base; in xdr_copy_to_scratch()
1661 static const struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
1691 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment()
1698 subbuf->head[0].iov_base = buf->head[0].iov_base; in xdr_buf_subsegment()
1717 subbuf->tail[0].iov_base = buf->tail[0].iov_base + base; in xdr_buf_subsegment()
1724 subbuf->tail[0].iov_base = buf->tail[0].iov_base; in xdr_buf_subsegment()
1882 memcpy(obj, subbuf->head[0].iov_base, this_len); in __read_bytes_from_xdr_buf()
1890 memcpy(obj, subbuf->tail[0].iov_base, this_len); in __read_bytes_from_xdr_buf()
1914 memcpy(subbuf->head[0].iov_base, obj, this_len); in __write_bytes_to_xdr_buf()
1922 memcpy(subbuf->tail[0].iov_base, obj, this_len); in __write_bytes_to_xdr_buf()
1989 c = buf->head->iov_base + base; in xdr_xcode_array2()
2123 c = buf->tail->iov_base + base; in xdr_xcode_array2()
2192 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen); in xdr_process_buf()
2232 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen); in xdr_process_buf()