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

Function seqc_write_begin

freebsd/sys/seqc.h:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55})
56
57static __inline void
58seqc_write_begin(seqc_t *seqcp)
59{
60
61 critical_enter();
62 MPASS(!seqc_in_modify(*seqcp));
63 *seqcp += 1;
64 atomic_thread_fence_rel();
65}
66
67static __inline void
68seqc_write_end(seqc_t *seqcp)

Callers 7

kern_cap_rights_limitFunction · 0.85
kern_cap_ioctls_limitFunction · 0.85
sys_cap_fcntls_limitFunction · 0.85
fdfreeFunction · 0.85
kern_dupFunction · 0.85
_finstallFunction · 0.85
dupfdopenFunction · 0.85

Calls 2

critical_enterFunction · 0.70
atomic_thread_fence_relFunction · 0.50

Tested by

no test coverage detected