Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dpfvar.h98 pf_counter_u64_init(struct pf_counter_u64 *pfcu64, int flags) in pf_counter_u64_init() argument
101 pfcu64->pfcu64_value = 0; in pf_counter_u64_init()
102 pfcu64->pfcu64_seqc = 0; in pf_counter_u64_init()
103 pfcu64->pfcu64_pcpu = uma_zalloc_pcpu(pcpu_zone_8, flags | M_ZERO); in pf_counter_u64_init()
104 if (__predict_false(pfcu64->pfcu64_pcpu == NULL)) in pf_counter_u64_init()
110 pf_counter_u64_deinit(struct pf_counter_u64 *pfcu64) in pf_counter_u64_deinit() argument
113 uma_zfree_pcpu(pcpu_zone_8, pfcu64->pfcu64_pcpu); in pf_counter_u64_deinit()
131 pf_counter_u64_rollup_protected(struct pf_counter_u64 *pfcu64, uint64_t n) in pf_counter_u64_rollup_protected() argument
135 pfcu64->pfcu64_value += n; in pf_counter_u64_rollup_protected()
139 pf_counter_u64_add_protected(struct pf_counter_u64 *pfcu64, uint32_t n) in pf_counter_u64_add_protected() argument
[all …]