Lines Matching refs:addr
26 static inline void set_bit(long nr, volatile unsigned long *addr) in set_bit() argument
28 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in set_bit()
29 arch_set_bit(nr, addr); in set_bit()
39 static inline void clear_bit(long nr, volatile unsigned long *addr) in clear_bit() argument
41 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in clear_bit()
42 arch_clear_bit(nr, addr); in clear_bit()
55 static inline void change_bit(long nr, volatile unsigned long *addr) in change_bit() argument
57 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in change_bit()
58 arch_change_bit(nr, addr); in change_bit()
68 static inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() argument
70 instrument_atomic_read_write(addr + BIT_WORD(nr), sizeof(long)); in test_and_set_bit()
71 return arch_test_and_set_bit(nr, addr); in test_and_set_bit()
81 static inline bool test_and_clear_bit(long nr, volatile unsigned long *addr) in test_and_clear_bit() argument
83 instrument_atomic_read_write(addr + BIT_WORD(nr), sizeof(long)); in test_and_clear_bit()
84 return arch_test_and_clear_bit(nr, addr); in test_and_clear_bit()
94 static inline bool test_and_change_bit(long nr, volatile unsigned long *addr) in test_and_change_bit() argument
96 instrument_atomic_read_write(addr + BIT_WORD(nr), sizeof(long)); in test_and_change_bit()
97 return arch_test_and_change_bit(nr, addr); in test_and_change_bit()