Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/locking/
Drwsem.c260 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, RWSEM_WRITER_LOCKED)) { in rwsem_write_trylock()
646 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock()
695 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued()
1286 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock()
Dmutex.c129 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &owner, task | flags)) { in __mutex_trylock_common()
171 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) in __mutex_trylock_fast()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h4420 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function