Searched refs:copy_count (Results 1 – 7 of 7) sorted by relevance
/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() 504 size_t copy_count = count; in dimmdev_label_store() local 510 copy_count -= 1; in dimmdev_label_store() 512 if (copy_count == 0 || copy_count >= sizeof(dimm->label)) in dimmdev_label_store() 515 strncpy(dimm->label, data, copy_count); in dimmdev_label_store() 516 dimm->label[copy_count] = '\0'; in dimmdev_label_store()
|
/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()
|
/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()
|
/drivers/tty/ |
D | synclinkmp.c | 4943 int copy_count = framesize; in rx_get_frame() local 4950 while(copy_count) { in rx_get_frame() 4951 int partial_count = min(copy_count,SCABUFSIZE); in rx_get_frame() 4956 copy_count -= partial_count; in rx_get_frame() 4995 unsigned short copy_count; in tx_load_dma_buffer() local 5008 copy_count = min_t(unsigned int, count, SCABUFSIZE); in tx_load_dma_buffer() 5013 load_pci_memory(info, desc_ex->virt_addr,buf,copy_count); in tx_load_dma_buffer() 5015 desc->length = copy_count; in tx_load_dma_buffer() 5018 buf += copy_count; in tx_load_dma_buffer() 5019 count -= copy_count; in tx_load_dma_buffer()
|
D | synclink.c | 6538 int copy_count = framesize; in mgsl_get_rx_frame() local 6545 while(copy_count) { in mgsl_get_rx_frame() 6547 if ( copy_count > DMABUFFERSIZE ) in mgsl_get_rx_frame() 6550 partial_count = copy_count; in mgsl_get_rx_frame() 6555 copy_count -= partial_count; in mgsl_get_rx_frame()
|
D | synclink_gt.c | 4706 int copy_count = framesize; in rx_get_frame() local 4713 while(copy_count) { in rx_get_frame() 4714 int partial_count = min_t(int, copy_count, info->rbuf_fill_level); in rx_get_frame() 4717 copy_count -= partial_count; in rx_get_frame()
|
/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 3951 size_t copy_count; in pqi_start_io() local 3993 copy_count = num_elements_to_end_of_queue * in pqi_start_io() 3995 memcpy(next_element, request, copy_count); in pqi_start_io() 3997 (u8 *)request + copy_count, in pqi_start_io() 3998 iu_length - copy_count); in pqi_start_io()
|