Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | two_state_shared_lock.h | 45 } while (!atomic_long_try_cmpxchg_acquire(&lock->v, &old, old + i)); in bch2_two_state_trylock()
|
| /linux-6.15/kernel/locking/ |
| H A D | rwsem.c | 267 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, RWSEM_WRITER_LOCKED)) { in rwsem_write_trylock() 644 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock() 693 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued() 1284 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock()
|
| H A D | mutex.c | 112 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &owner, task | flags)) { in __mutex_trylock_common() 156 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
|
| /linux-6.15/include/linux/atomic/ |
| H A D | atomic-instrumented.h | 4454 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function
|
| /linux-6.15/arch/x86/kvm/mmu/ |
| H A D | mmu.c | 924 } while (!atomic_long_try_cmpxchg_acquire(&rmap_head->val, &old_val, new_val)); in __kvm_rmap_lock()
|