Searched refs:copy_count (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/edac/ |
H A 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()
|
/openbmc/linux/drivers/net/xen-netback/ |
H A 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()
|
/openbmc/linux/fs/reiserfs/ |
H A 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()
|
/openbmc/linux/drivers/input/rmi4/ |
H A 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()
|
/openbmc/linux/drivers/misc/altera-stapl/ |
H A 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()
|
/openbmc/qemu/hw/display/ |
H A D | cirrus_vga.c | 815 int copy_count; in cirrus_bitblt_cputovideo_next() local 839 copy_count = MIN(s->cirrus_srcptr_end - end_ptr, CIRRUS_BLTBUFSIZE); in cirrus_bitblt_cputovideo_next() 840 memmove(s->cirrus_bltbuf, end_ptr, copy_count); in cirrus_bitblt_cputovideo_next() 841 s->cirrus_srcptr = s->cirrus_bltbuf + copy_count; in cirrus_bitblt_cputovideo_next()
|
/openbmc/linux/drivers/tty/ |
H A 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()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 4461 size_t copy_count; in pqi_start_io() local 4503 copy_count = num_elements_to_end_of_queue * in pqi_start_io() 4505 memcpy(next_element, request, copy_count); in pqi_start_io() 4507 (u8 *)request + copy_count, in pqi_start_io() 4508 iu_length - copy_count); in pqi_start_io()
|