/Linux-v5.10/drivers/mtd/maps/ |
D | pmcmsp-flash.c | 57 int pcnt; in init_msp_flash() local 95 for (pcnt = 0; (env = prom_getenv(part_name)); pcnt++) in init_msp_flash() 96 part_name[7] = '0' + pcnt + 1; in init_msp_flash() 98 if (pcnt == 0) { in init_msp_flash() 104 msp_parts[i] = kcalloc(pcnt, sizeof(struct mtd_partition), in init_msp_flash() 149 for (j = 0; j < pcnt; j++) { in init_msp_flash() 174 mtd_device_register(msp_flash[i], msp_parts[i], pcnt); in init_msp_flash()
|
/Linux-v5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local 77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 78 pcnt = 16; in pvr2_eeprom_fetch() 79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 87 msg[1].len = pcnt; in pvr2_eeprom_fetch()
|
D | pvrusb2-hdw.c | 3330 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3366 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3367 pcnt = 16; in pvr2_full_eeprom_fetch() 3368 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3376 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
|
/Linux-v5.10/drivers/staging/kpc2000/kpc_dma/ |
D | fileops.c | 46 unsigned int pcnt; in kpc_dma_transfer() local 130 pcnt = count_parts_for_sge(sg); in kpc_dma_transfer() 131 for (p = 0 ; p < pcnt ; p++) { in kpc_dma_transfer() 135 if (p != pcnt - 1) in kpc_dma_transfer() 145 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer() 157 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer() 163 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
|
/Linux-v5.10/tools/perf/util/ |
D | time-utils.c | 180 static int parse_percent(double *pcnt, char *str) in parse_percent() argument 195 *pcnt = d / 100.0; in parse_percent() 222 double pcnt, start_pcnt, end_pcnt; in percent_slash_split() local 236 if (parse_percent(&pcnt, str) < 0) in percent_slash_split() 244 if (pcnt <= 0.0) in percent_slash_split() 247 start_pcnt = pcnt * (i - 1); in percent_slash_split() 248 end_pcnt = pcnt * i; in percent_slash_split()
|
/Linux-v5.10/include/uapi/linux/netfilter/ |
D | x_tables.h | 107 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 111 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/Linux-v5.10/drivers/ntb/test/ |
D | ntb_perf.c | 192 int pcnt; member 318 for (*pidx = 0; *pidx < perf->pcnt; (*pidx)++) { in perf_spad_cmd_recv() 489 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_link_event() 661 if (ntb_peer_mw_count(perf->ntb) < perf->pcnt) { in perf_init_service() 677 mask = GENMASK_ULL(perf->pcnt, 0); in perf_init_service() 678 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && in perf_init_service() 754 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service() 757 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service() 760 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_disable_service() 1213 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_dbgfs_read_info() [all …]
|
D | ntb_pingpong.c | 295 int pidx, lport, pcnt; in pp_init_flds() local 299 pcnt = ntb_peer_port_count(pp->ntb); in pp_init_flds() 300 for (pidx = 0; pidx < pcnt; pidx++) { in pp_init_flds() 307 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds()
|
/Linux-v5.10/include/linux/netfilter/ |
D | x_tables.h | 435 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter() 444 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter() 494 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/Linux-v5.10/net/ipv4/netfilter/ |
D | arp_tables.c | 318 e->counters.pcnt = pos; in mark_source_chains() 344 pos = e->counters.pcnt; in mark_source_chains() 345 e->counters.pcnt = 0; in mark_source_chains() 359 e->counters.pcnt = pos; in mark_source_chains() 378 e->counters.pcnt = pos; in mark_source_chains() 612 u64 bcnt, pcnt; in get_counters() local 619 pcnt = tmp->pcnt; in get_counters() 622 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 641 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1033 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
D | ip_tables.c | 384 e->counters.pcnt = pos; in mark_source_chains() 408 pos = e->counters.pcnt; in mark_source_chains() 409 e->counters.pcnt = 0; in mark_source_chains() 423 e->counters.pcnt = pos; in mark_source_chains() 442 e->counters.pcnt = pos; in mark_source_chains() 753 u64 bcnt, pcnt; in get_counters() local 760 pcnt = tmp->pcnt; in get_counters() 763 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 782 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1188 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/Linux-v5.10/net/ipv6/netfilter/ |
D | ip6_tables.c | 402 e->counters.pcnt = pos; in mark_source_chains() 426 pos = e->counters.pcnt; in mark_source_chains() 427 e->counters.pcnt = 0; in mark_source_chains() 441 e->counters.pcnt = pos; in mark_source_chains() 460 e->counters.pcnt = pos; in mark_source_chains() 770 u64 bcnt, pcnt; in get_counters() local 777 pcnt = tmp->pcnt; in get_counters() 780 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 799 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1204 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/Linux-v5.10/tools/perf/ |
D | builtin-report.c | 119 double pcnt = strtof(value, NULL); in report__config() local 121 rep->min_percent = pcnt; in report__config() 122 callchain_param.min_percent = pcnt; in report__config() 1073 double pcnt = strtof(str, NULL); in parse_percent_limit() local 1075 rep->min_percent = pcnt; in parse_percent_limit() 1076 callchain_param.min_percent = pcnt; in parse_percent_limit()
|
/Linux-v5.10/arch/mips/include/asm/octeon/ |
D | cvmx-npei-defs.h | 1562 uint64_t pcnt:1; member 1598 uint64_t pcnt:1; 1695 uint64_t pcnt:1; member 1731 uint64_t pcnt:1; 1827 uint64_t pcnt:1; member 1863 uint64_t pcnt:1; 1962 uint64_t pcnt:1; member 1998 uint64_t pcnt:1; 2093 uint64_t pcnt:1; member 2129 uint64_t pcnt:1; [all …]
|
/Linux-v5.10/drivers/s390/net/ |
D | qeth_core_sys.c | 121 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
|
/Linux-v5.10/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 40 __u64 pcnt; member
|
/Linux-v5.10/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 629 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local 634 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr() 636 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr() 646 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local 649 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr() 651 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()
|
/Linux-v5.10/arch/s390/include/asm/ |
D | qdio.h | 292 u8 pcnt; member
|
/Linux-v5.10/net/netfilter/ |
D | nft_ct.c | 145 u64 avgcnt = 0, bcnt = 0, pcnt = 0; in nft_ct_get_eval() local 148 pcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval() 152 if (pcnt != 0) in nft_ct_get_eval() 153 avgcnt = div64_u64(bcnt, pcnt); in nft_ct_get_eval()
|
D | x_tables.c | 1825 counter->pcnt = (__force unsigned long)(state->mem + state->off); in xt_percpu_counter_alloc() 1837 unsigned long pcnt = counters->pcnt; in xt_percpu_counter_free() local 1839 if (nr_cpu_ids > 1 && (pcnt & (XT_PCPU_BLOCK_SIZE - 1)) == 0) in xt_percpu_counter_free() 1840 free_percpu((void __percpu *)pcnt); in xt_percpu_counter_free()
|
/Linux-v5.10/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 27 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument 37 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero() 40 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
|
/Linux-v5.10/net/bridge/netfilter/ |
D | ebtables.c | 963 counter_base[i].pcnt); in get_counters() 1277 ADD_COUNTER(t->private->counters[i], tmp[i].bcnt, tmp[i].pcnt); in do_update_counters()
|