| /linux/drivers/media/usb/pvrusb2/ |
| H A 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()
|
| /linux/tools/perf/util/ |
| H A 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/include/uapi/linux/netfilter/ |
| H A 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/drivers/ntb/test/ |
| H A 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() 662 if (ntb_peer_mw_count(perf->ntb) < perf->pcnt) { in perf_init_service() 678 mask = GENMASK_ULL(perf->pcnt, 0); in perf_init_service() 679 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && 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() 1212 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_dbgfs_read_info() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_experimental.h | 645 int pcnt; in bpf_in_interrupt() local 647 pcnt = get_preempt_count(); in bpf_in_interrupt() 649 return pcnt & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_MASK); in bpf_in_interrupt() 652 return (pcnt & (NMI_MASK | HARDIRQ_MASK)) | in bpf_in_interrupt()
|
| /linux/include/linux/netfilter/ |
| H A D | x_tables.h | 426 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter() 435 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter() 485 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
|
| /linux/net/ipv4/netfilter/ |
| H A D | arp_tables.c | 319 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() 1038 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
| H A D | ip_tables.c | 383 e->counters.pcnt = pos; in mark_source_chains() 407 pos = e->counters.pcnt; in mark_source_chains() 408 e->counters.pcnt = 0; in mark_source_chains() 422 e->counters.pcnt = pos; in mark_source_chains() 441 e->counters.pcnt = pos; in mark_source_chains() 752 u64 bcnt, pcnt; in get_counters() local 759 pcnt = tmp->pcnt; in get_counters() 762 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 781 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() [all...] |
| /linux/net/ipv6/netfilter/ |
| H A D | ip6_tables.c | 401 e->counters.pcnt = pos; in mark_source_chains() 425 pos = e->counters.pcnt; in mark_source_chains() 426 e->counters.pcnt = 0; in mark_source_chains() 440 e->counters.pcnt = pos; in mark_source_chains() 459 e->counters.pcnt = pos; in mark_source_chains() 769 u64 bcnt, pcnt; in get_counters() local 776 pcnt = tmp->pcnt; in get_counters() 779 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 798 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() [all...] |
| /linux/arch/mips/include/asm/octeon/ |
| H A 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/tools/perf/ |
| H A D | builtin-report.c | 135 double pcnt = strtof(value, NULL); in report__config() local 137 rep->min_percent = pcnt; in report__config() 138 callchain_param.min_percent = pcnt; in report__config() 1267 double pcnt = strtof(str, NULL); in parse_percent_limit() local 1269 rep->min_percent = pcnt; in parse_percent_limit() 1270 callchain_param.min_percent = pcnt; in parse_percent_limit()
|
| H A D | builtin-annotate.c | 678 double pcnt = strtof(str, NULL); in parse_percent_limit() local 680 ann->min_percent = pcnt; in parse_percent_limit()
|
| /linux/tools/perf/tests/shell/lib/ |
| H A D | perf_metric_validation.py | 175 pcnt = 0 186 pcnt += 1 199 pcnt += 1
|
| /linux/include/uapi/linux/netfilter_bridge/ |
| H A D | ebtables.h | 40 __u64 pcnt; member
|
| /linux/drivers/net/ethernet/pasemi/ |
| H A D | pasemi_mac.c | 628 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/net/netfilter/ |
| H A D | nft_ct.c | 138 u64 avgcnt = 0, bcnt = 0, pcnt = 0; in nft_ct_get_eval() local 141 pcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval() 145 if (pcnt != 0) in nft_ct_get_eval() 146 avgcnt = div64_u64(bcnt, pcnt); in nft_ct_get_eval()
|
| H A D | x_tables.c | 1939 counter->pcnt = (__force unsigned long)(state->mem + state->off); in xt_percpu_counter_alloc() 1951 unsigned long pcnt = counters->pcnt; in xt_percpu_counter_free() local 1953 if (nr_cpu_ids > 1 && (pcnt & (XT_PCPU_BLOCK_SIZE - 1)) == 0) in xt_percpu_counter_free() 1954 free_percpu((void __percpu *)pcnt); in xt_percpu_counter_free()
|
| /linux/arch/s390/include/asm/ |
| H A D | qdio.h | 273 u8 pcnt; member
|
| /linux/drivers/gpu/drm/msm/dsi/phy/ |
| H A D | dsi_phy.c | 31 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument 41 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero() 44 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-stat.txt | 656 - pcnt-running : percentage of time the event was running
|