Lines Matching refs:iov_base
185 char *buf = (char *)head->iov_base;
194 tail->iov_base = buf + offset;
279 (char *)tail->iov_base,
284 memmove((char *)tail->iov_base,
285 tail->iov_base + len,
377 char *p = (char *)tail->iov_base + len;
378 memmove(p, tail->iov_base, tail->iov_len - free_space);
384 _copy_from_pages((char *)tail->iov_base,
539 memmove((char *)tail->iov_base + len,
540 tail->iov_base, copy);
553 _copy_from_pages((char *)tail->iov_base + offs,
564 memcpy(tail->iov_base,
565 (char *)head->iov_base +
582 (char *)head->iov_base + head->iov_len - len,
676 xdr->p = (__be32 *)((char *)iov->iov_base + iov->iov_len);
677 xdr->end = (__be32 *)((char *)iov->iov_base + scratch_len);
714 memcpy(xdr->scratch.iov_base, page, shift);
746 xdr->scratch.iov_base = xdr->p;
809 * avoid invalidating iov_base pointers when xdr_commit_encode() is called.
834 vec[v].iov_base = p;
881 xdr->p = tail->iov_base + tail->iov_len;
903 xdr->end = head->iov_base + head->iov_len;
908 xdr->p = head->iov_base + head->iov_len;
959 iov->iov_base = (char *)xdr->p;
967 iov->iov_base = (char *)xdr->p + (len & 3);
982 xdr->p = (__be32*)iov->iov_base;
983 xdr->end = (__be32*)(iov->iov_base + len);
1059 xdr->scratch.iov_base = NULL;
1121 xdr->scratch.iov_base = buf;
1129 char *cpdest = xdr->scratch.iov_base;
1146 return xdr->scratch.iov_base;
1257 xdr->p = (__be32 *)((char *)iov->iov_base + padding);
1258 xdr->end = (__be32 *)((char *)iov->iov_base + end);
1360 static const struct kvec empty_iov = {.iov_base = NULL, .iov_len = 0};
1392 subbuf->head[0].iov_base = buf->head[0].iov_base + base;
1399 subbuf->head[0].iov_base = buf->head[0].iov_base;
1418 subbuf->tail[0].iov_base = buf->tail[0].iov_base + base;
1425 subbuf->tail[0].iov_base = buf->tail[0].iov_base;
1481 memcpy(obj, subbuf->head[0].iov_base, this_len);
1490 memcpy(obj, subbuf->tail[0].iov_base, this_len);
1512 memcpy(subbuf->head[0].iov_base, obj, this_len);
1521 memcpy(subbuf->tail[0].iov_base, obj, this_len);
1590 c = buf->head->iov_base + base;
1724 c = buf->tail->iov_base + base;
1795 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen);
1835 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen);