Home
last modified time | relevance | path

Searched refs:READ_ONCE (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.5/kernel/src/common/
Dspinlock.h149 int x = READ_ONCE(lock->lock); in spin_is_locked()
Dcompiler.h122 #define READ_ONCE(x) \ macro
/DragonOS-0.1.5/kernel/src/sched/
Dcompletion.c153 if (!READ_ONCE(x->done)) in try_wait_for_completion()
178 if (!READ_ONCE(x->done)) in completion_done()
184 if (!READ_ONCE(x->done)) in completion_done()
/DragonOS-0.1.5/kernel/src/libs/
Dlockref.c12 … old.lock_count = READ_ONCE(__lock_ref->lock_count); \