Lines Matching refs:iov_base

183 	char *buf = (char *)head->iov_base;  in xdr_inline_pages()
192 tail->iov_base = buf + offset; in xdr_inline_pages()
432 memset(iov->iov_base + base, 0, len); in xdr_buf_iov_zero()
546 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right()
576 _copy_from_pages(tail->iov_base + tato, buf->pages, in xdr_buf_pages_copy_right()
618 memcpy(tail->iov_base + tato, head->iov_base + base, talen); in xdr_buf_head_copy_right()
622 _copy_to_pages(buf->pages, buf->page_base + pgto, head->iov_base + base, in xdr_buf_head_copy_right()
626 memmove(head->iov_base + to, head->iov_base + base, len); in xdr_buf_head_copy_right()
696 memcpy(head->iov_base + hdto, tail->iov_base + base, hdlen); in xdr_buf_tail_copy_left()
710 tail->iov_base + base, pglen); in xdr_buf_tail_copy_left()
716 memmove(tail->iov_base + base - shift, tail->iov_base + base, len); in xdr_buf_tail_copy_left()
740 _copy_from_pages(head->iov_base + hdto, buf->pages, in xdr_buf_pages_copy_left()
904 xdr->p = (__be32 *)((char *)iov->iov_base + iov->iov_len); in xdr_init_encode()
905 xdr->end = (__be32 *)((char *)iov->iov_base + scratch_len); in xdr_init_encode()
942 memcpy(xdr->scratch.iov_base, page, shift); in xdr_commit_encode()
1057 vec[v].iov_base = p; in xdr_reserve_space_vec()
1104 xdr->p = tail->iov_base + tail->iov_len; in xdr_truncate_encode()
1126 xdr->end = head->iov_base + head->iov_len; in xdr_truncate_encode()
1131 xdr->p = head->iov_base + head->iov_len; in xdr_truncate_encode()
1182 iov->iov_base = (char *)xdr->p; in xdr_write_pages()
1190 iov->iov_base = (char *)xdr->p + (len & 3); in xdr_write_pages()
1207 xdr->p = (__be32*)(iov->iov_base + base); in xdr_set_iov()
1208 xdr->end = (__be32*)(iov->iov_base + len); in xdr_set_iov()
1347 char *cpdest = xdr->scratch.iov_base; in xdr_copy_to_scratch()
1364 return xdr->scratch.iov_base; in xdr_copy_to_scratch()
1554 static const struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
1584 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment()
1591 subbuf->head[0].iov_base = buf->head[0].iov_base; in xdr_buf_subsegment()
1610 subbuf->tail[0].iov_base = buf->tail[0].iov_base + base; in xdr_buf_subsegment()
1617 subbuf->tail[0].iov_base = buf->tail[0].iov_base; in xdr_buf_subsegment()
1721 memcpy(obj, subbuf->head[0].iov_base, this_len); in __read_bytes_from_xdr_buf()
1729 memcpy(obj, subbuf->tail[0].iov_base, this_len); in __read_bytes_from_xdr_buf()
1753 memcpy(subbuf->head[0].iov_base, obj, this_len); in __write_bytes_to_xdr_buf()
1761 memcpy(subbuf->tail[0].iov_base, obj, this_len); in __write_bytes_to_xdr_buf()
1828 c = buf->head->iov_base + base; in xdr_xcode_array2()
1962 c = buf->tail->iov_base + base; in xdr_xcode_array2()
2031 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen); in xdr_process_buf()
2071 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen); in xdr_process_buf()