Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 49) sorted by relevance

12

/drivers/hv/
Dchannel.c673 bufferlist[0].iov_base = &desc; in vmbus_sendpacket_ctl()
675 bufferlist[1].iov_base = buffer; in vmbus_sendpacket_ctl()
677 bufferlist[2].iov_base = &aligned_data; in vmbus_sendpacket_ctl()
760 bufferlist[0].iov_base = &desc; in vmbus_sendpacket_pagebuffer_ctl()
762 bufferlist[1].iov_base = buffer; in vmbus_sendpacket_pagebuffer_ctl()
764 bufferlist[2].iov_base = &aligned_data; in vmbus_sendpacket_pagebuffer_ctl()
816 bufferlist[0].iov_base = desc; in vmbus_sendpacket_mpb_desc()
818 bufferlist[1].iov_base = buffer; in vmbus_sendpacket_mpb_desc()
820 bufferlist[2].iov_base = &aligned_data; in vmbus_sendpacket_mpb_desc()
874 bufferlist[0].iov_base = &desc; in vmbus_sendpacket_multipagebuffer()
[all …]
Dring_buffer.c333 kv_list[i].iov_base, in hv_ringbuffer_write()
/drivers/usb/usbip/
Dvudc_tx.c68 iov[0].iov_base = &pdu_header; in v_send_ret_unlink()
126 iov[iovnum].iov_base = &pdu_header; in v_send_ret_submit()
134 iov[iovnum].iov_base = urb->transfer_buffer; in v_send_ret_submit()
144 iov[iovnum].iov_base = urb->transfer_buffer + in v_send_ret_submit()
172 iov[iovnum].iov_base = iso_buffer; in v_send_ret_submit()
Dvhci_tx.c93 iov[0].iov_base = &pdu_header; in vhci_send_cmd_submit()
99 iov[1].iov_base = urb->transfer_buffer; in vhci_send_cmd_submit()
115 iov[2].iov_base = iso_buffer; in vhci_send_cmd_submit()
186 iov[0].iov_base = &pdu_header; in vhci_send_cmd_unlink()
Dstub_tx.c211 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit()
220 iov[iovnum].iov_base = urb->transfer_buffer; in stub_send_ret_submit()
237 iov[iovnum].iov_base = urb->transfer_buffer + in stub_send_ret_submit()
269 iov[iovnum].iov_base = iso_buffer; in stub_send_ret_submit()
346 iov[0].iov_base = &pdu_header; in stub_send_ret_unlink()
/drivers/xen/xenbus/
Dxenbus_xs.c288 err = xb_write(iovec[i].iov_base, iovec[i].iov_len); in xs_talkv()
325 iovec.iov_base = (void *)string; in xs_single()
453 iovec[0].iov_base = (void *)path; in xenbus_write()
455 iovec[1].iov_base = (void *)string; in xenbus_write()
619 iov[0].iov_base = (void *)path; in xs_watch()
621 iov[1].iov_base = (void *)token; in xs_watch()
632 iov[0].iov_base = (char *)path; in xs_unwatch()
634 iov[1].iov_base = (char *)token; in xs_unwatch()
/drivers/vhost/
Dvringh.c83 err = xfer(iov->iov[iov->i].iov_base, ptr, partlen); in vringh_iov_xfer()
91 iov->iov[iov->i].iov_base += partlen; in vringh_iov_xfer()
96 iov->iov[iov->i].iov_base -= iov->consumed; in vringh_iov_xfer()
363 iov->iov[iov->used].iov_base = addr; in __vringh_iov()
677 BUILD_BUG_ON(offsetof(struct iovec, iov_base) != in vringh_getdesc_user()
678 offsetof(struct kvec, iov_base)); in vringh_getdesc_user()
681 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_base) in vringh_getdesc_user()
682 != sizeof(((struct kvec *)NULL)->iov_base)); in vringh_getdesc_user()
Dscsi.c213 static int iov_num_pages(void __user *iov_base, size_t iov_len) in iov_num_pages() argument
215 return (PAGE_ALIGN((unsigned long)iov_base + iov_len) - in iov_num_pages()
216 ((unsigned long)iov_base & PAGE_MASK)) >> PAGE_SHIFT; in iov_num_pages()
486 eventp = vq->iov[out].iov_base; in vhost_scsi_do_evt_work()
700 void __user *base = iter->iov[i].iov_base + off; in vhost_scsi_iov_to_sgl()
829 resp = vq->iov[out].iov_base; in vhost_scsi_send_bad_target()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_lib.c205 iov[i].iov_base, fragnob); in ksocknal_lib_recv_iov()
261 LASSERT(tx->tx_iov[0].iov_base == &tx->tx_msg); in ksocknal_lib_csum_tx()
267 csum = ksocknal_csum(~0, tx->tx_iov[0].iov_base, in ksocknal_lib_csum_tx()
281 csum = ksocknal_csum(csum, tx->tx_iov[i].iov_base, in ksocknal_lib_csum_tx()
Dsocklnd_cb.c130 iov->iov_base = (void *)((char *)iov->iov_base + nob); in ksocknal_send_iov()
284 iov->iov_base += nob; in ksocknal_recv_iov()
1064 conn->ksnc_rx_iov[0].iov_base = &conn->ksnc_msg; in ksocknal_new_packet()
1078 conn->ksnc_rx_iov[0].iov_base = &conn->ksnc_msg.ksm_u.lnetmsg; in ksocknal_new_packet()
1106 conn->ksnc_rx_iov[niov].iov_base = ksocknal_slop_buffer; in ksocknal_new_packet()
1230 conn->ksnc_rx_iov[0].iov_base = &conn->ksnc_msg.ksm_u.lnetmsg; in ksocknal_process_receive()
Dsocklnd_proto.c714 tx->tx_iov[0].iov_base = &tx->tx_lnetmsg->msg_hdr; in ksocknal_pack_msg_v1()
724 tx->tx_iov[0].iov_base = &tx->tx_msg; in ksocknal_pack_msg_v2()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c585 iov[i].iov_base, iov[i].iov_len); in qib_user_sdma_coalesce()
611 const unsigned long addr = (unsigned long) iov->iov_base; in qib_user_sdma_num_pages()
730 const unsigned long addr = (unsigned long) iov[idx].iov_base; in qib_user_sdma_pin_pkt()
826 const unsigned long addr = (unsigned long) iov[idx].iov_base; in qib_user_sdma_queue_pkts()
851 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in qib_user_sdma_queue_pkts()
883 (unsigned long) iov[idx].iov_base; in qib_user_sdma_queue_pkts()
942 iov[idx].iov_base, tidsmsize); in qib_user_sdma_queue_pkts()
Dqib_common.h484 __u64 iov_base; member
/drivers/target/iscsi/
Discsi_target.c519 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu()
539 iov[niov].iov_base = (void *)data_buf; in iscsit_xmit_nondatain_pdu()
544 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu()
558 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
592 iov[iov_count].iov_base = cmd->pdu; in iscsit_xmit_datain_pdu()
620 iov[iov_count].iov_base = cmd->pad_bytes; in iscsit_xmit_datain_pdu()
634 iov[iov_count].iov_base = &cmd->data_crc; in iscsit_xmit_datain_pdu()
927 iov[i].iov_base = kmap(sg_page(sg)) + sg->offset + page_off; in iscsit_map_iovec()
1595 iov[iov_count].iov_base = cmd->pad_bytes; in iscsit_get_dataout()
1602 iov[iov_count].iov_base = &checksum; in iscsit_get_dataout()
[all …]
Discsi_target_erl1.c73 iov.iov_base = buf; in iscsit_dump_data_payload()
90 iov.iov_base = pad_bytes; in iscsit_dump_data_payload()
103 iov.iov_base = &data_crc; in iscsit_dump_data_payload()
Discsi_target_parameters.c35 iov.iov_base = buf; in iscsi_login_rx_data()
60 iov[0].iov_base = pdu_buf; in iscsi_login_tx_data()
64 iov[1].iov_base = text_buf; in iscsi_login_tx_data()
/drivers/infiniband/hw/hfi1/
Duser_sdma.c561 ret = copy_from_user(&info, iovec[idx].iov_base, sizeof(info)); in hfi1_user_sdma_process_request()
637 ret = copy_from_user(&req->hdr, iovec[idx].iov_base + sizeof(info), in hfi1_user_sdma_process_request()
742 ret = copy_from_user(req->tids, iovec[idx].iov_base, in hfi1_user_sdma_process_request()
1043 base = (unsigned long)iovec->iov.iov_base; in user_sdma_send_pkts()
1117 const unsigned long addr = (unsigned long)iov->iov_base; in num_user_pages()
1145 (unsigned long)iovec->iov.iov_base, in pin_vector_pages()
1157 node->rb.addr = (unsigned long)iovec->iov.iov_base; in pin_vector_pages()
1182 ((unsigned long)iovec->iov.iov_base + in pin_vector_pages()
/drivers/misc/mic/vop/
Dvop_vringh.c711 (u64)kiov->iov_base, in vop_vringh_copy()
716 (u64)kiov->iov_base, in vop_vringh_copy()
729 kiov->iov_base += partlen; in vop_vringh_copy()
733 kiov->iov_base -= iov->consumed; in vop_vringh_copy()
782 ubuf = iov.iov_base; in _vop_virtio_copy()
/drivers/staging/lustre/lnet/lnet/
Dlib-socket.c268 struct kvec iov = { .iov_base = buffer, .iov_len = nob }; in lnet_sock_write()
326 .iov_base = buffer, in lnet_sock_read()
Dlib-md.c154 lmd->md_iov.iov[0].iov_base = umd->start; in lnet_md_build()
Dlib-move.c191 s = (char *)siov->iov_base + soffset; in lnet_copy_iov2iter()
205 s = (char *)siov->iov_base; in lnet_copy_iov2iter()
280 dst->iov_base = ((char *)src->iov_base) + offset; in lnet_extract_iov()
/drivers/media/dvb-core/
Ddvb_net.c75 c = crc32_be( c, iov[j].iov_base, iov[j].iov_len ); in iov_crc32()
602 hexdump( iov[0].iov_base, iov[0].iov_len ); in dvb_net_ule()
603 hexdump( iov[1].iov_base, iov[1].iov_len ); in dvb_net_ule()
604 hexdump( iov[2].iov_base, iov[2].iov_len ); in dvb_net_ule()
/drivers/mtd/lpddr/
Dlpddr_cmds.c436 vec->iov_base + vec_seek, word_gap, n); in do_write_buffer()
624 vec.iov_base = (void *) buf; in lpddr_write_buffers()
/drivers/net/ppp/
Dpppopns.c191 struct kvec iov = {.iov_base = skb->data, .iov_len = skb->len}; in pppopns_xmit_core()
Dpppolac.c208 struct kvec iov = {.iov_base = skb->data, .iov_len = skb->len}; in pppolac_xmit_core()

12