Lines Matching refs:mask
18 unsigned long mask = BIT_MASK(nr); in __set_bit() local
21 *p |= mask; in __set_bit()
26 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
29 *p &= ~mask; in __clear_bit()
43 unsigned long mask = BIT_MASK(nr); in __change_bit() local
46 *p ^= mask; in __change_bit()
60 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
64 *p = old | mask; in __test_and_set_bit()
65 return (old & mask) != 0; in __test_and_set_bit()
79 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
83 *p = old & ~mask; in __test_and_clear_bit()
84 return (old & mask) != 0; in __test_and_clear_bit()
91 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
95 *p = old ^ mask; in __test_and_change_bit()
96 return (old & mask) != 0; in __test_and_change_bit()