Lines Matching refs:mask
30 unsigned long mask = BIT_MASK(nr); in __set_bit() local
33 *p |= mask; in __set_bit()
48 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
51 *p &= ~mask; in __clear_bit()
75 unsigned long mask = BIT_MASK(nr); in __change_bit() local
78 *p ^= mask; in __change_bit()
93 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
97 *p = old | mask; in __test_and_set_bit()
98 return (old & mask) != 0; in __test_and_set_bit()
112 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
116 *p = old & ~mask; in __test_and_clear_bit()
117 return (old & mask) != 0; in __test_and_clear_bit()
124 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
128 *p = old ^ mask; in __test_and_change_bit()
129 return (old & mask) != 0; in __test_and_change_bit()