Lines Matching defs:addr
19 * @addr: the address to start counting from
26 static inline void set_bit(long nr, volatile unsigned long *addr)
28 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long));
29 arch_set_bit(nr, addr);
35 * @addr: Address to start counting from
39 static inline void clear_bit(long nr, volatile unsigned long *addr)
41 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long));
42 arch_clear_bit(nr, addr);
48 * @addr: Address to start counting from
55 static inline void change_bit(long nr, volatile unsigned long *addr)
57 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long));
58 arch_change_bit(nr, addr);
64 * @addr: Address to count from
68 static inline bool test_and_set_bit(long nr, volatile unsigned long *addr)
70 instrument_atomic_read_write(addr + BIT_WORD(nr), sizeof(long));
71 return arch_test_and_set_bit(nr, addr);
77 * @addr: Address to count from
81 static inline bool test_and_clear_bit(long nr, volatile unsigned long *addr)
83 instrument_atomic_read_write(addr + BIT_WORD(nr), sizeof(long));
84 return arch_test_and_clear_bit(nr, addr);
90 * @addr: Address to count from
94 static inline bool test_and_change_bit(long nr, volatile unsigned long *addr)
96 instrument_atomic_read_write(addr + BIT_WORD(nr), sizeof(long));
97 return arch_test_and_change_bit(nr, addr);