Lines Matching refs:iov_base

182 	char *buf = (char *)head->iov_base;  in xdr_inline_pages()
191 tail->iov_base = buf + offset; in xdr_inline_pages()
431 memset(iov->iov_base + base, 0, len); in xdr_buf_iov_zero()
545 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right()
575 _copy_from_pages(tail->iov_base + tato, buf->pages, in xdr_buf_pages_copy_right()
617 memcpy(tail->iov_base + tato, head->iov_base + base, talen); in xdr_buf_head_copy_right()
621 _copy_to_pages(buf->pages, buf->page_base + pgto, head->iov_base + base, in xdr_buf_head_copy_right()
625 memmove(head->iov_base + to, head->iov_base + base, len); in xdr_buf_head_copy_right()
695 memcpy(head->iov_base + hdto, tail->iov_base + base, hdlen); in xdr_buf_tail_copy_left()
709 tail->iov_base + base, pglen); in xdr_buf_tail_copy_left()
715 memmove(tail->iov_base + base - shift, tail->iov_base + base, len); in xdr_buf_tail_copy_left()
739 _copy_from_pages(head->iov_base + hdto, buf->pages, in xdr_buf_pages_copy_left()
797 memmove(head->iov_base + (base - shift), in xdr_buf_head_shift_left()
798 head->iov_base + base, bytes); in xdr_buf_head_shift_left()
924 xdr->p = (__be32 *)((char *)iov->iov_base + iov->iov_len); in xdr_init_encode()
925 xdr->end = (__be32 *)((char *)iov->iov_base + scratch_len); in xdr_init_encode()
982 memcpy(xdr->scratch.iov_base, page, shift); in __xdr_commit_encode()
1108 vec[v].iov_base = p; in xdr_reserve_space_vec()
1155 xdr->p = tail->iov_base + tail->iov_len; in xdr_truncate_encode()
1177 xdr->end = head->iov_base + head->iov_len; in xdr_truncate_encode()
1182 xdr->p = head->iov_base + head->iov_len; in xdr_truncate_encode()
1252 tail->iov_base = xdr->p; in xdr_write_pages()
1260 tail->iov_base = (char *)xdr->p + (len & 3); in xdr_write_pages()
1277 xdr->p = (__be32*)(iov->iov_base + base); in xdr_set_iov()
1278 xdr->end = (__be32*)(iov->iov_base + len); in xdr_set_iov()
1417 char *cpdest = xdr->scratch.iov_base; in xdr_copy_to_scratch()
1434 return xdr->scratch.iov_base; in xdr_copy_to_scratch()
1588 static const struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
1618 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment()
1625 subbuf->head[0].iov_base = buf->head[0].iov_base; in xdr_buf_subsegment()
1644 subbuf->tail[0].iov_base = buf->tail[0].iov_base + base; in xdr_buf_subsegment()
1651 subbuf->tail[0].iov_base = buf->tail[0].iov_base; in xdr_buf_subsegment()
1809 memcpy(obj, subbuf->head[0].iov_base, this_len); in __read_bytes_from_xdr_buf()
1817 memcpy(obj, subbuf->tail[0].iov_base, this_len); in __read_bytes_from_xdr_buf()
1841 memcpy(subbuf->head[0].iov_base, obj, this_len); in __write_bytes_to_xdr_buf()
1849 memcpy(subbuf->tail[0].iov_base, obj, this_len); in __write_bytes_to_xdr_buf()
1916 c = buf->head->iov_base + base; in xdr_xcode_array2()
2050 c = buf->tail->iov_base + base; in xdr_xcode_array2()
2119 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen); in xdr_process_buf()
2159 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen); in xdr_process_buf()