Home
last modified time | relevance | path

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

/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()
1038 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
A Dip_tables.c383 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()
1190 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/net/ipv6/netfilter/
A Dip6_tables.c401 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()
1206 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/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.c1939 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()
/net/bridge/netfilter/
A Debtables.c1004 counter_base[i].pcnt); in get_counters()
1413 ADD_COUNTER(t->private->counters[i], tmp[i].bcnt, tmp[i].pcnt); in do_update_counters()

Completed in 49 milliseconds