Home
last modified time | relevance | path

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

12

/drivers/xen/xenbus/
Dxenbus_xs.c228 const struct kvec *iovec, in xs_talkv() argument
242 msg.len += iovec[i].iov_len; in xs_talkv()
253 err = xb_write(iovec[i].iov_base, iovec[i].iov_len); in xs_talkv()
290 struct kvec iovec; in xs_single() local
292 iovec.iov_base = (void *)string; in xs_single()
293 iovec.iov_len = strlen(string) + 1; in xs_single()
294 return xs_talkv(t, type, &iovec, 1, len); in xs_single()
413 struct kvec iovec[2]; in xenbus_write() local
420 iovec[0].iov_base = (void *)path; in xenbus_write()
421 iovec[0].iov_len = strlen(path) + 1; in xenbus_write()
[all …]
/drivers/vhost/
Dvhost.h114 struct iovec iov[UIO_MAXIOV];
118 struct iovec hdr[sizeof(struct virtio_net_hdr_mrg_rxbuf)];
119 struct iovec *indirect;
172 struct iovec iov[], unsigned int iov_count,
Dnet.c74 static int move_iovec_hdr(struct iovec *from, struct iovec *to, in move_iovec_hdr()
94 static void copy_iovec_hdr(const struct iovec *from, struct iovec *to, in copy_iovec_hdr()
Dvhost.c1053 struct iovec iov[], int iov_size) in translate_desc()
1057 struct iovec *_iov; in translate_desc()
1111 struct iovec iov[], unsigned int iov_size, in get_indirect()
1207 struct iovec iov[], unsigned int iov_size, in vhost_get_vq_desc()
/drivers/dma/
Diovlock.c35 static int num_pages_spanned(struct iovec *iov) in num_pages_spanned()
50 struct dma_pinned_list *dma_pin_iovec_pages(struct iovec *iov, size_t len) in dma_pin_iovec_pages()
151 dma_cookie_t dma_memcpy_to_iovec(struct dma_chan *chan, struct iovec *iov, in dma_memcpy_to_iovec()
212 dma_cookie_t dma_memcpy_pg_to_iovec(struct dma_chan *chan, struct iovec *iov, in dma_memcpy_pg_to_iovec()
/drivers/infiniband/hw/ipath/
Dipath_user_sdma.c177 const struct iovec *iov, in ipath_user_sdma_coalesce()
229 static int ipath_user_sdma_num_pages(const struct iovec *iov) in ipath_user_sdma_num_pages()
326 const struct iovec *iov, in ipath_user_sdma_pin_pkt()
356 const struct iovec *iov, in ipath_user_sdma_init_payload()
396 const struct iovec *iov, in ipath_user_sdma_queue_pkts()
795 const struct iovec *iov, in ipath_user_sdma_writev()
Dipath_user_sdma.h42 const struct iovec *iov,
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c176 const struct iovec *iov, in qib_user_sdma_coalesce()
231 static int qib_user_sdma_num_pages(const struct iovec *iov) in qib_user_sdma_num_pages()
328 const struct iovec *iov, in qib_user_sdma_pin_pkt()
357 const struct iovec *iov, in qib_user_sdma_init_payload()
398 const struct iovec *iov, in qib_user_sdma_queue_pkts()
808 const struct iovec *iov, in qib_user_sdma_writev()
Dqib_user_sdma.h42 const struct iovec *iov,
/drivers/atm/
Dhe.c1639 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd()
1640 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd()
1641 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd()
1865 if (tpd->iovec[slot].addr) in he_service_tbrq()
1867 tpd->iovec[slot].addr, in he_service_tbrq()
1868 tpd->iovec[slot].len & TPD_LEN_MASK, in he_service_tbrq()
1870 if (tpd->iovec[slot].len & TPD_LST) in he_service_tbrq()
2106 if (tpd->iovec[slot].addr) in __enqueue_tpd()
2108 tpd->iovec[slot].addr, in __enqueue_tpd()
2109 tpd->iovec[slot].len & TPD_LEN_MASK, in __enqueue_tpd()
[all …]
Dhe.h126 } iovec[TPD_MAXIOV]; member
128 #define address0 iovec[0].addr
129 #define length0 iovec[0].len
Dnicstar.c146 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count);
1470 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in ns_close()
1989 struct iovec *iov; in dequeue_rx()
2113 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in dequeue_rx()
2120 iov = &((struct iovec *)iovb->data)[NS_PRV_IOVCNT(iovb)++]; in dequeue_rx()
2146 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in dequeue_rx()
2169 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in dequeue_rx()
2258 (struct iovec *) in dequeue_rx()
2297 iov = (struct iovec *)iovb->data; in dequeue_rx()
2426 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count) in recycle_iovec_rx_bufs()
Dhorizon.h419 struct iovec * tx_iovec; // remaining regions
Dnicstar.h108 #define NS_IOVBUFSIZE (NS_MAX_IOVECS * (sizeof(struct iovec)))
Dzatm.c689 *put++ = ((struct iovec *) skb->data)[i].iov_len; in do_tx()
690 *put++ = virt_to_bus(((struct iovec *) in do_tx()
/drivers/net/
Dmacvtap.c485 static int zerocopy_sg_from_iovec(struct sk_buff *skb, const struct iovec *from, in zerocopy_sg_from_iovec()
645 static unsigned long iov_pages(const struct iovec *iv, int offset, in iov_pages()
670 const struct iovec *iv, unsigned long total_len, in macvtap_get_user()
783 static ssize_t macvtap_aio_write(struct kiocb *iocb, const struct iovec *iv, in macvtap_aio_write()
798 const struct iovec *iv, int len) in macvtap_put_user()
864 const struct iovec *iv, unsigned long len, in macvtap_do_read()
900 static ssize_t macvtap_aio_read(struct kiocb *iocb, const struct iovec *iv, in macvtap_aio_read()
Dtun.c608 const struct iovec *iv, size_t count, in tun_get_user()
740 static ssize_t tun_chr_aio_write(struct kiocb *iocb, const struct iovec *iv, in tun_chr_aio_write()
762 const struct iovec *iv, int len) in tun_put_user()
841 struct kiocb *iocb, const struct iovec *iv, in tun_do_read()
888 static ssize_t tun_chr_aio_read(struct kiocb *iocb, const struct iovec *iv, in tun_chr_aio_read()
/drivers/target/
Dtarget_core_file.c279 struct iovec *iov; in fd_do_readv()
285 iov = kzalloc(sizeof(struct iovec) * task->task_sg_nents, GFP_KERNEL); in fd_do_readv()
332 struct iovec *iov; in fd_do_writev()
338 iov = kzalloc(sizeof(struct iovec) * task->task_sg_nents, GFP_KERNEL); in fd_do_writev()
Dtarget_core_alua.c698 struct iovec iov[1]; in core_alua_write_tpg_metadata()
701 memset(iov, 0, sizeof(struct iovec)); in core_alua_write_tpg_metadata()
/drivers/usb/gadget/
Dinode.c518 const struct iovec *iv;
621 const struct iovec *iv, in ep_aio_rwtail()
683 ep_aio_read(struct kiocb *iocb, const struct iovec *iov, in ep_aio_read()
701 ep_aio_write(struct kiocb *iocb, const struct iovec *iov, in ep_aio_write()
/drivers/net/ppp/
Dpppopns.c193 .msg_iov = (struct iovec *)&iov, in pppopns_xmit_core()
Dpppolac.c210 .msg_iov = (struct iovec *)&iov, in pppolac_xmit_core()
/drivers/staging/ramster/cluster/
Dtcp.c932 .msg_iov = (struct iovec *)&vec, in r2net_recv_tcp_msg()
950 .msg_iov = (struct iovec *)vec, in r2net_send_tcp_msg()
1097 caller_bytes = iov_length((struct iovec *)caller_vec, caller_veclen); in r2net_send_message_vec()
/drivers/char/
Dmem.c825 static ssize_t kmsg_writev(struct kiocb *iocb, const struct iovec *iv, in kmsg_writev()
/drivers/scsi/megaraid/
Dmegaraid_sas.h1450 struct iovec sgl[MAX_IOCTL_SGE];

12