Lines Matching refs:nr
18 static inline int test_and_set_bit_lock(unsigned int nr, in test_and_set_bit_lock() argument
22 unsigned long mask = BIT_MASK(nr); in test_and_set_bit_lock()
24 p += BIT_WORD(nr); in test_and_set_bit_lock()
40 static inline void clear_bit_unlock(unsigned int nr, volatile unsigned long *p) in clear_bit_unlock() argument
42 p += BIT_WORD(nr); in clear_bit_unlock()
43 atomic_long_fetch_andnot_release(BIT_MASK(nr), (atomic_long_t *)p); in clear_bit_unlock()
57 static inline void __clear_bit_unlock(unsigned int nr, in __clear_bit_unlock() argument
62 p += BIT_WORD(nr); in __clear_bit_unlock()
64 old &= ~BIT_MASK(nr); in __clear_bit_unlock()
78 static inline bool clear_bit_unlock_is_negative_byte(unsigned int nr, in clear_bit_unlock_is_negative_byte() argument
82 unsigned long mask = BIT_MASK(nr); in clear_bit_unlock_is_negative_byte()
84 p += BIT_WORD(nr); in clear_bit_unlock_is_negative_byte()