Lines Matching refs:mask
38 int mask; in __set_bit() local
41 mask = 1 << (nr & 0x1f); in __set_bit()
42 *a |= mask; in __set_bit()
50 int mask; in __clear_bit() local
53 mask = 1 << (nr & 0x1f); in __clear_bit()
54 *a &= ~mask; in __clear_bit()
61 int mask; in __change_bit() local
65 mask = 1 << (nr & 31); in __change_bit()
66 *ADDR ^= mask; in __change_bit()
71 int mask, retval; in __test_and_set_bit() local
75 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
76 retval = (mask & *a) != 0; in __test_and_set_bit()
77 *a |= mask; in __test_and_set_bit()
83 int mask, retval; in __test_and_clear_bit() local
87 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
88 retval = (mask & *a) != 0; in __test_and_clear_bit()
89 *a &= ~mask; in __test_and_clear_bit()
95 int mask, retval; in __test_and_change_bit() local
99 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
100 retval = (mask & *a) != 0; in __test_and_change_bit()
101 *a ^= mask; in __test_and_change_bit()