Lines Matching refs:bit
41 __u32 bit, old, new; in set_bit() local
46 bit = 1 << (nr & 31); in set_bit()
50 new = old | bit; in set_bit()
163 __u32 bit, old, new; in change_bit() local
168 bit = (1 << (nr & 31)); in change_bit()
172 new = old ^ bit; in change_bit()
202 __u32 bit, old, new; in test_and_set_bit() local
207 bit = 1 << (nr & 31); in test_and_set_bit()
211 new = old | bit; in test_and_set_bit()
213 return (old & bit) != 0; in test_and_set_bit()
301 __u32 bit, old, new; in test_and_change_bit() local
306 bit = (1 << (nr & 31)); in test_and_change_bit()
310 new = old ^ bit; in test_and_change_bit()
312 return (old & bit) != 0; in test_and_change_bit()
325 __u32 old, bit = (1 << (nr & 31)); in __test_and_change_bit() local
329 *m = old ^ bit; in __test_and_change_bit()
330 return (old & bit) != 0; in __test_and_change_bit()