Lines Matching refs:mask
17 unsigned long mask = BIT_MASK(nr); in __set_bit() local
20 *p |= mask; in __set_bit()
27 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
30 *p &= ~mask; in __clear_bit()
46 unsigned long mask = BIT_MASK(nr); in __change_bit() local
49 *p ^= mask; in __change_bit()
63 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
67 *p = old | mask; in __test_and_set_bit()
68 return (old & mask) != 0; in __test_and_set_bit()
82 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
86 *p = old & ~mask; in __test_and_clear_bit()
87 return (old & mask) != 0; in __test_and_clear_bit()
94 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
98 *p = old ^ mask; in __test_and_change_bit()
99 return (old & mask) != 0; in __test_and_change_bit()