Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
A Dbpf_arena_spin_lock.h220 } while (!atomic_try_cmpxchg_acquire(&lock->val, &old, new)); in arena_fetch_set_pending_acquire()
240 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in arena_spin_trylock()
501 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) in arena_spin_lock()
/tools/testing/selftests/bpf/
A Dbpf_atomic.h137 #define atomic_try_cmpxchg_acquire(p, pold, new) \ macro

Completed in 5 milliseconds