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

Function alloc_unr64

freebsd/sys/systm.h:607–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605uint64_t alloc_unr64(struct unrhdr64 *);
606#else
607static __inline uint64_t
608alloc_unr64(struct unrhdr64 *unr64)
609{
610
611 return (atomic_fetchadd_64(&unr64->counter, 1));
612}
613#endif
614
615void intr_prof_stack_use(struct thread *td, struct trapframe *frame);

Callers

nothing calls this directly

Calls 1

atomic_fetchadd_64Function · 0.50

Tested by

no test coverage detected