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

Function counter_u64_add

freebsd/arm64/include/counter.h:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78#define counter_u64_add_protected(c, inc) counter_u64_add(c, inc)
79
80static inline void
81counter_u64_add(counter_u64_t c, int64_t inc)
82{
83
84 atomic_add_64((uint64_t *)zpcpu_get(c), inc);
85}
86
87#endif /* ! _MACHINE_COUNTER_H_ */

Callers

nothing calls this directly

Calls 1

atomic_add_64Function · 0.50

Tested by

no test coverage detected