Lines Matching refs:mask
20 unsigned long mask = BITOP_MASK(nr); in __set_bit() local
23 *p |= mask; in __set_bit()
28 unsigned long mask = BITOP_MASK(nr); in __clear_bit() local
31 *p &= ~mask; in __clear_bit()
45 unsigned long mask = BITOP_MASK(nr); in __change_bit() local
48 *p ^= mask; in __change_bit()
62 unsigned long mask = BITOP_MASK(nr); in __test_and_set_bit() local
66 *p = old | mask; in __test_and_set_bit()
67 return (old & mask) != 0; in __test_and_set_bit()
81 unsigned long mask = BITOP_MASK(nr); in __test_and_clear_bit() local
85 *p = old & ~mask; in __test_and_clear_bit()
86 return (old & mask) != 0; in __test_and_clear_bit()
93 unsigned long mask = BITOP_MASK(nr); in __test_and_change_bit() local
97 *p = old ^ mask; in __test_and_change_bit()
98 return (old & mask) != 0; in __test_and_change_bit()