Searched refs:iov (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | vringh.h | 91 struct iovec *iov; member 103 struct kvec *iov; member 118 static inline void vringh_iov_init(struct vringh_iov *iov, in vringh_iov_init() argument 121 iov->used = iov->i = 0; in vringh_iov_init() 122 iov->consumed = 0; in vringh_iov_init() 123 iov->max_num = num; in vringh_iov_init() 124 iov->iov = iovec; in vringh_iov_init() 127 static inline void vringh_iov_reset(struct vringh_iov *iov) in vringh_iov_reset() argument 129 iov->iov[iov->i].iov_len += iov->consumed; in vringh_iov_reset() 130 iov->iov[iov->i].iov_base -= iov->consumed; in vringh_iov_reset() [all …]
|
D | uio.h | 33 const struct iovec *iov; member 47 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() argument 53 ret += iov[seg].iov_len; in iov_length() 60 .iov_base = iter->iov->iov_base + iter->iov_offset, in iov_iter_iovec() 62 iter->iov->iov_len - iter->iov_offset), in iov_iter_iovec() 66 #define iov_for_each(iov, iter, start) \ argument 70 ((iov = iov_iter_iovec(&(iter))), 1); \ 71 iov_iter_advance(&(iter), (iov).iov_len)) 73 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to); 90 void iov_iter_init(struct iov_iter *i, int direction, const struct iovec *iov, [all …]
|
D | syscalls.h | 788 asmlinkage long sys_vmsplice(int fd, const struct iovec __user *iov,
|
D | mm.h | 1320 int get_kernel_pages(const struct kvec *iov, int nr_pages, int write,
|
/include/linux/sunrpc/ |
D | svc.h | 182 static inline u32 svc_getnl(struct kvec *iov) in svc_getnl() argument 185 vp = iov->iov_base; in svc_getnl() 187 iov->iov_base = (void*)vp; in svc_getnl() 188 iov->iov_len -= sizeof(__be32); in svc_getnl() 192 static inline void svc_putnl(struct kvec *iov, u32 val) in svc_putnl() argument 194 __be32 *vp = iov->iov_base + iov->iov_len; in svc_putnl() 196 iov->iov_len += sizeof(__be32); in svc_putnl() 199 static inline __be32 svc_getu32(struct kvec *iov) in svc_getu32() argument 202 vp = iov->iov_base; in svc_getu32() 204 iov->iov_base = (void*)vp; in svc_getu32() [all …]
|
D | xdr.h | 143 xdr_adjust_iovec(struct kvec *iov, __be32 *p) in xdr_adjust_iovec() argument 145 return iov->iov_len = ((u8 *) p - (u8 *) iov->iov_base); in xdr_adjust_iovec() 203 struct kvec *iov; /* pointer to the current kvec */ member
|
/include/uapi/linux/ |
D | mic_ioctl.h | 38 struct iovec __user *iov; member 40 struct iovec *iov;
|
D | target_core_user.h | 113 struct iovec iov[0]; member
|
/include/net/ |
D | ip.h | 168 struct kvec iov[1]; member
|
/include/target/iscsi/ |
D | iscsi_target_core.h | 305 struct kvec *iov; member
|