Searched refs:copy_count (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/vfio/pci/nvgrace-gpu/ |
| H A D | main.c | 515 size_t copy_count; in nvgrace_gpu_read_config_emu() local 524 ©_offset, ©_count, in nvgrace_gpu_read_config_emu() 530 ©_offset, ©_count, in nvgrace_gpu_read_config_emu() 540 (void *)&val64 + register_offset, copy_count)) { in nvgrace_gpu_read_config_emu() 565 size_t copy_count; in nvgrace_gpu_write_config_emu() local 569 ©_count, ®ister_offset)) in nvgrace_gpu_write_config_emu() 573 ©_count, ®ister_offset)) in nvgrace_gpu_write_config_emu() 578 buf + copy_offset, copy_count)) in nvgrace_gpu_write_config_emu() 580 *ppos += copy_count; in nvgrace_gpu_write_config_emu() 581 return copy_count; in nvgrace_gpu_write_config_emu()
|
| /linux/drivers/edac/ |
| H A D | edac_mc_sysfs.c | 155 size_t copy_count = count; in dimmdev_label_store() local 161 copy_count -= 1; in dimmdev_label_store() 163 if (copy_count == 0 || copy_count >= sizeof(dimm->label)) in dimmdev_label_store() 166 memcpy(dimm->label, data, copy_count); in dimmdev_label_store() 167 dimm->label[copy_count] = '\0'; in dimmdev_label_store()
|
| /linux/drivers/net/xen-netback/ |
| H A D | netback.c | 333 u8 copy_count; member 339 #define copy_count(skb) (XENVIF_TX_CB(skb)->copy_count) macro 398 copy_count(skb) = 0; in xenvif_get_requests() 421 XENVIF_TX_CB(skb)->split_mask |= 1U << copy_count(skb); in xenvif_get_requests() 431 copy_pending_idx(skb, copy_count(skb)) = pending_idx; in xenvif_get_requests() 433 copy_count(skb)++; in xenvif_get_requests() 569 copy_pending_idx(skb, copy_count(skb) - 1); in xenvif_tx_check_gop() 572 for (i = 0; i < copy_count(skb); i++) { in xenvif_tx_check_gop() 588 if (i < copy_count(skb) - 1 || !sharedslot) in xenvif_tx_check_gop() 600 if (i < copy_count(skb) - 1 || !sharedslot) in xenvif_tx_check_gop()
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f34.c | 454 size_t copy_count = count; in rmi_driver_update_fw_store() local 461 copy_count -= 1; in rmi_driver_update_fw_store() 463 memcpy(fw_name, buf, copy_count); in rmi_driver_update_fw_store() 464 fw_name[copy_count] = '\0'; in rmi_driver_update_fw_store()
|
| /linux/drivers/misc/altera-stapl/ |
| H A D | altera.c | 1664 s32 copy_count; in altera_execute() local 1676 copy_count = stack[--stack_ptr]; in altera_execute() 1690 if (copy_count > copy_index) { in altera_execute() 1693 src_count = 1 + copy_count - copy_index; in altera_execute() 1696 src_count = 1 + copy_index - copy_count; in altera_execute() 1698 copy_index = copy_count; in altera_execute() 1710 copy_count = (src_count < dest_count) ? in altera_execute() 1727 count = copy_count; in altera_execute()
|
| /linux/drivers/tty/ |
| H A D | synclink_gt.c | 4615 int copy_count = framesize; in rx_get_frame() local 4622 while(copy_count) { in rx_get_frame() 4623 int partial_count = min_t(int, copy_count, info->rbuf_fill_level); in rx_get_frame() 4626 copy_count -= partial_count; in rx_get_frame()
|