Home
last modified time | relevance | path

Searched refs:copy_to_iter (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/net/qrtr/
Dtun.c77 if (copy_to_iter(skb->data, count, to) != count) in qrtr_tun_read_iter()
/kernel/linux/linux-5.10/include/linux/
Ddax.h35 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t, member
Duio.h146 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() function
/kernel/linux/linux-5.10/drivers/xen/
Dpvcalls-front.c602 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()
605 int ret = copy_to_iter(data->in + masked_cons, in __read_ring()
611 len = ret + copy_to_iter(data->in, len - ret, msg_iter); in __read_ring()
613 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_aux_dev.c171 if (copy_to_iter(buf, res, to) != res) { in auxdev_read_iter()
/kernel/linux/linux-5.10/fs/
Deventfd.c263 if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt))) in eventfd_read()
Dseq_file.c216 n = copy_to_iter(m->buf + m->from, m->count, iter); in seq_read_iter()
281 n = copy_to_iter(m->buf, m->count, iter); in seq_read_iter()
/kernel/linux/linux-5.10/drivers/vhost/
Dvsock.c169 nbytes = copy_to_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); in vhost_transport_do_send_pkt()
176 nbytes = copy_to_iter(pkt->buf + pkt->off, payload_len, in vhost_transport_do_send_pkt()
Dscsi.c579 ret = copy_to_iter(&v_rsp, sizeof(v_rsp), &iov_iter); in vhost_scsi_complete_cmd_work()
1175 ret = copy_to_iter(&rsp, sizeof(rsp), &iov_iter); in vhost_scsi_send_tmf_resp()
1267 ret = copy_to_iter(&rsp, sizeof(rsp), &iov_iter); in vhost_scsi_send_an_resp()
Dnet.c1212 if (copy_to_iter(&hdr, sizeof(hdr), in handle_rx()
1228 copy_to_iter(&num_buffers, sizeof num_buffers, in handle_rx()
/kernel/linux/linux-5.10/drivers/s390/block/
Ddcssblk.c57 return copy_to_iter(addr, bytes, i); in dcssblk_dax_copy_to_iter()
78 .copy_to_iter = dcssblk_dax_copy_to_iter,
/kernel/linux/linux-5.10/drivers/char/
Drandom.c465 ret = copy_to_iter(&chacha_state[4], CHACHA_KEY_SIZE, iter); in get_random_bytes_user()
474 copied = copy_to_iter(block, sizeof(block), iter); in get_random_bytes_user()
/kernel/linux/linux-5.10/arch/s390/hypfs/
Dinode.c156 count = copy_to_iter(data + pos, available - pos, to); in hypfs_read_iter()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dudp.c297 datalen = copy_to_iter(skb->data, copied, &msg->msg_iter); in nip_udp_recvmsg()
/kernel/linux/linux-5.10/include/net/
Dudp.h396 n = copy_to_iter(skb->data + off, len, to); in copy_linear_skb()
/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_char.c205 if (copy_to_iter(skb->data, use, to) != use) in rpmsg_eptdev_read_iter()
/kernel/linux/linux-5.10/drivers/net/
Dtap.c787 if (copy_to_iter(&vnet_hdr, sizeof(vnet_hdr), iter) != in tap_put_user()
811 ret = copy_to_iter(&veth, sizeof(veth), iter); in tap_put_user()
Dtun.c2080 if (unlikely(copy_to_iter(&gso, sizeof(gso), iter) != in tun_put_user_xdp()
2086 ret = copy_to_iter(xdp_frame->data, size, iter) + vnet_hdr_sz; in tun_put_user_xdp()
2129 if (copy_to_iter(&pi, sizeof(pi), iter) != sizeof(pi)) in tun_put_user()
2155 if (copy_to_iter(&gso, sizeof(gso), iter) != sizeof(gso)) in tun_put_user()
2174 ret = copy_to_iter(&veth, sizeof(veth), iter); in tun_put_user()
/kernel/linux/linux-5.10/fs/iomap/
Ddirect-io.c367 copied = copy_to_iter(iomap->inline_data + pos, length, iter); in iomap_dio_inline_actor()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dpmem.c326 .copy_to_iter = pmem_copy_to_iter,
/kernel/linux/linux-5.10/drivers/dax/
Dsuper.c355 return dax_dev->ops->copy_to_iter(dax_dev, pgoff, addr, bytes, i); in dax_copy_to_iter()
/kernel/linux/linux-5.10/net/core/
Ddatagram.c519 return copy_to_iter(addr, bytes, i); in simple_copy_to_iter()
/kernel/linux/linux-5.10/fs/fuse/
Dvirtio_fs.c766 return copy_to_iter(addr, bytes, i); in virtio_fs_copy_to_iter()
786 .copy_to_iter = virtio_fs_copy_to_iter,
/kernel/linux/linux-5.10/fs/kernfs/
Dfile.c223 if (copy_to_iter(buf, len, iter) != len) { in kernfs_file_read_iter()
/kernel/linux/linux-5.10/drivers/fsi/
Dfsi-sbefifo.c596 if (copy_to_iter(&data, sizeof(__be32), response) < sizeof(__be32)) in sbefifo_read_response()

12