Home
last modified time | relevance | path

Searched refs:copy_from_iter (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/sound/core/
Dmemory.c99 return copy_from_iter((void __force *)dst, count, src) == count ? 0 : -EFAULT; in copy_from_iter_toio()
106 if (copy_from_iter(buf, c, src) != c) in copy_from_iter_toio()
/linux-6.6.21/include/linux/
Duio.h206 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter() function
216 size_t copied = copy_from_iter(addr, bytes, i); in copy_from_iter_full()
/linux-6.6.21/fs/configfs/
Dfile.c191 copied = copy_from_iter(buffer->page, SIMPLE_ATTR_SIZE - 1, from); in fill_write_buffer()
282 len = copy_from_iter(buffer->bin_buffer + iocb->ki_pos, in configfs_bin_write_iter()
/linux-6.6.21/lib/
Dkunit_iov_iter.c172 copied = copy_from_iter(scratch, size, &iter); in iov_kunit_copy_from_kvec()
335 copied = copy_from_iter(scratch, size, &iter); in iov_kunit_copy_from_bvec()
492 copied = copy_from_iter(scratch + i, size, &iter); in iov_kunit_copy_from_xarray()
/linux-6.6.21/drivers/xen/
Dpvcalls-front.c519 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring()
522 int ret = copy_from_iter(data->out + masked_prod, in __write_ring()
528 len = ret + copy_from_iter(data->out, len - ret, msg_iter); in __write_ring()
530 len = copy_from_iter(data->out + masked_prod, len, msg_iter); in __write_ring()
/linux-6.6.21/drivers/vhost/
Dvsock.c351 nbytes = copy_from_iter(hdr, sizeof(*hdr), &iov_iter); in vhost_vsock_alloc_skb()
374 nbytes = copy_from_iter(skb->data, payload_len, &iov_iter); in vhost_vsock_alloc_skb()
Dvhost.c1158 ret = copy_from_iter(to, size, &f); in vhost_copy_from_user()
1424 ret = copy_from_iter(&type, sizeof(type), from); in vhost_chr_write_iter()
1440 ret = copy_from_iter(&asid, sizeof(asid), from); in vhost_chr_write_iter()
1455 ret = copy_from_iter(&msg, sizeof(msg), from); in vhost_chr_write_iter()
Dvringh.c1211 ret = copy_from_iter(dst, translated, &iter); in copy_from_iotlb()
/linux-6.6.21/sound/soc/
Dsoc-generic-dmaengine-pcm.c305 if (copy_from_iter(dma_ptr, bytes, iter) != bytes) in dmaengine_copy()
/linux-6.6.21/sound/isa/sb/
Demu8000_pcm.c416 else if (copy_from_iter(&sval, 2, iter) != 2) \
/linux-6.6.21/net/core/
Ddatagram.c553 if (copy_from_iter(skb->data + offset, copy, from) != copy) in skb_copy_datagram_from_iter()
Dskmsg.c394 ret = copy_from_iter(to, copy, from); in sk_msg_memcopy_from_iter()
/linux-6.6.21/fs/iomap/
Ddirect-io.c472 copied = copy_from_iter(inline_data, length, iter); in iomap_dio_inline_iter()
/linux-6.6.21/net/tls/
Dtls_device.c406 if (copy_from_iter(addr, pre_copy, i) != pre_copy) in tls_device_copy_data()
418 if (bytes && copy_from_iter(addr, bytes, i) != bytes) in tls_device_copy_data()
/linux-6.6.21/sound/xen/
Dxen_snd_front_alsa.c614 if (copy_from_iter(stream->buffer + pos, count, src) != count) in alsa_pb_copy()
/linux-6.6.21/net/tipc/
Dmsg.c231 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append()
/linux-6.6.21/fs/kernfs/
Dfile.c315 if (copy_from_iter(buf, len, iter) != len) { in kernfs_fop_write_iter()
/linux-6.6.21/sound/isa/gus/
Dgus_pcm.c382 if (copy_from_iter(runtime->dma_area + bpos, len, src) != len) in snd_gf1_pcm_playback_copy()
/linux-6.6.21/drivers/char/
Drandom.c1410 copied = copy_from_iter(block, sizeof(block), iter); in write_pool_user()
/linux-6.6.21/sound/soc/mediatek/common/
Dmtk-btcvsd.c834 if (copy_from_iter(bt->tx_packet_buf + cur_write_idx, in mtk_btcvsd_snd_write()
/linux-6.6.21/sound/soc/qcom/
Dlpass-platform.c1236 if (copy_from_iter((void __force *)dma_buf, bytes, buf) != bytes) in lpass_platform_copy()
/linux-6.6.21/kernel/trace/
Dtrace_events_user.c2080 if (unlikely(copy_from_iter(&idx, sizeof(idx), i) != sizeof(idx))) in user_events_write_core()
/linux-6.6.21/sound/pci/korg1212/
Dkorg1212.c1347 if (copy_from_iter(dst, size, src) != size) in snd_korg1212_copy_from()
/linux-6.6.21/drivers/vdpa/vdpa_user/
Dvduse_dev.c383 ret = copy_from_iter(&resp, sizeof(resp), from); in vduse_dev_write_iter()
/linux-6.6.21/sound/pci/rme9652/
Drme9652.c1860 if (copy_from_iter(channel_buf + pos, count, src) != count) in snd_rme9652_playback_copy()

12