/linux-master/lib/ |
H A D | iov_iter.c | 219 * successfully copied. 232 * Return: number of bytes copied (may be %0) 312 * Return: number of bytes copied (may be %0) 463 size_t n, copied = 0; local 473 n = bytes - copied; 483 copied += n; 485 } while (PageHighMem(page) && copied != bytes && n > 0); 487 return copied;
|
/linux-master/drivers/vhost/ |
H A D | net.c | 674 int copied; local 690 copied = copy_from_iter(buf + offsetof(struct tun_xdp_hdr, gso), 692 if (copied != sock_hlen) { 718 copied = copy_from_iter(buf + pad, len, from); 719 if (copied != len) {
|
/linux-master/io_uring/ |
H A D | net.c | 1118 ssize_t copied = 0; local 1133 copied += v.bv_len; 1145 from->count -= copied; 1148 skb->data_len += copied; 1149 skb->len += copied;
|
/linux-master/drivers/memstick/core/ |
H A D | ms_block.c | 7 * Minor portions of the driver were copied from mspro_block.c which is 39 size_t copied = 0; local 51 copied = min(len, sg_from->length - offset); 53 copied, sg_from->offset + offset); 55 len -= copied; 68 copied += sg_from->length; 82 copied += len; 86 return copied; 1566 /* Bad pages are copied with 00 page status */
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 3047 size_t *copied) 3055 *copied = 0; 3082 *copied = copy_to_user((void __user *)vaddr, data, 3084 if (*copied && iommu->dirty_page_tracking) { 3091 ((offset + *copied - 1) >> pgshift) - 3095 *copied = copy_from_user(data, (void __user *)vaddr, 3101 return *copied ? 0 : -EFAULT; 3044 vfio_iommu_type1_dma_rw_chunk(struct vfio_iommu *iommu, dma_addr_t user_iova, void *data, size_t count, bool write, size_t *copied) argument
|
/linux-master/fs/ceph/ |
H A D | addr.c | 1527 loff_t pos, unsigned len, unsigned copied, 1536 file, folio, (int)pos, (int)copied, (int)len); 1539 /* just return that nothing was copied on a short copy */ 1540 if (copied < len) { 1541 copied = 0; 1548 if (pos+copied > i_size_read(inode)) 1549 check_cap = ceph_inode_set_size(inode, pos+copied); 1560 return copied; 1526 ceph_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *subpage, void *fsdata) argument
|
/linux-master/net/unix/ |
H A D | af_unix.c | 2649 int flags, int copied) 2659 if (copied) { 2696 int copied = 0; local 2749 skb = manage_oob(skb, sk, flags, copied); 2750 if (!skb && copied) { 2757 if (copied >= target) 2837 if (copied == 0) 2838 copied = -EFAULT; 2841 copied += chunk; 2904 return copied 2648 manage_oob(struct sk_buff *skb, struct sock *sk, int flags, int copied) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | ocfs2_trace.h | 1221 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,
|
/linux-master/include/trace/events/ |
H A D | f2fs.h | 1280 unsigned int copied), 1282 TP_ARGS(inode, pos, len, copied), 1289 __field(unsigned int, copied) 1297 __entry->copied = copied; 1300 TP_printk("dev = (%d,%d), ino = %lu, pos = %llu, len = %u, copied = %u", 1304 __entry->copied)
|
/linux-master/fs/affs/ |
H A D | file.c | 435 loff_t pos, unsigned int len, unsigned int copied, 441 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); 689 loff_t pos, unsigned len, unsigned copied, 705 * XXX: not sure if this can handle short copies (len < copied), but 434 affs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int copied, struct page *page, void *fsdata) argument 688 affs_write_end_ofs(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/drivers/media/radio/ |
H A D | radio-si476x.c | 1088 unsigned int copied; local 1111 &copied) != 0) { 1116 rval = (ssize_t)copied;
|
/linux-master/drivers/hid/ |
H A D | hid-debug.c | 1154 int ret = 0, copied; local 1201 ret = kfifo_to_user(&list->hid_debug_fifo, buffer, count, &copied); 1204 ret = copied;
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 1102 * Set the transfer size. The header plus uCode will be copied to WOPCM 1191 size_t copied; local 1224 copied = intel_uc_fw_copy_rsa(uc_fw, vaddr, vma->size); 1227 if (copied < uc_fw->rsa_size) { 1325 * Return: number of copied bytes.
|
/linux-master/drivers/isdn/capi/ |
H A D | capi.c | 656 size_t copied; local 679 copied = skb->len; 683 return copied;
|
/linux-master/drivers/greybus/ |
H A D | es2.c | 1117 size_t copied; local 1127 copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count); 1128 ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied);
|
/linux-master/drivers/s390/net/ |
H A D | netiucv.c | 1149 int copied = 0; local 1161 copied = 1; 1190 if (copied) 1202 if (copied)
|
/linux-master/include/linux/sunrpc/ |
H A D | xprt.h | 421 void xprt_complete_rqst(struct rpc_task *task, int copied);
|
/linux-master/net/tipc/ |
H A D | socket.c | 2023 int offset, required, copy, copied = 0; local 2059 if (!copied) { 2070 copy = min_t(int, dlen - offset, buflen - copied); 2074 copied += copy; 2085 if (copied || rc) 2100 if (copied == buflen || err) 2103 } while (!skb_queue_empty(&sk->sk_receive_queue) || copied < required); 2106 return copied ? copied : rc;
|
/linux-master/net/ipv4/ |
H A D | udp.c | 1802 unsigned int ulen, copied; local 1817 copied = len; 1818 if (copied > ulen - off) 1819 copied = ulen - off; 1820 else if (copied < ulen) 1829 if (copied < ulen || peeking || 1839 err = copy_linear_skb(skb, copied, off, &msg->msg_iter); 1841 err = skb_copy_datagram_msg(skb, off, msg, copied); 1884 err = copied;
|
/linux-master/arch/arm/kernel/ |
H A D | entry-armv.S | 182 str r3, [sp] @ save the "real" r0 copied 367 str r3, [sp] @ save the "real" r0 copied 837 * This code is copied to 0xffff1000 so we can use branches in the 845 * of which is copied into r0 for the mode specific abort handler.
|
/linux-master/fs/hostfs/ |
H A D | hostfs_kern.c | 476 loff_t pos, unsigned len, unsigned copied, 485 err = write_file(FILE_HOSTFS_I(file)->fd, &pos, buffer + from, copied); 475 hostfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/fs/proc/ |
H A D | base.c | 843 ssize_t copied; local 854 copied = 0; 864 copied = -EFAULT; 870 if (!copied) 871 copied = -EIO; 876 copied = -EFAULT; 882 copied += this_len; 890 return copied;
|
/linux-master/block/ |
H A D | fops.c | 453 loff_t pos, unsigned len, unsigned copied, struct page *page, 457 ret = block_write_end(file, mapping, pos, len, copied, page, fsdata); 452 blkdev_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/fs/exfat/ |
H A D | inode.c | 465 loff_t pos, unsigned int len, unsigned int copied, 472 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); 464 exfat_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int copied, struct page *pagep, void *fsdata) argument
|
/linux-master/drivers/tty/ |
H A D | tty_io.c | 856 size_t copied, count = iov_iter_count(to); local 882 copied = copy_to_iter(kernel_buf, size, to); 883 offset += copied; 884 count -= copied; 892 if (unlikely(copied != size)) {
|