Home
last modified time | relevance | path

Searched refs:iovec (Results 1 – 25 of 75) sorted by relevance

123

/linux-2.4.37.9/include/linux/
Dsocket.h53 struct iovec * msg_iov; /* Data blocks */
270 extern int memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len);
271 extern int memcpy_fromiovecend(unsigned char *kdata, struct iovec *iov,
274 struct iovec *iov,
278 extern int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode);
279 extern int memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len);
280 extern void memcpy_tokerneliovec(struct iovec *iov, unsigned char *kdata, int len);
Diobuf.h58 int lock_kiovec(int nr, struct kiobuf *iovec[], int wait);
59 int unlock_kiovec(int nr, struct kiobuf *iovec[]);
75 int brw_kiovec(int rw, int nr, struct kiobuf *iovec[],
Drpcsock.h56 struct iovec rq_svec[UIO_FASTIOV];
59 struct iovec rq_rvec[UIO_FASTIOV];
Duio.h19 struct iovec struct
/linux-2.4.37.9/net/core/
Diovec.c40 int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode) in verify_iovec()
58 size = m->msg_iovlen * sizeof(struct iovec); in verify_iovec()
82 int memcpy_toiovec(struct iovec *iov, unsigned char *kdata, int len) in memcpy_toiovec()
111 void memcpy_tokerneliovec(struct iovec *iov, unsigned char *kdata, int len) in memcpy_tokerneliovec()
135 int memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len) in memcpy_fromiovec()
163 int memcpy_fromiovecend(unsigned char *kdata, struct iovec *iov, int offset, in memcpy_fromiovecend()
201 int csum_partial_copy_fromiovecend(unsigned char *kdata, struct iovec *iov, in csum_partial_copy_fromiovecend()
Ddatagram.c195 struct iovec iov = { to, size }; in skb_copy_datagram()
204 int skb_copy_datagram_iovec(const struct sk_buff *skb, int offset, struct iovec *to, in skb_copy_datagram_iovec()
370 int skb_copy_and_csum_datagram_iovec(const struct sk_buff *skb, int hlen, struct iovec *iov) in skb_copy_and_csum_datagram_iovec()
DMakefile14 obj-y := sock.o skbuff.o iovec.o datagram.o scm.o
/linux-2.4.37.9/include/linux/sunrpc/
Dxdr.h50 struct iovec head[1], /* RPC header + non-page data */
123 xdr_adjust_iovec(struct iovec *iov, u32 *p) in xdr_adjust_iovec()
128 void xdr_shift_iovec(struct iovec *, int, size_t);
129 void xdr_zero_iovec(struct iovec *, int, size_t);
139 extern int xdr_kmap(struct iovec *, struct xdr_buf *, unsigned int);
Dsvc.h81 struct iovec iov[RPCSVC_MAXIOV];
/linux-2.4.37.9/net/sunrpc/
Dxdr.c114 struct iovec *iov = xdr->tail; in xdr_encode_pages()
128 struct iovec *head = xdr->head; in xdr_inline_pages()
129 struct iovec *tail = xdr->tail; in xdr_inline_pages()
153 void xdr_shift_iovec(struct iovec *iov, int nr, size_t len) in xdr_shift_iovec()
155 struct iovec *pvec; in xdr_shift_iovec()
158 struct iovec *svec = pvec - 1; in xdr_shift_iovec()
179 int xdr_kmap(struct iovec *iov_base, struct xdr_buf *xdr, unsigned int base) in xdr_kmap()
181 struct iovec *iov = iov_base; in xdr_kmap()
492 struct iovec *head, *tail; in xdr_shrink_bufhead()
/linux-2.4.37.9/fs/xfs/support/
Dmove.h72 struct iovec *uio_iov; /* pointer to array of iovecs */
80 typedef struct iovec iovec_t;
/linux-2.4.37.9/include/linux/mtd/
Dmtd.h202 …int (*readv) (struct mtd_info *mtd, struct iovec *vecs, unsigned long count, loff_t from, size_t *…
203 int (*readv_ecc) (struct mtd_info *mtd, struct iovec *vecs, unsigned long count, loff_t from,
205 …int (*writev) (struct mtd_info *mtd, const struct iovec *vecs, unsigned long count, loff_t to, siz…
206 int (*writev_ecc) (struct mtd_info *mtd, const struct iovec *vecs, unsigned long count, loff_t to,
260 int default_mtd_writev(struct mtd_info *mtd, const struct iovec *vecs,
263 int default_mtd_readv(struct mtd_info *mtd, struct iovec *vecs,
/linux-2.4.37.9/drivers/net/
Dtun.c184 static __inline__ ssize_t tun_get_user(struct tun_struct *tun, struct iovec *iv, size_t count) in tun_get_user()
228 static ssize_t tun_chr_writev(struct file * file, const struct iovec *iv, in tun_chr_writev()
246 return tun_get_user(tun, (struct iovec *) iv, len); in tun_chr_writev()
253 struct iovec iv = { (void *) buf, count }; in tun_chr_write()
260 struct iovec *iv, int len) in tun_put_user()
290 static ssize_t tun_chr_readv(struct file *file, const struct iovec *iv, in tun_chr_readv()
331 ret = tun_put_user(tun, skb, (struct iovec *) iv, len); in tun_chr_readv()
347 struct iovec iv = { buf, count }; in tun_chr_read()
/linux-2.4.37.9/fs/
Dread_write.c235 const struct iovec * vector, in do_readv_writev()
239 typedef ssize_t (*iov_fn_t)(struct file *, const struct iovec *, unsigned long, loff_t *); in do_readv_writev()
242 struct iovec iovstack[UIO_FASTIOV]; in do_readv_writev()
243 struct iovec *iov=iovstack; in do_readv_writev()
262 iov = kmalloc(count*sizeof(struct iovec), GFP_KERNEL); in do_readv_writev()
347 asmlinkage ssize_t sys_readv(unsigned long fd, const struct iovec * vector, in sys_readv()
367 asmlinkage ssize_t sys_writev(unsigned long fd, const struct iovec * vector, in sys_writev()
/linux-2.4.37.9/net/khttpd/
Dmisc.c63 struct iovec iov; in ReadRest()
149 struct iovec iov; in SendBuffer()
178 struct iovec iov; in SendBuffer_async()
Drfc.c173 struct iovec iov[9]; in SendHTTPHeader()
222 struct iovec iov[9]; in SendHTTPHeader()
/linux-2.4.37.9/arch/sparc64/solaris/
Dsocket.c304 static inline int iov_from_user32_to_kern(struct iovec *kiov, in iov_from_user32_to_kern()
341 kmsg->msg_iov = (struct iovec *)A(tmp2); in msghdr_from_user32_to_kern()
354 static int verify_iovec32(struct msghdr *kern_msg, struct iovec *kern_iov, in verify_iovec32()
372 kern_iov = kmalloc(kern_msg->msg_iovlen * sizeof(struct iovec), in verify_iovec32()
393 struct iovec iov[UIO_FASTIOV]; in solaris_sendmsg()
456 struct iovec iovstack[UIO_FASTIOV]; in solaris_recvmsg()
460 struct iovec *iov = iovstack; in solaris_recvmsg()
/linux-2.4.37.9/net/
Dsocket.c101 static ssize_t sock_readv(struct file *file, const struct iovec *vector,
103 static ssize_t sock_writev(struct file *file, const struct iovec *vector,
536 struct iovec iov; in sock_read()
571 struct iovec iov; in sock_write()
617 const struct iovec * iov, long count, long size) in sock_readv_writev()
628 msg.msg_iov = (struct iovec *) iov; in sock_readv_writev()
642 static ssize_t sock_readv(struct file *file, const struct iovec *vector, in sock_readv()
653 static ssize_t sock_writev(struct file *file, const struct iovec *vector, in sock_writev()
1189 struct iovec iov; in sys_sendto()
1240 struct iovec iov; in sys_recvfrom()
[all …]
/linux-2.4.37.9/arch/x86_64/ia32/
Dsocket32.c33 static inline int iov_from_user32_to_kern(struct iovec *kiov, in iov_from_user32_to_kern()
70 kmsg->msg_iov = (struct iovec *)A(tmp2); in msghdr_from_user32_to_kern()
82 static int verify_iovec32(struct msghdr *kern_msg, struct iovec *kern_iov, in verify_iovec32()
100 if (kern_msg->msg_iovlen > (2*PAGE_SIZE)/ sizeof(struct iovec)) in verify_iovec32()
102 kern_iov = kmalloc(kern_msg->msg_iovlen * sizeof(struct iovec), in verify_iovec32()
378 struct iovec iov[UIO_FASTIOV]; in sys32_sendmsg()
421 struct iovec iovstack[UIO_FASTIOV]; in sys32_recvmsg()
425 struct iovec *iov = iovstack; in sys32_recvmsg()
/linux-2.4.37.9/fs/jffs2/
Dwrite.c116 static int mtd_fake_writev(struct mtd_info *mtd, const struct iovec *vecs, unsigned long count, lof… in mtd_fake_writev()
135 static inline int mtd_writev(struct mtd_info *mtd, const struct iovec *vecs, unsigned long count, l… in mtd_writev()
182 struct iovec vecs[2]; in jffs2_write_dnode()
267 struct iovec vecs[2]; in jffs2_write_dirent()
/linux-2.4.37.9/net/bluetooth/bnep/
Dcore.c101 struct iovec iv = { data, len }; in bnep_send()
409 struct iovec iv[3]; in bnep_tx_frame()
420 iv[il++] = (struct iovec) { &type, 1 }; in bnep_tx_frame()
435 iv[il++] = (struct iovec) { eh->h_source, ETH_ALEN }; in bnep_tx_frame()
440 iv[il++] = (struct iovec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame()
446 iv[il++] = (struct iovec) { skb->data, skb->len }; in bnep_tx_frame()
/linux-2.4.37.9/net/netlink/
Dnetlink_dev.c61 struct iovec iov; in netlink_write()
85 struct iovec iov; in netlink_read()
/linux-2.4.37.9/drivers/atm/
Dhe.c1720 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd()
1721 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd()
1722 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd()
1737 he_dev->tpd_head->iovec[0].addr = 0; he_dev->tpd_head->iovec[0].len = 0; in __alloc_tpd()
1738 he_dev->tpd_head->iovec[1].addr = 0; he_dev->tpd_head->iovec[1].len = 0; in __alloc_tpd()
1739 he_dev->tpd_head->iovec[2].addr = 0; he_dev->tpd_head->iovec[2].len = 0; in __alloc_tpd()
2010 if (tpd->iovec[slot].addr) in he_service_tbrq()
2012 tpd->iovec[slot].addr, in he_service_tbrq()
2013 tpd->iovec[slot].len & TPD_LEN_MASK, in he_service_tbrq()
2015 if (tpd->iovec[slot].len & TPD_LST) in he_service_tbrq()
[all …]
/linux-2.4.37.9/drivers/mtd/
Dmtdpart.c171 static int part_writev (struct mtd_info *mtd, const struct iovec *vecs, in part_writev()
181 static int part_readv (struct mtd_info *mtd, struct iovec *vecs, in part_readv()
189 static int part_writev_ecc (struct mtd_info *mtd, const struct iovec *vecs, in part_writev_ecc()
201 static int part_readv_ecc (struct mtd_info *mtd, struct iovec *vecs, in part_readv_ecc()
Dmtdcore.c210 int default_mtd_writev(struct mtd_info *mtd, const struct iovec *vecs, in default_mtd_writev()
240 int default_mtd_readv(struct mtd_info *mtd, struct iovec *vecs, in default_mtd_readv()

123