MCPcopy Create free account
hub / github.com/F-Stack/f-stack / counter_u64_add

Function counter_u64_add

freebsd/arm/include/counter.h:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82#define counter_u64_add_protected(c, inc) counter_u64_add(c, inc)
83
84static inline void
85counter_u64_add(counter_u64_t c, int64_t inc)
86{
87
88 atomic_add_64((uint64_t *)zpcpu_get(c), inc);
89}
90
91#endif /* ! __MACHINE_COUNTER_H__ */

Callers 15

pf_normalize_ipFunction · 0.50
pf_normalize_ip6Function · 0.50
pf_normalize_tcpFunction · 0.50
pf_match_translationFunction · 0.50
pfr_match_addrFunction · 0.50
pfr_update_statsFunction · 0.50
pfr_pool_getFunction · 0.50
pfsync_state_importFunction · 0.50
pf_src_connlimitFunction · 0.50
pf_overload_taskFunction · 0.50
pf_find_src_nodeFunction · 0.50
pf_insert_src_nodeFunction · 0.50

Calls 1

atomic_add_64Function · 0.70

Tested by

no test coverage detected