Home
last modified time | relevance | path

Searched refs:copied (Results 226 – 250 of 434) sorted by relevance

12345678910>>...18

/linux/drivers/hid/
H A Dhid-debug.c3709 int ret = 0, copied; in hid_debug_events_read() local
3756 ret = kfifo_to_user(&list->hid_debug_fifo, buffer, count, &copied); in hid_debug_events_read()
3759 ret = copied; in hid_debug_events_read()
/linux/net/ipv4/
H A Dudp.c1818 unsigned int ulen, copied; in udp_recvmsg() local
1833 copied = len; in udp_recvmsg()
1834 if (copied > ulen - off) in udp_recvmsg()
1835 copied = ulen - off; in udp_recvmsg()
1836 else if (copied < ulen) in udp_recvmsg()
1845 if (copied < ulen || peeking || in udp_recvmsg()
1855 err = copy_linear_skb(skb, copied, off, &msg->msg_iter); in udp_recvmsg()
1857 err = skb_copy_datagram_msg(skb, off, msg, copied); in udp_recvmsg()
1900 err = copied; in udp_recvmsg()
/linux/io_uring/
H A Dnet.c1282 ssize_t copied = 0; in io_sg_from_iter() local
1297 copied += v.bv_len; in io_sg_from_iter()
1309 from->count -= copied; in io_sg_from_iter()
1312 skb->data_len += copied; in io_sg_from_iter()
1313 skb->len += copied; in io_sg_from_iter()
/linux/Documentation/filesystems/nfs/
H A Dpnfs.rst43 The hash code is copied from the nfsd code base. A discussion of
/linux/Documentation/driver-api/mtd/
H A Dspi-intel.rst53 8388608 bytes (8.4 MB) copied, 10.0269 s, 837 kB/s
/linux/Documentation/arch/arm64/
H A Dmemory-tagging-extension.rst205 - 0 - tags were copied, the tracer's ``iov_len`` was updated to the
211 address) and no tags copied. ``iov_len`` not updated.
213 or ``iov_base`` buffer) and no tags copied. ``iov_len`` not updated.
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.c583 ssize_t copied; in ath12k_core_check_bdfext() local
623 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic), in ath12k_core_check_bdfext()
625 if (copied < 0) { in ath12k_core_check_bdfext()
/linux/drivers/vfio/
H A Dvfio_iommu_type1.c3047 size_t *copied) in vfio_iommu_type1_dma_rw_chunk() argument
3055 *copied = 0; in vfio_iommu_type1_dma_rw_chunk()
3082 *copied = copy_to_user((void __user *)vaddr, data, in vfio_iommu_type1_dma_rw_chunk()
3084 if (*copied && iommu->dirty_page_tracking) { in vfio_iommu_type1_dma_rw_chunk()
3091 ((offset + *copied - 1) >> pgshift) - in vfio_iommu_type1_dma_rw_chunk()
3095 *copied = copy_from_user(data, (void __user *)vaddr, in vfio_iommu_type1_dma_rw_chunk()
3101 return *copied ? 0 : -EFAULT; in vfio_iommu_type1_dma_rw_chunk()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-remoteproc77 collected it will be copied to a separate buffer and that
/linux/include/linux/
H A Diomap.h144 void (*put_folio)(struct inode *inode, loff_t pos, unsigned copied,
/linux/fs/proc/
H A Dbase.c843 ssize_t copied; in mem_rw() local
854 copied = 0; in mem_rw()
864 copied = -EFAULT; in mem_rw()
870 if (!copied) in mem_rw()
871 copied = -EIO; in mem_rw()
876 copied = -EFAULT; in mem_rw()
882 copied += this_len; in mem_rw()
890 return copied; in mem_rw()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enumoutput.rst118 - The video output will be copied to a :ref:`video overlay <overlay>`.
/linux/drivers/usb/musb/
H A DKconfig130 All data is copied between memory and FIFO by the CPU.
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8226-microsoft-common.dtsi71 * This smem memory region is directly copied from
/linux/Documentation/mm/
H A Dpage_migration.rst129 12. The page contents are copied to the new page.
131 13. The remaining page flags are copied to the new page.
/linux/fs/exfat/
H A Dinode.c465 loff_t pos, unsigned int len, unsigned int copied, in exfat_write_end() argument
472 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in exfat_write_end()
/linux/fs/affs/
H A Dfile.c435 loff_t pos, unsigned int len, unsigned int copied, in affs_write_end() argument
441 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); in affs_write_end()
689 loff_t pos, unsigned len, unsigned copied, in affs_write_end_ofs() argument
/linux/drivers/media/radio/
H A Dradio-si476x.c1088 unsigned int copied; in si476x_radio_fops_read() local
1111 &copied) != 0) { in si476x_radio_fops_read()
1116 rval = (ssize_t)copied; in si476x_radio_fops_read()
/linux/drivers/isdn/capi/
H A Dcapi.c656 size_t copied; in capi_read() local
679 copied = skb->len; in capi_read()
683 return copied; in capi_read()
/linux/drivers/greybus/
H A Des2.c1117 size_t copied; in apb_log_read() local
1127 copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count); in apb_log_read()
1128 ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied); in apb_log_read()
/linux/Documentation/admin-guide/mm/
H A Dksm.rst20 is automatically copied if a process later wants to update its
288 is incremented every time a KSM page is copied when swapping in
289 note that KSM page might be copied when swapping in because do_swap_page()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1849 int copied, offset, copy_len, hdr_len = 0, tso = 0, vlan_oob = 0; in netxen_tso_check() local
1916 copied = 0; in netxen_tso_check()
1935 copied = copy_len - VLAN_HLEN; in netxen_tso_check()
1941 while (copied < hdr_len) { in netxen_tso_check()
1944 (hdr_len - copied)); in netxen_tso_check()
1949 skb_copy_from_linear_data_offset(skb, copied, in netxen_tso_check()
1952 copied += copy_len; in netxen_tso_check()
/linux/drivers/tty/serial/
H A Dfsl_lpuart.c1112 int count, copied; in lpuart_copy_rx_to_tty() local
1214 copied = lpuart_tty_insert_flip_string(port, ring->buf + ring->tail, in lpuart_copy_rx_to_tty()
1216 if (copied != count) in lpuart_copy_rx_to_tty()
1219 sport->port.icount.rx += copied; in lpuart_copy_rx_to_tty()
1225 copied = lpuart_tty_insert_flip_string(port, ring->buf + ring->tail, in lpuart_copy_rx_to_tty()
1227 if (copied != count) in lpuart_copy_rx_to_tty()
1233 sport->port.icount.rx += copied; in lpuart_copy_rx_to_tty()
/linux/net/tipc/
H A Dsocket.c2021 int offset, required, copy, copied = 0; in tipc_recvstream() local
2057 if (!copied) { in tipc_recvstream()
2068 copy = min_t(int, dlen - offset, buflen - copied); in tipc_recvstream()
2072 copied += copy; in tipc_recvstream()
2083 if (copied || rc) in tipc_recvstream()
2098 if (copied == buflen || err) in tipc_recvstream()
2101 } while (!skb_queue_empty(&sk->sk_receive_queue) || copied < required); in tipc_recvstream()
2104 return copied ? copied : rc; in tipc_recvstream()
/linux/fs/ocfs2/
H A Docfs2_trace.h1221 unsigned long long pos, unsigned int copied,
1223 TP_ARGS(ino, pos, copied, id_count, features),
1227 __field(unsigned int, copied)
1234 __entry->copied = copied;
1239 __entry->ino, __entry->pos, __entry->copied,

12345678910>>...18