Searched refs:atomic_long_try_cmpxchg_acquire (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/kernel/locking/ |
| H A D | rwsem.c | 588 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock() 634 if (atomic_long_try_cmpxchg_acquire(&sem->count, &count, in rwsem_try_write_lock_unqueued() 1404 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_read_trylock() 1421 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write() 1434 if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_killable() 1452 if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, in __down_write_trylock()
|
| H A D | mutex.c | 173 if (atomic_long_try_cmpxchg_acquire(&lock->owner, &zero, curr)) { in __mutex_trylock_fast()
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | atomic-long.h | 441 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function 935 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in atomic_long_try_cmpxchg_acquire() function
|