Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dlockref.c7 #define CMPXCHG_LOOP(__lock_ref, CODE, SUCCESS) … argument
12 … old.lock_count = READ_ONCE(__lock_ref->lock_count); \
17 … if (likely(arch_try_cmpxchg(&__lock_ref->lock_count, &old.lock_count, new.lock_count))) \
28 #define CMPXCHG_LOOP(__lock_ref, CODE, SUCCESS) \ argument