Lines Matching refs:mask

39 	int	mask;  in set_bit()  local
43 mask = 1 << (nr & 0x1f); in set_bit()
45 *a |= mask; in set_bit()
52 int mask; in __set_bit() local
55 mask = 1 << (nr & 0x1f); in __set_bit()
56 *a |= mask; in __set_bit()
69 int mask; in clear_bit() local
73 mask = 1 << (nr & 0x1f); in clear_bit()
75 *a &= ~mask; in clear_bit()
84 int mask; in change_bit() local
89 mask = 1 << (nr & 31); in change_bit()
91 *ADDR ^= mask; in change_bit()
97 int mask; in __change_bit() local
101 mask = 1 << (nr & 31); in __change_bit()
102 *ADDR ^= mask; in __change_bit()
107 int mask, retval; in test_and_set_bit() local
112 mask = 1 << (nr & 0x1f); in test_and_set_bit()
114 retval = (mask & *a) != 0; in test_and_set_bit()
115 *a |= mask; in test_and_set_bit()
123 int mask, retval; in __test_and_set_bit() local
127 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
128 retval = (mask & *a) != 0; in __test_and_set_bit()
129 *a |= mask; in __test_and_set_bit()
135 int mask, retval; in test_and_clear_bit() local
140 mask = 1 << (nr & 0x1f); in test_and_clear_bit()
142 retval = (mask & *a) != 0; in test_and_clear_bit()
143 *a &= ~mask; in test_and_clear_bit()
151 int mask, retval; in __test_and_clear_bit() local
155 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
156 retval = (mask & *a) != 0; in __test_and_clear_bit()
157 *a &= ~mask; in __test_and_clear_bit()
163 int mask, retval; in test_and_change_bit() local
168 mask = 1 << (nr & 0x1f); in test_and_change_bit()
170 retval = (mask & *a) != 0; in test_and_change_bit()
171 *a ^= mask; in test_and_change_bit()
179 int mask, retval; in __test_and_change_bit() local
183 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
184 retval = (mask & *a) != 0; in __test_and_change_bit()
185 *a ^= mask; in __test_and_change_bit()
200 int mask; in __test_bit() local
203 mask = 1 << (nr & 0x1f); in __test_bit()
204 return ((mask & *a) != 0); in __test_bit()
263 int mask, retval; in ext2_set_bit() local
268 mask = 1 << (nr & 0x07); in ext2_set_bit()
270 retval = (mask & *ADDR) != 0; in ext2_set_bit()
271 *ADDR |= mask; in ext2_set_bit()
278 int mask, retval; in ext2_clear_bit() local
283 mask = 1 << (nr & 0x07); in ext2_clear_bit()
285 retval = (mask & *ADDR) != 0; in ext2_clear_bit()
286 *ADDR &= ~mask; in ext2_clear_bit()
293 int mask; in ext2_test_bit() local
297 mask = 1 << (nr & 0x07); in ext2_test_bit()
298 return ((mask & *ADDR) != 0); in ext2_test_bit()