Lines Matching full:old
10 * test_and_set_bit_lock - Set a bit and return its old value, for lock
21 long old; in test_and_set_bit_lock() local
28 old = atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p); in test_and_set_bit_lock()
29 return !!(old & mask); in test_and_set_bit_lock()
60 unsigned long old; in __clear_bit_unlock() local
63 old = READ_ONCE(*p); in __clear_bit_unlock()
64 old &= ~BIT_MASK(nr); in __clear_bit_unlock()
65 atomic_long_set_release((atomic_long_t *)p, old); in __clear_bit_unlock()
81 long old; in clear_bit_unlock_is_negative_byte() local
85 old = atomic_long_fetch_andnot_release(mask, (atomic_long_t *)p); in clear_bit_unlock_is_negative_byte()
86 return !!(old & BIT(7)); in clear_bit_unlock_is_negative_byte()