Searched refs:copy_count (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/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() 503 size_t copy_count = count; in dimmdev_label_store() local 509 copy_count -= 1; in dimmdev_label_store() 511 if (copy_count == 0 || copy_count >= sizeof(dimm->label)) in dimmdev_label_store() 514 strncpy(dimm->label, data, copy_count); in dimmdev_label_store() 515 dimm->label[copy_count] = '\0'; in dimmdev_label_store()
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
D | netback.c | 336 u8 copy_count; member 342 #define copy_count(skb) (XENVIF_TX_CB(skb)->copy_count) macro 401 copy_count(skb) = 0; in xenvif_get_requests() 424 XENVIF_TX_CB(skb)->split_mask |= 1U << copy_count(skb); in xenvif_get_requests() 434 copy_pending_idx(skb, copy_count(skb)) = pending_idx; in xenvif_get_requests() 436 copy_count(skb)++; in xenvif_get_requests() 583 copy_pending_idx(skb, copy_count(skb) - 1); in xenvif_tx_check_gop() 586 for (i = 0; i < copy_count(skb); i++) { in xenvif_tx_check_gop() 602 if (i < copy_count(skb) - 1 || !sharedslot) in xenvif_tx_check_gop() 614 if (i < copy_count(skb) - 1 || !sharedslot) in xenvif_tx_check_gop()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/misc/altera-stapl/ |
D | altera.c | 1689 s32 copy_count; in altera_execute() local 1701 copy_count = stack[--stack_ptr]; in altera_execute() 1715 if (copy_count > copy_index) { in altera_execute() 1718 src_count = 1 + copy_count - copy_index; in altera_execute() 1721 src_count = 1 + copy_index - copy_count; in altera_execute() 1723 copy_index = copy_count; in altera_execute() 1735 copy_count = (src_count < dest_count) ? in altera_execute() 1752 count = copy_count; in altera_execute()
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | synclinkmp.c | 4940 int copy_count = framesize; in rx_get_frame() local 4947 while(copy_count) { in rx_get_frame() 4948 int partial_count = min(copy_count,SCABUFSIZE); in rx_get_frame() 4953 copy_count -= partial_count; in rx_get_frame() 4992 unsigned short copy_count; in tx_load_dma_buffer() local 5005 copy_count = min_t(unsigned int, count, SCABUFSIZE); in tx_load_dma_buffer() 5010 load_pci_memory(info, desc_ex->virt_addr,buf,copy_count); in tx_load_dma_buffer() 5012 desc->length = copy_count; in tx_load_dma_buffer() 5015 buf += copy_count; in tx_load_dma_buffer() 5016 count -= copy_count; in tx_load_dma_buffer()
|
D | synclink.c | 6413 int copy_count = framesize; in mgsl_get_rx_frame() local 6420 while(copy_count) { in mgsl_get_rx_frame() 6422 if ( copy_count > DMABUFFERSIZE ) in mgsl_get_rx_frame() 6425 partial_count = copy_count; in mgsl_get_rx_frame() 6430 copy_count -= partial_count; in mgsl_get_rx_frame()
|
D | synclink_gt.c | 4654 int copy_count = framesize; in rx_get_frame() local 4661 while(copy_count) { in rx_get_frame() 4662 int partial_count = min_t(int, copy_count, info->rbuf_fill_level); in rx_get_frame() 4665 copy_count -= partial_count; in rx_get_frame()
|
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 3903 size_t copy_count; in pqi_start_io() local 3945 copy_count = num_elements_to_end_of_queue * in pqi_start_io() 3947 memcpy(next_element, request, copy_count); in pqi_start_io() 3949 (u8 *)request + copy_count, in pqi_start_io() 3950 iu_length - copy_count); in pqi_start_io()
|