Searched refs:atomic_try_cmpxchg_acquire (Results 1 - 6 of 6) sorted by relevance
/linux-master/kernel/locking/ |
H A D | qrwlock.c | 77 atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)) 86 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED));
|
H A D | rwbase_rt.c | 62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1))) 188 * with atomic_try_cmpxchg_acquire() in rwbase_read_trylock().
|
/linux-master/include/asm-generic/ |
H A D | qspinlock.h | 97 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); 111 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)))
|
H A D | qrwlock.h | 71 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, 98 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)))
|
/linux-master/fs/bcachefs/ |
H A D | six.c | 192 } while (!atomic_try_cmpxchg_acquire(&lock->state, &old, old + l[type].lock_val)); 664 } while (!atomic_try_cmpxchg_acquire(&lock->state, &old, new));
|
/linux-master/include/linux/atomic/ |
H A D | atomic-instrumented.h | 1284 * atomic_try_cmpxchg_acquire() - atomic compare and exchange with acquire ordering 1298 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) function
|
Completed in 153 milliseconds