Lines Matching defs:addr
19 * @addr: the address to start counting from
25 static inline void __set_bit(long nr, volatile unsigned long *addr)
27 instrument_write(addr + BIT_WORD(nr), sizeof(long));
28 arch___set_bit(nr, addr);
34 * @addr: the address to start counting from
40 static inline void __clear_bit(long nr, volatile unsigned long *addr)
42 instrument_write(addr + BIT_WORD(nr), sizeof(long));
43 arch___clear_bit(nr, addr);
49 * @addr: the address to start counting from
55 static inline void __change_bit(long nr, volatile unsigned long *addr)
57 instrument_write(addr + BIT_WORD(nr), sizeof(long));
58 arch___change_bit(nr, addr);
61 static inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr)
74 kcsan_check_read(addr + BIT_WORD(nr), sizeof(long));
79 instrument_write(addr + BIT_WORD(nr), sizeof(long));
81 instrument_read_write(addr + BIT_WORD(nr), sizeof(long));
88 * @addr: Address to count from
93 static inline bool __test_and_set_bit(long nr, volatile unsigned long *addr)
95 __instrument_read_write_bitop(nr, addr);
96 return arch___test_and_set_bit(nr, addr);
102 * @addr: Address to count from
107 static inline bool __test_and_clear_bit(long nr, volatile unsigned long *addr)
109 __instrument_read_write_bitop(nr, addr);
110 return arch___test_and_clear_bit(nr, addr);
116 * @addr: Address to count from
121 static inline bool __test_and_change_bit(long nr, volatile unsigned long *addr)
123 __instrument_read_write_bitop(nr, addr);
124 return arch___test_and_change_bit(nr, addr);
130 * @addr: Address to start counting from
132 static inline bool test_bit(long nr, const volatile unsigned long *addr)
134 instrument_atomic_read(addr + BIT_WORD(nr), sizeof(long));
135 return arch_test_bit(nr, addr);