Searched refs:cmpxchg_acq (Results 1 – 5 of 5) sorted by relevance
/arch/ia64/include/asm/ |
D | rwsem.h | 60 } while (cmpxchg_acq(&sem->count, old, new) != old); in __down_write() 103 if (tmp == cmpxchg_acq(&sem->count, tmp, tmp+1)) { in __down_read_trylock() 116 long tmp = cmpxchg_acq(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
|
D | bitops.h | 51 } while (cmpxchg_acq(m, old, new) != old); in set_bit() 92 } while (cmpxchg_acq(m, old, new) != old); in clear_bit() 173 } while (cmpxchg_acq(m, old, new) != old); in change_bit() 212 } while (cmpxchg_acq(m, old, new) != old); in test_and_set_bit() 266 } while (cmpxchg_acq(m, old, new) != old); in test_and_clear_bit() 311 } while (cmpxchg_acq(m, old, new) != old); in test_and_change_bit()
|
D | mutex.h | 85 if (cmpxchg_acq(count, 1, 0) == 1) in __mutex_fastpath_trylock()
|
/arch/ia64/include/uapi/asm/ |
D | cmpxchg.h | 114 #define cmpxchg_acq(ptr, o, n) \ macro 129 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) 130 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n))
|
/arch/ia64/kernel/ |
D | traps.c | 321 (void) cmpxchg_acq(&last.count, count, 16 + (count & ~15)); in handle_fpu_swa()
|