Lines Matching full:addr

19  * @addr: the address to start counting from
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()
35 * @addr: the address to start counting from
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()
51 * @addr: the address to start counting from
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()
91 * @addr: Address to count from
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()
106 * @addr: Address to count from
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()
121 * @addr: Address to count from
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()
136 * @addr: Address to start counting from
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()
148 * @addr: Address to start counting from
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()