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

Function refcount_init

freebsd/sys/refcount.h:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61static __inline void
62refcount_init(volatile u_int *count, u_int value)
63{
64 KASSERT(!REFCOUNT_SATURATED(value),
65 ("invalid initial refcount value %u", value));
66 atomic_store_int(count, value);
67}
68
69static __inline u_int
70refcount_load(volatile u_int *count)

Callers 15

taskq_dispatch_delayFunction · 0.85
taskq_dispatchFunction · 0.85
pf_state_insertFunction · 0.85
in_pcballocFunction · 0.85
tcp_log_set_idFunction · 0.85
sglist_initFunction · 0.85
nd6_dad_startFunction · 0.85
defrtrlist_updateFunction · 0.85
nd6_prelist_addFunction · 0.85
vn_sendfileFunction · 0.85
rctl_rule_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected