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

Function counter_u64_read_one

freebsd/arm/include/counter.h:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#ifdef IN_SUBR_COUNTER_C
43
44static inline uint64_t
45counter_u64_read_one(uint64_t *p, int cpu)
46{
47
48 return (atomic_load_64((uint64_t *)((char *)p + UMA_PCPU_ALLOC_SIZE *
49 cpu)));
50}
51
52static inline uint64_t
53counter_u64_fetch_inline(uint64_t *p)

Callers 1

counter_u64_fetch_inlineFunction · 0.70

Calls 1

atomic_load_64Function · 0.70

Tested by

no test coverage detected