Lines Matching refs:addr
26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() argument
28 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in ___set_bit()
29 arch___set_bit(nr, addr); in ___set_bit()
42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() argument
44 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in ___clear_bit()
45 arch___clear_bit(nr, addr); in ___clear_bit()
58 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() argument
60 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in ___change_bit()
61 arch___change_bit(nr, addr); in ___change_bit()
64 static __always_inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop() argument
77 kcsan_check_read(addr + BIT_WORD(nr), sizeof(long)); in __instrument_read_write_bitop()
82 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in __instrument_read_write_bitop()
84 instrument_read_write(addr + BIT_WORD(nr), sizeof(long)); in __instrument_read_write_bitop()
97 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit() argument
99 __instrument_read_write_bitop(nr, addr); in ___test_and_set_bit()
100 return arch___test_and_set_bit(nr, addr); in ___test_and_set_bit()
112 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit() argument
114 __instrument_read_write_bitop(nr, addr); in ___test_and_clear_bit()
115 return arch___test_and_clear_bit(nr, addr); in ___test_and_clear_bit()
127 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit() argument
129 __instrument_read_write_bitop(nr, addr); in ___test_and_change_bit()
130 return arch___test_and_change_bit(nr, addr); in ___test_and_change_bit()
139 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit() argument
141 instrument_atomic_read(addr + BIT_WORD(nr), sizeof(long)); in _test_bit()
142 return arch_test_bit(nr, addr); in _test_bit()
151 _test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in _test_bit_acquire() argument
153 instrument_atomic_read(addr + BIT_WORD(nr), sizeof(long)); in _test_bit_acquire()
154 return arch_test_bit_acquire(nr, addr); in _test_bit_acquire()