Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/asm/
H A Dcmpxchg.c3 bool __try_cmpxchg_q(uint64_t *ptr, uint64_t *old_ptr, uint64_t *new_ptr) in __try_cmpxchg_q() argument
5 bool success = __raw_try_cmpxchg(ptr, old_ptr, *new_ptr, 8); in __try_cmpxchg_q()
/DragonOS/kernel/src/arch/x86_64/include/asm/
H A Dcmpxchg.h80 #define arch_try_cmpxchg(ptr, old_ptr, new) \ argument
81 __raw_try_cmpxchg((ptr), (old_ptr), (new), sizeof(*ptr))
83 bool __try_cmpxchg_q(uint64_t *ptr, uint64_t *old_ptr, uint64_t *new_ptr);