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

Function critical_enter

freebsd/sys/systm.h:282–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280#define critical_exit() critical_exit_KBI()
281#else
282static __inline void
283critical_enter(void)
284{
285#ifndef FSTACK
286 struct thread_lite *td;
287
288 td = (struct thread_lite *)curthread;
289 td->td_critnest++;
290 atomic_interrupt_fence();
291#endif
292}
293
294static __inline void
295critical_exit(void)

Callers 15

smr_enterFunction · 0.70
smr_lazy_enterFunction · 0.70
seqc_write_beginFunction · 0.70
buf_ring_enqueueFunction · 0.70
buf_ring_dequeue_mcFunction · 0.70
pciereg_cfgreadFunction · 0.50
pciereg_cfgwriteFunction · 0.50
set_fsbaseFunction · 0.50
set_gsbaseFunction · 0.50
i386_extend_pcbFunction · 0.50
pmap_pte_ufastFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected