Searched refs:copy_count (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/edac/ |
D | edac_mc_sysfs.c | 221 size_t copy_count = count; in channel_dimm_label_store() local 227 copy_count -= 1; in channel_dimm_label_store() 229 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label)) in channel_dimm_label_store() 232 strncpy(rank->dimm->label, data, copy_count); in channel_dimm_label_store() 233 rank->dimm->label[copy_count] = '\0'; in channel_dimm_label_store() 527 size_t copy_count = count; in dimmdev_label_store() local 533 copy_count -= 1; in dimmdev_label_store() 535 if (copy_count == 0 || copy_count >= sizeof(dimm->label)) in dimmdev_label_store() 538 strncpy(dimm->label, data, copy_count); in dimmdev_label_store() 539 dimm->label[copy_count] = '\0'; in dimmdev_label_store()
|
/linux-6.6.21/drivers/net/xen-netback/ |
D | netback.c | 331 u8 copy_count; member 337 #define copy_count(skb) (XENVIF_TX_CB(skb)->copy_count) macro 396 copy_count(skb) = 0; in xenvif_get_requests() 419 XENVIF_TX_CB(skb)->split_mask |= 1U << copy_count(skb); in xenvif_get_requests() 429 copy_pending_idx(skb, copy_count(skb)) = pending_idx; in xenvif_get_requests() 431 copy_count(skb)++; in xenvif_get_requests() 567 copy_pending_idx(skb, copy_count(skb) - 1); in xenvif_tx_check_gop() 570 for (i = 0; i < copy_count(skb); i++) { in xenvif_tx_check_gop() 586 if (i < copy_count(skb) - 1 || !sharedslot) in xenvif_tx_check_gop() 598 if (i < copy_count(skb) - 1 || !sharedslot) in xenvif_tx_check_gop()
|
/linux-6.6.21/fs/reiserfs/ |
D | lbalance.c | 17 int item_num, int from, int copy_count) in leaf_copy_dir_entries() argument 40 if (copy_count) { in leaf_copy_dir_entries() 43 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 46 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 77 DEH_SIZE * copy_count + copy_records_len); in leaf_copy_dir_entries() 112 DEH_SIZE * copy_count + copy_records_len, in leaf_copy_dir_entries() 123 : 0, copy_count, deh + from, records, in leaf_copy_dir_entries() 124 DEH_SIZE * copy_count + copy_records_len); in leaf_copy_dir_entries()
|
/linux-6.6.21/drivers/input/rmi4/ |
D | rmi_f34.c | 465 size_t copy_count = count; in rmi_driver_update_fw_store() local 472 copy_count -= 1; in rmi_driver_update_fw_store() 474 strncpy(fw_name, buf, copy_count); in rmi_driver_update_fw_store() 475 fw_name[copy_count] = '\0'; in rmi_driver_update_fw_store()
|
/linux-6.6.21/drivers/misc/altera-stapl/ |
D | altera.c | 1665 s32 copy_count; in altera_execute() local 1677 copy_count = stack[--stack_ptr]; in altera_execute() 1691 if (copy_count > copy_index) { in altera_execute() 1694 src_count = 1 + copy_count - copy_index; in altera_execute() 1697 src_count = 1 + copy_index - copy_count; in altera_execute() 1699 copy_index = copy_count; in altera_execute() 1711 copy_count = (src_count < dest_count) ? in altera_execute() 1728 count = copy_count; in altera_execute()
|
/linux-6.6.21/drivers/tty/ |
D | synclink_gt.c | 4614 int copy_count = framesize; in rx_get_frame() local 4621 while(copy_count) { in rx_get_frame() 4622 int partial_count = min_t(int, copy_count, info->rbuf_fill_level); in rx_get_frame() 4625 copy_count -= partial_count; in rx_get_frame()
|
/linux-6.6.21/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 4477 size_t copy_count; in pqi_start_io() local 4519 copy_count = num_elements_to_end_of_queue * in pqi_start_io() 4521 memcpy(next_element, request, copy_count); in pqi_start_io() 4523 (u8 *)request + copy_count, in pqi_start_io() 4524 iu_length - copy_count); in pqi_start_io()
|