/Linux-v4.19/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-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 51 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local 88 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 89 pcnt = 16; in pvr2_eeprom_fetch() 90 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 98 msg[1].len = pcnt; in pvr2_eeprom_fetch()
|
D | pvrusb2-hdw.c | 3320 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3357 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3358 pcnt = 16; in pvr2_full_eeprom_fetch() 3359 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3367 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
|
/Linux-v4.19/tools/perf/util/ |
D | time-utils.c | 117 static int parse_percent(double *pcnt, char *str) in parse_percent() argument 132 *pcnt = d / 100.0; in parse_percent() 140 double pcnt, start_pcnt, end_pcnt; in percent_slash_split() local 155 if (parse_percent(&pcnt, str) < 0) in percent_slash_split() 163 if (pcnt <= 0.0) in percent_slash_split() 166 start_pcnt = pcnt * (i - 1); in percent_slash_split() 167 end_pcnt = pcnt * i; in percent_slash_split()
|
/Linux-v4.19/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-v4.19/drivers/ntb/test/ |
D | ntb_perf.c | 189 int pcnt; member 317 for (*pidx = 0; *pidx < perf->pcnt; (*pidx)++) { in perf_spad_cmd_recv() 489 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_link_event() 658 if (ntb_peer_mw_count(perf->ntb) < perf->pcnt + 1) { in perf_init_service() 674 mask = GENMASK_ULL(perf->pcnt, 0); in perf_init_service() 675 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && in perf_init_service() 753 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service() 756 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service() 1177 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_dbgfs_read_info() 1258 if (pidx < 0 || pidx >= perf->pcnt) in perf_dbgfs_write_run() [all …]
|
D | ntb_pingpong.c | 296 int pidx, lport, pcnt; in pp_init_flds() local 300 pcnt = ntb_peer_port_count(pp->ntb); in pp_init_flds() 301 for (pidx = 0; pidx < pcnt; pidx++) { in pp_init_flds() 308 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds()
|
/Linux-v4.19/include/linux/netfilter/ |
D | x_tables.h | 436 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter() 445 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter() 492 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | arp_tables.c | 317 e->counters.pcnt = pos; in mark_source_chains() 343 pos = e->counters.pcnt; in mark_source_chains() 344 e->counters.pcnt = 0; in mark_source_chains() 358 e->counters.pcnt = pos; in mark_source_chains() 377 e->counters.pcnt = pos; in mark_source_chains() 606 u64 bcnt, pcnt; in get_counters() local 613 pcnt = tmp->pcnt; in get_counters() 616 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 635 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1030 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
D | ip_tables.c | 387 e->counters.pcnt = pos; in mark_source_chains() 411 pos = e->counters.pcnt; in mark_source_chains() 412 e->counters.pcnt = 0; in mark_source_chains() 426 e->counters.pcnt = pos; in mark_source_chains() 445 e->counters.pcnt = pos; in mark_source_chains() 756 u64 bcnt, pcnt; in get_counters() local 763 pcnt = tmp->pcnt; in get_counters() 766 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 785 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1193 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6_tables.c | 405 e->counters.pcnt = pos; in mark_source_chains() 429 pos = e->counters.pcnt; in mark_source_chains() 430 e->counters.pcnt = 0; in mark_source_chains() 444 e->counters.pcnt = pos; in mark_source_chains() 463 e->counters.pcnt = pos; in mark_source_chains() 773 u64 bcnt, pcnt; in get_counters() local 780 pcnt = tmp->pcnt; in get_counters() 783 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 802 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1209 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/Linux-v4.19/tools/perf/ |
D | builtin-report.c | 99 double pcnt = strtof(value, NULL); in report__config() local 101 rep->min_percent = pcnt; in report__config() 102 callchain_param.min_percent = pcnt; in report__config() 943 double pcnt = strtof(str, NULL); in parse_percent_limit() local 945 rep->min_percent = pcnt; in parse_percent_limit() 946 callchain_param.min_percent = pcnt; in parse_percent_limit()
|
/Linux-v4.19/net/netfilter/ |
D | nft_ct.c | 147 u64 avgcnt = 0, bcnt = 0, pcnt = 0; in nft_ct_get_eval() local 150 pcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval() 154 if (pcnt != 0) in nft_ct_get_eval() 155 avgcnt = div64_u64(bcnt, pcnt); in nft_ct_get_eval()
|
D | x_tables.c | 1852 counter->pcnt = (__force unsigned long)(state->mem + state->off); in xt_percpu_counter_alloc() 1864 unsigned long pcnt = counters->pcnt; in xt_percpu_counter_free() local 1866 if (nr_cpu_ids > 1 && (pcnt & (XT_PCPU_BLOCK_SIZE - 1)) == 0) in xt_percpu_counter_free() 1867 free_percpu((void __percpu *)pcnt); in xt_percpu_counter_free()
|
/Linux-v4.19/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 40 __u64 pcnt; member
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-npei-defs.h | 1639 uint64_t pcnt:1; member 1675 uint64_t pcnt:1; 1773 uint64_t pcnt:1; member 1809 uint64_t pcnt:1; 1906 uint64_t pcnt:1; member 1942 uint64_t pcnt:1; 2041 uint64_t pcnt:1; member 2077 uint64_t pcnt:1; 2173 uint64_t pcnt:1; member 2209 uint64_t pcnt:1; [all …]
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_core_sys.c | 141 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
|
/Linux-v4.19/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 640 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local 645 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr() 647 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr() 657 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local 660 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr() 662 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | qdio.h | 294 u8 pcnt; member
|
/Linux-v4.19/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 35 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument 45 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero() 48 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebtables.c | 1000 ADD_COUNTER(counters[i], counter_base[i].pcnt, in get_counters() 1336 ADD_COUNTER(t->private->counters[i], tmp[i].pcnt, tmp[i].bcnt); in do_update_counters()
|