Lines Matching refs:mask
67 unsigned long mask = BIT_MASK(nr); in set_bit() local
72 *p |= mask; in set_bit()
88 unsigned long mask = BIT_MASK(nr); in clear_bit() local
93 *p &= ~mask; in clear_bit()
109 unsigned long mask = BIT_MASK(nr); in change_bit() local
114 *p ^= mask; in change_bit()
129 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() local
136 *p = old | mask; in test_and_set_bit()
139 return (old & mask) != 0; in test_and_set_bit()
153 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() local
160 *p = old & ~mask; in test_and_clear_bit()
163 return (old & mask) != 0; in test_and_clear_bit()
176 unsigned long mask = BIT_MASK(nr); in test_and_change_bit() local
183 *p = old ^ mask; in test_and_change_bit()
186 return (old & mask) != 0; in test_and_change_bit()