/linux/drivers/tty/serial/ |
H A D | sh-sci.c | 940 if (copied) { in sci_receive_chars() 964 copied++; in sci_handle_errors() 972 copied++; in sci_handle_errors() 980 copied++; in sci_handle_errors() 983 if (copied) in sci_handle_errors() 986 return copied; in sci_handle_errors() 1010 copied++; in sci_handle_fifo_overrun() 1013 return copied; in sci_handle_fifo_overrun() 1030 copied++; in sci_handle_breaks() 1033 if (copied) in sci_handle_breaks() [all …]
|
H A D | men_z135_uart.c | 247 int copied; in men_z135_handle_rx() local 276 copied = tty_insert_flip_string(tport, uart->rxbuf, room); in men_z135_handle_rx() 277 if (copied != room) in men_z135_handle_rx() 280 copied, room); in men_z135_handle_rx() 282 port->icount.rx += copied; in men_z135_handle_rx()
|
/linux/tools/perf/Documentation/ |
H A D | perf-iostat.txt | 57 375083606016 bytes (375 GB, 349 GiB) copied, 215.974 s, 1.7 GB/s 76 375083606016 bytes (375 GB, 349 GiB) copied, 197.08 s, 1.9 GB/s
|
/linux/drivers/gnss/ |
H A D | core.c | 92 unsigned int copied; in gnss_read() local 114 ret = kfifo_to_user(&gdev->read_fifo, buf, count, &copied); in gnss_read() 116 ret = copied; in gnss_read()
|
/linux/drivers/soc/aspeed/ |
H A D | aspeed-lpc-snoop.c | 84 unsigned int copied; in snoop_file_read() local 95 ret = kfifo_to_user(&chan->fifo, buffer, count, &copied); in snoop_file_read() 99 return copied; in snoop_file_read()
|
/linux/fs/configfs/ |
H A D | file.c | 184 int copied; in fill_write_buffer() local 191 copied = copy_from_iter(buffer->page, SIMPLE_ATTR_SIZE - 1, from); in fill_write_buffer() 195 buffer->page[copied] = 0; in fill_write_buffer() 196 return copied ? : -EFAULT; in fill_write_buffer()
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 279 int copied; in bfa_msgq_cmdq_copy_rsp() local 285 copied = (cmdq->bytes_to_copy >= BFI_CMD_COPY_SZ) ? BFI_CMD_COPY_SZ : in bfa_msgq_cmdq_copy_rsp() 288 memcpy(rsp->data, addr, copied); in bfa_msgq_cmdq_copy_rsp() 291 cmdq->offset += copied; in bfa_msgq_cmdq_copy_rsp() 292 cmdq->bytes_to_copy -= copied; in bfa_msgq_cmdq_copy_rsp()
|
/linux/drivers/gpu/drm/ |
H A D | drm_property.c | 465 int i, copied; in drm_mode_getproperty_ioctl() local 491 copied = 0; in drm_mode_getproperty_ioctl() 501 if (copy_to_user(&enum_ptr[copied].value, in drm_mode_getproperty_ioctl() 505 if (copy_to_user(&enum_ptr[copied].name, in drm_mode_getproperty_ioctl() 508 copied++; in drm_mode_getproperty_ioctl()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 575 int64_t copied = 0; in xfs_iextents_copy() local 586 copied += sizeof(struct xfs_bmbt_rec); in xfs_iextents_copy() 590 ASSERT(copied > 0); in xfs_iextents_copy() 591 ASSERT(copied <= ifp->if_bytes); in xfs_iextents_copy() 592 return copied; in xfs_iextents_copy()
|
/linux/fs/btrfs/ |
H A D | file.c | 47 size_t copied = 0; in btrfs_copy_from_user() local 76 copied = 0; in btrfs_copy_from_user() 78 if (!copied) in btrfs_copy_from_user() 82 write_bytes -= copied; in btrfs_copy_from_user() 83 total_copied += copied; in btrfs_copy_from_user() 84 offset += copied; in btrfs_copy_from_user() 98 u64 pos, u64 copied) in btrfs_drop_pages() argument 1248 size_t copied; in btrfs_buffered_write() local 1363 if (copied == 0) { in btrfs_buffered_write() 1425 pos += copied; in btrfs_buffered_write() [all …]
|
H A D | verity.c | 305 int copied = 0; in read_key_bytes() local 343 if (copied > 0) { in read_key_bytes() 389 copied += copy_bytes; in read_key_bytes() 409 ret = copied; in read_key_bytes()
|
/linux/drivers/most/ |
H A D | most_cdev.c | 239 size_t to_copy, not_copied, copied; in comp_read() local 269 copied = to_copy - not_copied; in comp_read() 271 c->mbo_offs += copied; in comp_read() 278 return copied; in comp_read()
|
/linux/drivers/xen/ |
H A D | gntdev.c | 862 uint16_t copied = 0; in gntdev_grant_copy_seg() local 885 while (copied < seg->len) { in gntdev_grant_copy_seg() 898 len = seg->len - copied; in gntdev_grant_copy_seg() 906 op->source.offset = seg->source.foreign.offset + copied; in gntdev_grant_copy_seg() 909 virt = seg->source.virt + copied; in gntdev_grant_copy_seg() 926 op->dest.offset = seg->dest.foreign.offset + copied; in gntdev_grant_copy_seg() 929 virt = seg->dest.virt + copied; in gntdev_grant_copy_seg() 944 copied += len; in gntdev_grant_copy_seg()
|
/linux/fs/bcachefs/ |
H A D | debug.c | 323 int copied = bytes - copy_to_user(i->ubuf, i->buf.buf, bytes); in flush_buf() local 325 i->ret += copied; in flush_buf() 326 i->ubuf += copied; in flush_buf() 327 i->size -= copied; in flush_buf() 328 i->buf.pos -= copied; in flush_buf() 329 memmove(i->buf.buf, i->buf.buf + copied, i->buf.pos); in flush_buf() 331 if (copied != bytes) in flush_buf()
|
/linux/fs/jffs2/ |
H A D | file.c | 25 loff_t pos, unsigned len, unsigned copied, 245 loff_t pos, unsigned len, unsigned copied, in jffs2_write_end() argument 256 unsigned end = start + copied; in jffs2_write_end()
|
/linux/Documentation/admin-guide/ |
H A D | efi-stub.rst | 32 The bzImage located in arch/x86/boot/bzImage must be copied to the EFI 37 arch/arm/boot/zImage should be copied to the system partition, and it 39 should be copied but not necessarily renamed.
|
/linux/drivers/staging/greybus/ |
H A D | sdio.c | 262 size_t copied; in _gb_sdio_send() local 280 copied = sg_pcopy_to_buffer(sg, sg_len, &request->data[0], len, skip); in _gb_sdio_send() 282 if (copied != len) { in _gb_sdio_send() 316 size_t copied; in _gb_sdio_recv() local 349 copied = sg_pcopy_from_buffer(sg, sg_len, &response->data[0], len, in _gb_sdio_recv() 351 if (copied != len) in _gb_sdio_recv()
|
/linux/Documentation/dev-tools/ |
H A D | gcov.rst | 133 copied from build to test machine: 152 The following files need to be copied after each test case from test 159 These files can be copied to any location on the build machine. gcov 166 /tmp/coverage: location of the files copied from the test machine 203 Files copied from sysfs appear empty or incomplete.
|
/linux/drivers/platform/surface/ |
H A D | surface_aggregator_cdev.c | 579 unsigned int copied; in ssam_cdev_read() local 622 status = kfifo_to_user(&client->buffer, buf, count, &copied); in ssam_cdev_read() 631 if (copied == 0 && (file->f_flags & O_NONBLOCK)) { in ssam_cdev_read() 635 } while (copied == 0); in ssam_cdev_read() 638 return copied; in ssam_cdev_read()
|
/linux/fs/ext4/ |
H A D | inode.c | 1289 copied = block_write_end(file, mapping, pos, len, copied, page, fsdata); in ext4_write_end() 1335 return ret ? ret : copied; in ext4_write_end() 1399 copied = 0; in ext4_journalled_write_end() 1403 if (unlikely(copied < len)) in ext4_journalled_write_end() 1405 from + copied, to); in ext4_journalled_write_end() 1408 from, from + copied, &partial, in ext4_journalled_write_end() 1449 return ret ? ret : copied; in ext4_journalled_write_end() 2952 copied = block_write_end(NULL, mapping, pos, len, copied, in ext4_da_do_write_end() 2954 new_i_size = pos + copied; in ext4_da_do_write_end() 2998 return copied; in ext4_da_do_write_end() [all …]
|
/linux/drivers/char/ |
H A D | mem.c | 192 unsigned long copied; in write_mem() local 238 copied = copy_from_user(ptr, buf, sz); in write_mem() 240 if (copied) { in write_mem() 241 written += sz - copied; in write_mem()
|
/linux/net/ipv4/ |
H A D | raw.c | 743 size_t copied = 0; in raw_recvmsg() local 760 copied = skb->len; in raw_recvmsg() 761 if (len < copied) { in raw_recvmsg() 763 copied = len; in raw_recvmsg() 766 err = skb_copy_datagram_msg(skb, 0, msg, copied); in raw_recvmsg() 783 copied = skb->len; in raw_recvmsg() 789 return copied; in raw_recvmsg()
|
/linux/include/linux/sunrpc/ |
H A D | xprtsock.h | 42 unsigned long copied; member
|
/linux/net/sunrpc/ |
H A D | xprtsock.c | 530 if (!transport->recv.copied) { in xs_read_header() 566 transport->recv.copied + want, in xs_read_stream_request() 567 transport->recv.copied, in xs_read_stream_request() 570 transport->recv.copied += read; in xs_read_stream_request() 712 transport->recv.copied = -1; in xs_read_stream() 732 transport->recv.copied = 0; in xs_read_stream() 807 transport->recv.copied = 0; in xs_stream_reset_connect() 1363 int repsize, copied; in xs_udp_data_read_skb() local 1389 copied = repsize; in xs_udp_data_read_skb() 1400 xprt_adjust_cwnd(xprt, task, copied); in xs_udp_data_read_skb() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | ldc.c | 1577 unsigned int copied; in write_nonraw() local 1593 copied = 0; in write_nonraw() 1595 while (copied < size) { in write_nonraw() 1606 data_len = size - copied; in write_nonraw() 1627 copied += data_len; in write_nonraw() 1743 int err, copied; in read_nonraw() local 1760 copied = err = 0; in read_nonraw() 1781 copied = 0; in read_nonraw() 1846 if (pkt_len > size - copied) { in read_nonraw() 1870 copied += pkt_len; in read_nonraw() [all …]
|