Home
last modified time | relevance | path

Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dtwo_state_shared_lock.h45 } while (!atomic_long_try_cmpxchg_acquire(&lock->v, &old, old + i)); in bch2_two_state_trylock()
/linux-6.15/kernel/locking/
H A Drwsem.c267 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 Dmutex.c112 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 Datomic-instrumented.h4454 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 Dmmu.c924 } while (!atomic_long_try_cmpxchg_acquire(&rmap_head->val, &old_val, new_val)); in __kvm_rmap_lock()