Home
last modified time | relevance | path

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

123

/linux-6.6.21/sound/core/
Dmemory.c48 return copy_to_iter((const void __force *)src, count, dst) == count ? 0 : -EFAULT; in copy_to_iter_fromio()
56 if (copy_to_iter(buf, c, dst) != c) in copy_to_iter_fromio()
/linux-6.6.21/arch/powerpc/kernel/
Dcrash_dump.c85 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
88 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/ia64/kernel/
Dcrash_dump.c24 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/mips/kernel/
Dcrash_dump.c15 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/sh/kernel/
Dcrash_dump.c23 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/arm/kernel/
Dcrash_dump.c31 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/riscv/kernel/
Dcrash_dump.c24 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/loongarch/kernel/
Dcrash_dump.c18 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/arch/x86/kernel/
Dcrash_dump_32.c43 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
Dcrash_dump_64.c32 csize = copy_to_iter(vaddr + offset, csize, iter); in __copy_oldmem_page()
/linux-6.6.21/arch/arm64/kernel/
Dcrash_dump.c27 csize = copy_to_iter(vaddr + offset, csize, iter); in copy_oldmem_page()
/linux-6.6.21/fs/proc/
Dkcore.c361 if (copy_to_iter((char *)&ehdr + *fpos, tsz, iter) != tsz) { in read_kcore_iter()
402 if (copy_to_iter((char *)phdrs + *fpos - phdrs_offset, tsz, in read_kcore_iter()
451 if (copy_to_iter(notes + *fpos - notes_offset, tsz, iter) != tsz) { in read_kcore_iter()
534 if (copy_to_iter((char *)start, tsz, iter) != tsz) { in read_kcore_iter()
Dvmcore.c255 if (copy_to_iter(buf, tsz, iter) < tsz) { in vmcoredd_copy_dumps()
332 if (copy_to_iter(elfcorebuf + *fpos, tsz, iter) < tsz) in __read_vmcore()
377 if (copy_to_iter(kaddr, tsz, iter) < tsz) in __read_vmcore()
/linux-6.6.21/net/qrtr/
Dtun.c77 if (copy_to_iter(skb->data, count, to) != count) in qrtr_tun_read_iter()
/linux-6.6.21/arch/s390/mm/
Dmaccess.c102 copied = copy_to_iter(chunk, len, iter); in memcpy_real_iter()
/linux-6.6.21/fs/configfs/
Dfile.c96 retval = copy_to_iter(buffer->page + iocb->ki_pos, in configfs_read_iter()
170 retval = copy_to_iter(buffer->bin_buffer + iocb->ki_pos, in configfs_bin_read_iter()
/linux-6.6.21/lib/
Dkunit_iov_iter.c122 copied = copy_to_iter(scratch, size, &iter); in iov_kunit_copy_to_kvec()
281 copied = copy_to_iter(scratch, size, &iter); in iov_kunit_copy_to_bvec()
434 copied = copy_to_iter(scratch + i, size, &iter); in iov_kunit_copy_to_xarray()
/linux-6.6.21/drivers/xen/
Dpvcalls-front.c611 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()
614 int ret = copy_to_iter(data->in + masked_cons, in __read_ring()
620 len = ret + copy_to_iter(data->in, len - ret, msg_iter); in __read_ring()
622 len = copy_to_iter(data->in + masked_cons, len, msg_iter); in __read_ring()
/linux-6.6.21/drivers/gpu/drm/display/
Ddrm_dp_aux_dev.c171 if (copy_to_iter(buf, res, to) != res) { in auxdev_read_iter()
/linux-6.6.21/drivers/s390/char/
Dzcore.c82 copied = copy_to_iter(hsa_buf + offset, bytes, iter); in memcpy_hsa_iter()
/linux-6.6.21/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c226 if (copy_to_iter(solo_pcm->g723_buf, G723_PERIOD_BYTES, dst) != in snd_solo_pcm_copy()
/linux-6.6.21/fs/
Deventfd.c253 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()
/linux-6.6.21/drivers/vhost/
Dvsock.c193 nbytes = copy_to_iter(hdr, sizeof(*hdr), &iov_iter); in vhost_transport_do_send_pkt()
200 nbytes = copy_to_iter(skb->data, payload_len, &iov_iter); in vhost_transport_do_send_pkt()
/linux-6.6.21/include/linux/
Duio.h198 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() function

123