Lines Matching refs:bit
42 __u32 bit, old, new; in set_bit() local
47 bit = 1 << (nr & 31); in set_bit()
51 new = old | bit; in set_bit()
164 __u32 bit, old, new; in change_bit() local
169 bit = (1 << (nr & 31)); in change_bit()
173 new = old ^ bit; in change_bit()
203 __u32 bit, old, new; in test_and_set_bit() local
208 bit = 1 << (nr & 31); in test_and_set_bit()
212 new = old | bit; in test_and_set_bit()
214 return (old & bit) != 0; in test_and_set_bit()
302 __u32 bit, old, new; in test_and_change_bit() local
307 bit = (1 << (nr & 31)); in test_and_change_bit()
311 new = old ^ bit; in test_and_change_bit()
313 return (old & bit) != 0; in test_and_change_bit()
326 __u32 old, bit = (1 << (nr & 31)); in __test_and_change_bit() local
330 *m = old ^ bit; in __test_and_change_bit()
331 return (old & bit) != 0; in __test_and_change_bit()