Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/arch/x86_64/include/asm/
Dcmpxchg.h80 #define arch_try_cmpxchg(ptr, old_ptr, new_ptr) \ macro
/DragonOS-0.1.2/kernel/src/libs/
Dlockref.c17 … if (likely(arch_try_cmpxchg(&__lock_ref->lock_count, &old.lock_count, new.lock_count))) \