Lines Matching refs:mask
45 unsigned long mask = BIT_MASK(nr); in __change_bit() local
48 *p ^= mask; in __change_bit()
53 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
57 *p = old | mask; in __test_and_set_bit()
58 return (old & mask) != 0; in __test_and_set_bit()
75 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
79 *p = old & ~mask; in __test_and_clear_bit()
80 return (old & mask) != 0; in __test_and_clear_bit()
99 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
103 *p = old ^ mask; in __test_and_change_bit()
104 return (old & mask) != 0; in __test_and_change_bit()