/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | dell_rbu.c | 251 int bytes_copied = 0; in do_packet_read() local 270 bytes_copied = (*list_read_count - bytes_read); in do_packet_read() 273 bytes_copied = length; in do_packet_read() 274 memcpy(data, ptemp_buf, bytes_copied); in do_packet_read() 276 return bytes_copied; in do_packet_read() 283 int bytes_copied = 0; in packet_read_list() local 296 bytes_copied = do_packet_read(pdest, newpacket, in packet_read_list() 298 remaining_bytes -= bytes_copied; in packet_read_list() 299 bytes_read += bytes_copied; in packet_read_list() 300 pdest += bytes_copied; in packet_read_list()
|
/kernel/linux/linux-5.10/drivers/ps3/ |
D | ps3-lpm.c | 918 unsigned long *bytes_copied) in ps3_lpm_copy_tb() argument 922 *bytes_copied = 0; in ps3_lpm_copy_tb() 932 while (*bytes_copied < count) { in ps3_lpm_copy_tb() 933 const unsigned long request = count - *bytes_copied; in ps3_lpm_copy_tb() 950 *bytes_copied += tmp; in ps3_lpm_copy_tb() 954 *bytes_copied); in ps3_lpm_copy_tb() 973 unsigned long count, unsigned long *bytes_copied) in ps3_lpm_copy_tb_to_user() argument 977 *bytes_copied = 0; in ps3_lpm_copy_tb_to_user() 987 while (*bytes_copied < count) { in ps3_lpm_copy_tb_to_user() 988 const unsigned long request = count - *bytes_copied; in ps3_lpm_copy_tb_to_user() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_printer.c | 431 size_t bytes_copied; in printer_read() local 461 bytes_copied = 0; in printer_read() 522 bytes_copied += size; in printer_read() 559 DBG(dev, "printer_read returned %d bytes\n", (int)bytes_copied); in printer_read() 561 if (bytes_copied) in printer_read() 562 return bytes_copied; in printer_read() 573 size_t bytes_copied = 0; in printer_write() local 644 return bytes_copied; in printer_write() 647 bytes_copied += size; in printer_write() 679 DBG(dev, "printer_write sent %d bytes\n", (int)bytes_copied); in printer_write() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 446 u32 bytes_copied = 0; in cx231xx_get_vbi_line() local 463 return bytes_copied; in cx231xx_get_vbi_line() 467 bytes_copied = in cx231xx_get_vbi_line() 471 return bytes_copied; in cx231xx_get_vbi_line()
|
D | cx231xx-video.c | 501 u32 bytes_copied = 0; in cx231xx_get_video_line() local 515 return bytes_copied; in cx231xx_get_video_line() 529 return bytes_copied; in cx231xx_get_video_line() 536 bytes_copied = cx231xx_copy_video_line(dev, dma_q, p_buffer, in cx231xx_get_video_line() 539 return bytes_copied; in cx231xx_get_video_line()
|
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
D | vmci_queue_pair.c | 335 size_t bytes_copied = 0; in qp_memcpy_to_queue_iter() local 337 while (bytes_copied < size) { in qp_memcpy_to_queue_iter() 339 (queue_offset + bytes_copied) / PAGE_SIZE; in qp_memcpy_to_queue_iter() 341 (queue_offset + bytes_copied) & (PAGE_SIZE - 1); in qp_memcpy_to_queue_iter() 351 if (size - bytes_copied > PAGE_SIZE - page_offset) in qp_memcpy_to_queue_iter() 355 to_copy = size - bytes_copied; in qp_memcpy_to_queue_iter() 363 bytes_copied += to_copy; in qp_memcpy_to_queue_iter() 382 size_t bytes_copied = 0; in qp_memcpy_from_queue_iter() local 384 while (bytes_copied < size) { in qp_memcpy_from_queue_iter() 386 (queue_offset + bytes_copied) / PAGE_SIZE; in qp_memcpy_from_queue_iter() [all …]
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 263 fw_tstamp.bytes_copied = stream->cumm_bytes; in sst_cdev_ack() 265 fw_tstamp.bytes_copied, bytes); in sst_cdev_ack() 267 offset = offsetof(struct snd_sst_tstamp, bytes_copied); in sst_cdev_ack() 268 sst_shim_write(addr, offset, fw_tstamp.bytes_copied); in sst_cdev_ack()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | ps3.h | 488 unsigned long *bytes_copied); 490 unsigned long count, unsigned long *bytes_copied);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | qp.c | 110 size_t *bytes_copied) in mlx5_ib_read_user_wqe_common() argument 127 if (!ret && bytes_copied) in mlx5_ib_read_user_wqe_common() 128 *bytes_copied = copy_length; in mlx5_ib_read_user_wqe_common() 137 size_t bytes_copied = 0; in mlx5_ib_read_kernel_wqe_sq() local 151 while (bytes_copied < wqe_length) { in mlx5_ib_read_kernel_wqe_sq() 153 min_t(size_t, buflen - bytes_copied, MLX5_SEND_WQE_BB); in mlx5_ib_read_kernel_wqe_sq() 158 memcpy(buffer + bytes_copied, p, copy_length); in mlx5_ib_read_kernel_wqe_sq() 159 bytes_copied += copy_length; in mlx5_ib_read_kernel_wqe_sq() 164 *bc = bytes_copied; in mlx5_ib_read_kernel_wqe_sq() 175 size_t bytes_copied; in mlx5_ib_read_user_wqe_sq() local [all …]
|
D | odp.c | 1276 size_t bytes_copied; in mlx5_ib_mr_wqe_pfault_handler() local 1302 &bytes_copied); in mlx5_ib_mr_wqe_pfault_handler() 1306 dev, pfault, qp, &wqe, &wqe_end, bytes_copied); in mlx5_ib_mr_wqe_pfault_handler() 1309 &bytes_copied); in mlx5_ib_mr_wqe_pfault_handler() 1313 dev, qp, wqe, &wqe_end, bytes_copied); in mlx5_ib_mr_wqe_pfault_handler() 1318 &bytes_copied); in mlx5_ib_mr_wqe_pfault_handler() 1322 dev, srq, &wqe, &wqe_end, bytes_copied); in mlx5_ib_mr_wqe_pfault_handler()
|
/kernel/linux/linux-5.10/drivers/memstick/host/ |
D | r592.c | 384 int bytes_copied = in r592_read_fifo_pio() local 386 buffer += bytes_copied; in r592_read_fifo_pio() 387 len -= bytes_copied; in r592_read_fifo_pio()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 2835 ssize_t *bytes_copied) in iwl_write_to_user_buf() argument 2837 int buf_size_left = count - *bytes_copied; in iwl_write_to_user_buf() 2844 *bytes_copied += *size; in iwl_write_to_user_buf() 2860 ssize_t size, bytes_copied = 0; in iwl_dbgfs_monitor_data_read() local 2891 &bytes_copied); in iwl_dbgfs_monitor_data_read() 2900 &bytes_copied); in iwl_dbgfs_monitor_data_read() 2907 &bytes_copied); in iwl_dbgfs_monitor_data_read() 2924 &bytes_copied); in iwl_dbgfs_monitor_data_read() 2931 return bytes_copied; in iwl_dbgfs_monitor_data_read()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs4proc.c | 1375 ssize_t bytes_copied = 0; in _nfsd_copy_file_range() local 1383 bytes_copied = nfsd_copy_file_range(src, src_pos, dst, dst_pos, in _nfsd_copy_file_range() 1385 if (bytes_copied <= 0) in _nfsd_copy_file_range() 1387 bytes_total -= bytes_copied; in _nfsd_copy_file_range() 1388 copy->cp_res.wr_bytes_written += bytes_copied; in _nfsd_copy_file_range() 1389 src_pos += bytes_copied; in _nfsd_copy_file_range() 1390 dst_pos += bytes_copied; in _nfsd_copy_file_range() 1392 return bytes_copied; in _nfsd_copy_file_range()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | inode.c | 2380 int bytes_copied = 0; in map_block_for_writepage() local 2413 if (bytes_copied > 0) { in map_block_for_writepage() 2415 "bytes_copied %d", bytes_copied); in map_block_for_writepage() 2456 memcpy(ih_item_body(bh, ih) + pos_in_item, p + bytes_copied, in map_block_for_writepage() 2460 bytes_copied += copy_size; in map_block_for_writepage() 2464 if (bytes_copied < bh_result->b_size && in map_block_for_writepage() 2465 (byte_offset + bytes_copied) < inode->i_size) { in map_block_for_writepage()
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/ |
D | sst-mfld-dsp.h | 254 u64 bytes_copied; member
|
/kernel/linux/linux-5.10/drivers/android/ |
D | binder.c | 2768 size_t bytes_copied = 0; in binder_do_deferred_txn_copies() local 2770 while (bytes_copied < sgc->length) { in binder_do_deferred_txn_copies() 2772 size_t bytes_left = sgc->length - bytes_copied; in binder_do_deferred_txn_copies() 2773 size_t offset = sgc->offset + bytes_copied; in binder_do_deferred_txn_copies() 2784 sgc->sender_uaddr + bytes_copied, in binder_do_deferred_txn_copies() 2786 bytes_copied += copy_size; in binder_do_deferred_txn_copies() 2797 bytes_copied += pf->skip_size; in binder_do_deferred_txn_copies() 2806 bytes_copied += sizeof(pf->fixup_data); in binder_do_deferred_txn_copies()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | socket.c | 6018 int bytes_copied; in sctp_getsockopt_peer_addrs() local 6050 bytes_copied = ((char __user *)to) - optval; in sctp_getsockopt_peer_addrs() 6051 if (put_user(bytes_copied, optlen)) in sctp_getsockopt_peer_addrs() 6058 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument 6094 *bytes_copied += addrlen; in sctp_copy_laddrs() 6116 int bytes_copied = 0; in sctp_getsockopt_local_addrs() local 6156 space_left, &bytes_copied); in sctp_getsockopt_local_addrs() 6180 bytes_copied += addrlen; in sctp_getsockopt_local_addrs() 6186 if (copy_to_user(to, addrs, bytes_copied)) { in sctp_getsockopt_local_addrs() 6197 if (put_user(bytes_copied, optlen)) in sctp_getsockopt_local_addrs()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | ipr.c | 2968 int bytes_copied = 0; in ipr_sdt_copy() local 2979 while (bytes_copied < length && in ipr_sdt_copy() 2980 (ioa_dump->hdr.len + bytes_copied) < max_dump_size) { in ipr_sdt_copy() 2987 return bytes_copied; in ipr_sdt_copy() 2996 rem_len = length - bytes_copied; in ipr_sdt_copy() 3005 pci_address + bytes_copied, in ipr_sdt_copy() 3013 bytes_copied += cur_len; in ipr_sdt_copy() 3021 return bytes_copied; in ipr_sdt_copy() 3143 u32 max_dump_size, bytes_to_copy, bytes_copied, rc; in ipr_get_ioa_dump() local 3269 bytes_copied = ipr_sdt_copy(ioa_cfg, sdt_word, in ipr_get_ioa_dump() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 223 unsigned int transfer_bytes, bytes_copied = 0; in lpfc_bsg_copy_data() local 267 bytes_copied += transfer_bytes; in lpfc_bsg_copy_data() 278 return bytes_copied; in lpfc_bsg_copy_data()
|