Home
last modified time | relevance | path

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

/drivers/xen/xenbus/
Dxenbus_xs.c304 const struct kvec *iovec, in xs_talkv() argument
318 req->vec = iovec; in xs_talkv()
328 msg.len += iovec[i].iov_len; in xs_talkv()
360 struct kvec iovec; in xs_single() local
362 iovec.iov_base = (void *)string; in xs_single()
363 iovec.iov_len = strlen(string) + 1; in xs_single()
364 return xs_talkv(t, type, &iovec, 1, len); in xs_single()
483 struct kvec iovec[2]; in xenbus_write() local
490 iovec[0].iov_base = (void *)path; in xenbus_write()
491 iovec[0].iov_len = strlen(path) + 1; in xenbus_write()
[all …]
/drivers/infiniband/hw/hfi1/
Duser_sdma.c77 struct user_sdma_iovec *iovec,
298 struct iovec *iovec, unsigned long dim, in hfi1_user_sdma_process_request() argument
317 if (iovec[idx].iov_len < sizeof(info) + sizeof(req->hdr)) { in hfi1_user_sdma_process_request()
322 iovec[idx].iov_len, sizeof(info) + sizeof(req->hdr)); in hfi1_user_sdma_process_request()
325 ret = copy_from_user(&info, iovec[idx].iov_base, sizeof(info)); in hfi1_user_sdma_process_request()
411 ret = copy_from_user(&req->hdr, iovec[idx].iov_base + sizeof(info), in hfi1_user_sdma_process_request()
482 iovec + idx++, in hfi1_user_sdma_process_request()
503 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request()
517 tmp = memdup_user(iovec[idx].iov_base, in hfi1_user_sdma_process_request()
702 struct user_sdma_iovec *iovec = NULL; in user_sdma_send_pkts() local
[all …]
Duser_sdma.h113 struct iovec iov;
204 struct iovec *iovec, unsigned long dim,
Dfile_ops.c294 fd, (struct iovec *)(from->iov + done), in hfi1_write_iter()
/drivers/vhost/
Dvhost.h115 struct iovec iov[UIO_MAXIOV];
116 struct iovec iotlb_iov[64];
117 struct iovec *indirect;
128 struct iovec log_iov[64];
192 struct iovec iov[], unsigned int iov_count,
213 struct iovec *iov, int count);
Dvringh.c229 sizeof(struct iovec), gfp); in resize_iovec()
231 new = kmalloc_array(new_num, sizeof(struct iovec), gfp); in resize_iovec()
234 iov->max_num * sizeof(struct iovec)); in resize_iovec()
731 BUILD_BUG_ON(sizeof(struct iovec) != sizeof(struct kvec)); in vringh_getdesc_user()
732 BUILD_BUG_ON(offsetof(struct iovec, iov_base) != in vringh_getdesc_user()
734 BUILD_BUG_ON(offsetof(struct iovec, iov_len) != in vringh_getdesc_user()
736 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_base) in vringh_getdesc_user()
738 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_len) in vringh_getdesc_user()
Dvhost.c816 struct iovec iov[], int iov_size, int access);
1923 struct iovec *iov = vq->log_iov; in log_used()
1945 unsigned int log_num, u64 len, struct iovec *iov, int count) in vhost_log_write()
2052 struct iovec iov[], int iov_size, int access) in translate_desc()
2057 struct iovec *_iov; in translate_desc()
2113 struct iovec iov[], unsigned int iov_size, in get_indirect()
2214 struct iovec iov[], unsigned int iov_size, in vhost_get_vq_desc()
Dscsi.c83 struct iovec tvc_resp_iov;
211 struct iovec resp_iov;
1135 int in_iovs, int vq_desc, struct iovec *resp_iov, in vhost_scsi_send_tmf_resp()
/drivers/atm/
Dhe.c1620 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd()
1621 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd()
1622 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd()
1846 if (tpd->iovec[slot].addr) in he_service_tbrq()
1848 tpd->iovec[slot].addr, in he_service_tbrq()
1849 tpd->iovec[slot].len & TPD_LEN_MASK, in he_service_tbrq()
1851 if (tpd->iovec[slot].len & TPD_LST) in he_service_tbrq()
2087 if (tpd->iovec[slot].addr) in __enqueue_tpd()
2089 tpd->iovec[slot].addr, in __enqueue_tpd()
2090 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.c141 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count);
1454 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in ns_close()
1985 struct iovec *iov; in dequeue_rx()
2109 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in dequeue_rx()
2116 iov = &((struct iovec *)iovb->data)[NS_PRV_IOVCNT(iovb)++]; in dequeue_rx()
2142 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in dequeue_rx()
2165 recycle_iovec_rx_bufs(card, (struct iovec *)iovb->data, in dequeue_rx()
2245 (struct iovec *) in dequeue_rx()
2284 iov = (struct iovec *)iovb->data; in dequeue_rx()
2348 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count) in recycle_iovec_rx_bufs()
Dhorizon.h404 struct iovec * tx_iovec; // remaining regions
Dnicstar.h109 #define NS_IOVBUFSIZE (NS_MAX_IOVECS * (sizeof(struct iovec)))
Dzatm.c692 *put++ = ((struct iovec *) skb->data)[i].iov_len; in do_tx()
693 *put++ = virt_to_bus(((struct iovec *) in do_tx()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.h42 const struct iovec *iov,
Dqib_user_sdma.c560 const struct iovec *iov, in qib_user_sdma_coalesce()
605 static size_t qib_user_sdma_num_pages(const struct iovec *iov) in qib_user_sdma_num_pages()
718 const struct iovec *iov, in qib_user_sdma_pin_pkt()
760 const struct iovec *iov, in qib_user_sdma_init_payload()
805 const struct iovec *iov, in qib_user_sdma_queue_pkts()
1388 const struct iovec *iov, in qib_user_sdma_writev()
/drivers/char/
Drandom.c1225 struct iovec iov; in SYSCALL_DEFINE3()
1345 struct iovec iov; in random_ioctl()
/drivers/target/
Dtarget_core_user.c596 struct iovec **iov, int prev_dbi, int len) in new_block_to_iov()
622 struct iovec **iov, int data_length) in tcmu_setup_iovs()
704 struct iovec **iov, size_t data_len) in tcmu_copy_data()
774 struct iovec **iov) in scatter_data_area()
1018 struct iovec *iov; in queue_cmd_ring()
/drivers/fsi/
Dfsi-sbefifo.c794 struct iovec resp_iov; in sbefifo_user_read()
/drivers/scsi/
Dscsi_ioctl.c462 struct iovec *iov = NULL; in sg_io()
Dsg.c1782 struct iovec *iov = NULL; in sg_start_req()
/drivers/scsi/megaraid/
Dmegaraid_sas.h2618 struct iovec sgl[MAX_IOCTL_SGE];
/drivers/net/ppp/
Dppp_generic.c430 struct iovec iov; in ppp_read()