Searched refs:new_ptr (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/kernel/src/arch/x86_64/asm/ |
D | cmpxchg.rs | 3 fn __try_cmpxchg_q(ptr: *mut u64, old_ptr: *mut u64, new_ptr: *mut u64) -> bool; in __try_cmpxchg_q() 9 pub unsafe fn try_cmpxchg_q(ptr: *mut u64, old_ptr: *mut u64, new_ptr: *mut u64) -> bool { in try_cmpxchg_q() 10 let retval = __try_cmpxchg_q(ptr, old_ptr, new_ptr); in try_cmpxchg_q()
|
D | cmpxchg.c | 3 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-0.1.7/kernel/src/arch/x86_64/include/asm/ |
D | cmpxchg.h | 80 #define arch_try_cmpxchg(ptr, old_ptr, new_ptr) \ argument 81 __raw_try_cmpxchg((ptr), (old_ptr), (new_ptr), sizeof(*ptr)) 83 bool __try_cmpxchg_q(uint64_t *ptr, uint64_t *old_ptr, uint64_t *new_ptr);
|