Lines Matching refs:mask
19 unsigned long mask = BIT_MASK(nr); in ___set_bit() local
22 *p |= mask; in ___set_bit()
28 unsigned long mask = BIT_MASK(nr); in ___clear_bit() local
31 *p &= ~mask; in ___clear_bit()
46 unsigned long mask = BIT_MASK(nr); in ___change_bit() local
49 *p ^= mask; in ___change_bit()
64 unsigned long mask = BIT_MASK(nr); in ___test_and_set_bit() local
68 *p = old | mask; in ___test_and_set_bit()
69 return (old & mask) != 0; in ___test_and_set_bit()
84 unsigned long mask = BIT_MASK(nr); in ___test_and_clear_bit() local
88 *p = old & ~mask; in ___test_and_clear_bit()
89 return (old & mask) != 0; in ___test_and_clear_bit()
96 unsigned long mask = BIT_MASK(nr); in ___test_and_change_bit() local
100 *p = old ^ mask; in ___test_and_change_bit()
101 return (old & mask) != 0; in ___test_and_change_bit()