Home
last modified time | relevance | path

Searched refs:copy_count (Results 1 – 6 of 6) sorted by relevance

/drivers/edac/
Dedac_mc_sysfs.c221 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()
/drivers/net/xen-netback/
Dnetback.c331 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()
/drivers/input/rmi4/
Drmi_f34.c465 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/
Daltera.c1689 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/
Dsynclink_gt.c4639 int copy_count = framesize; in rx_get_frame() local
4646 while(copy_count) { in rx_get_frame()
4647 int partial_count = min_t(int, copy_count, info->rbuf_fill_level); in rx_get_frame()
4650 copy_count -= partial_count; in rx_get_frame()
/drivers/scsi/smartpqi/
Dsmartpqi_init.c4212 size_t copy_count; in pqi_start_io() local
4254 copy_count = num_elements_to_end_of_queue * in pqi_start_io()
4256 memcpy(next_element, request, copy_count); in pqi_start_io()
4258 (u8 *)request + copy_count, in pqi_start_io()
4259 iu_length - copy_count); in pqi_start_io()