Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Drwsem.c268 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, RWSEM_WRITER_LOCKED)) { in rwsem_write_trylock()
645 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock()
694 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued()
1297 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock()
H A Dmutex.c113 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &owner, task | flags)) { in __mutex_trylock_common()
157 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
/linux/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/arch/x86/kvm/mmu/
H A Dmmu.c929 } while (!atomic_long_try_cmpxchg_acquire(&rmap_head->val, &old_val, new_val)); in __kvm_rmap_lock()