Home
last modified time | relevance | path

Searched refs:pcnt (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/drivers/media/usb/pvrusb2/
A Dpvrusb2-eeprom.c41 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()
A Dpvrusb2-hdw.c3334 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local
3370 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch()
3371 pcnt = 16; in pvr2_full_eeprom_fetch()
3372 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch()
3380 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
/linux-6.3-rc2/tools/perf/util/
A Dtime-utils.c180 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-6.3-rc2/include/uapi/linux/netfilter/
A Dx_tables.h107 #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-6.3-rc2/drivers/ntb/test/
A Dntb_perf.c192 int pcnt; member
489 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_link_event()
678 mask = GENMASK_ULL(perf->pcnt, 0); in perf_init_service()
755 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service()
758 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service()
761 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_disable_service()
1214 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_dbgfs_read_info()
1298 if (pidx < 0 || pidx >= perf->pcnt) in perf_dbgfs_write_run()
1398 perf->pcnt = ntb_peer_port_count(ntb); in perf_create_data()
1445 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_init_peers()
[all …]
A Dntb_pingpong.c295 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-6.3-rc2/net/ipv4/netfilter/
A Darp_tables.c319 e->counters.pcnt = pos; in mark_source_chains()
345 pos = e->counters.pcnt; in mark_source_chains()
346 e->counters.pcnt = 0; in mark_source_chains()
360 e->counters.pcnt = pos; in mark_source_chains()
379 e->counters.pcnt = pos; in mark_source_chains()
613 u64 bcnt, pcnt; in get_counters() local
620 pcnt = tmp->pcnt; in get_counters()
623 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
642 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1034 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
A Dip_tables.c385 e->counters.pcnt = pos; in mark_source_chains()
409 pos = e->counters.pcnt; in mark_source_chains()
410 e->counters.pcnt = 0; in mark_source_chains()
424 e->counters.pcnt = pos; in mark_source_chains()
443 e->counters.pcnt = pos; in mark_source_chains()
754 u64 bcnt, pcnt; in get_counters() local
761 pcnt = tmp->pcnt; in get_counters()
764 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
783 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-6.3-rc2/include/linux/netfilter/
A Dx_tables.h436 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()
495 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_edif.c943 int32_t pcnt = 0; in qla_edif_app_getfcinfo() local
978 if (pcnt >= app_req.num_ports) in qla_edif_app_getfcinfo()
1003 app_reply->ports[pcnt].remote_type = in qla_edif_app_getfcinfo()
1042 pcnt++; in qla_edif_app_getfcinfo()
1047 app_reply->port_count = pcnt; in qla_edif_app_getfcinfo()
1076 uint32_t pcnt = 0; in qla_edif_app_getstats() local
1103 if (pcnt > app_req.num_ports) in qla_edif_app_getstats()
1108 app_reply->elem[pcnt].tx_bytes = in qla_edif_app_getstats()
1110 app_reply->elem[pcnt].rx_bytes = in qla_edif_app_getstats()
1116 pcnt++; in qla_edif_app_getstats()
[all …]
/linux-6.3-rc2/net/ipv6/netfilter/
A Dip6_tables.c403 e->counters.pcnt = pos; in mark_source_chains()
427 pos = e->counters.pcnt; in mark_source_chains()
428 e->counters.pcnt = 0; in mark_source_chains()
442 e->counters.pcnt = pos; in mark_source_chains()
461 e->counters.pcnt = pos; in mark_source_chains()
771 u64 bcnt, pcnt; in get_counters() local
778 pcnt = tmp->pcnt; in get_counters()
781 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
800 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-6.3-rc2/drivers/s390/net/
A Dqeth_core_sys.c121 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-report.c131 double pcnt = strtof(value, NULL); in report__config() local
133 rep->min_percent = pcnt; in report__config()
134 callchain_param.min_percent = pcnt; in report__config()
1148 double pcnt = strtof(str, NULL); in parse_percent_limit() local
1150 rep->min_percent = pcnt; in parse_percent_limit()
1151 callchain_param.min_percent = pcnt; in parse_percent_limit()
A Dbuiltin-annotate.c478 double pcnt = strtof(str, NULL); in parse_percent_limit() local
480 ann->min_percent = pcnt; in parse_percent_limit()
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A Dcvmx-npei-defs.h1562 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-6.3-rc2/include/uapi/linux/netfilter_bridge/
A Debtables.h40 __u64 pcnt; member
/linux-6.3-rc2/drivers/net/ethernet/pasemi/
A Dpasemi_mac.c628 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local
633 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr()
635 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr()
645 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local
648 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr()
650 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()
/linux-6.3-rc2/arch/s390/include/asm/
A Dqdio.h272 u8 pcnt; member
/linux-6.3-rc2/net/netfilter/
A Dnft_ct.c137 u64 avgcnt = 0, bcnt = 0, pcnt = 0; in nft_ct_get_eval() local
140 pcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval()
144 if (pcnt != 0) in nft_ct_get_eval()
145 avgcnt = div64_u64(bcnt, pcnt); in nft_ct_get_eval()
A Dx_tables.c1935 counter->pcnt = (__force unsigned long)(state->mem + state->off); in xt_percpu_counter_alloc()
1947 unsigned long pcnt = counters->pcnt; in xt_percpu_counter_free() local
1949 if (nr_cpu_ids > 1 && (pcnt & (XT_PCPU_BLOCK_SIZE - 1)) == 0) in xt_percpu_counter_free()
1950 free_percpu((void __percpu *)pcnt); in xt_percpu_counter_free()
/linux-6.3-rc2/drivers/gpu/drm/msm/dsi/phy/
A Ddsi_phy.c29 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument
39 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
42 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
/linux-6.3-rc2/net/bridge/netfilter/
A Debtables.c1004 counter_base[i].pcnt); in get_counters()
1411 ADD_COUNTER(t->private->counters[i], tmp[i].bcnt, tmp[i].pcnt); in do_update_counters()

Completed in 69 milliseconds