Searched refs:copy_count (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/edac/ |
D | edac_mc_sysfs.c | 243 size_t copy_count = count; in channel_dimm_label_store() local 249 copy_count -= 1; in channel_dimm_label_store() 251 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label)) in channel_dimm_label_store() 254 strncpy(rank->dimm->label, data, copy_count); in channel_dimm_label_store() 255 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()
|
/linux-4.4.14/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-4.4.14/drivers/misc/altera-stapl/ |
D | altera.c | 1703 s32 copy_count; in altera_execute() local 1715 copy_count = stack[--stack_ptr]; in altera_execute() 1729 if (copy_count > copy_index) { in altera_execute() 1732 src_count = 1 + copy_count - copy_index; in altera_execute() 1735 src_count = 1 + copy_index - copy_count; in altera_execute() 1737 copy_index = copy_count; in altera_execute() 1749 copy_count = (src_count < dest_count) ? in altera_execute() 1766 count = copy_count; in altera_execute()
|
/linux-4.4.14/drivers/tty/ |
D | synclinkmp.c | 4958 int copy_count = framesize; in rx_get_frame() local 4965 while(copy_count) { in rx_get_frame() 4966 int partial_count = min(copy_count,SCABUFSIZE); in rx_get_frame() 4971 copy_count -= partial_count; in rx_get_frame() 5010 unsigned short copy_count; in tx_load_dma_buffer() local 5023 copy_count = min_t(unsigned int, count, SCABUFSIZE); in tx_load_dma_buffer() 5028 load_pci_memory(info, desc_ex->virt_addr,buf,copy_count); in tx_load_dma_buffer() 5030 desc->length = copy_count; in tx_load_dma_buffer() 5033 buf += copy_count; in tx_load_dma_buffer() 5034 count -= copy_count; in tx_load_dma_buffer()
|
D | synclink.c | 6623 int copy_count = framesize; in mgsl_get_rx_frame() local 6630 while(copy_count) { in mgsl_get_rx_frame() 6632 if ( copy_count > DMABUFFERSIZE ) in mgsl_get_rx_frame() 6635 partial_count = copy_count; in mgsl_get_rx_frame() 6640 copy_count -= partial_count; in mgsl_get_rx_frame()
|
D | synclink_gt.c | 4742 int copy_count = framesize; in rx_get_frame() local 4749 while(copy_count) { in rx_get_frame() 4750 int partial_count = min_t(int, copy_count, info->rbuf_fill_level); in rx_get_frame() 4753 copy_count -= partial_count; in rx_get_frame()
|