Lines Matching refs:mask
17 unsigned long mask = BIT_MASK(nr); in __set_bit() local
20 *p |= mask; in __set_bit()
25 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
28 *p &= ~mask; in __clear_bit()
42 unsigned long mask = BIT_MASK(nr); in __change_bit() local
45 *p ^= mask; in __change_bit()
59 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
63 *p = old | mask; in __test_and_set_bit()
64 return (old & mask) != 0; in __test_and_set_bit()
78 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
82 *p = old & ~mask; in __test_and_clear_bit()
83 return (old & mask) != 0; in __test_and_clear_bit()
90 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
94 *p = old ^ mask; in __test_and_change_bit()
95 return (old & mask) != 0; in __test_and_change_bit()