Lines Matching full:old
53 * __test_and_set_bit - Set a bit and return its old value
65 unsigned long old = *p; in __test_and_set_bit() local
67 *p = old | mask; in __test_and_set_bit()
68 return (old & mask) != 0; in __test_and_set_bit()
72 * __test_and_clear_bit - Clear a bit and return its old value
84 unsigned long old = *p; in __test_and_clear_bit() local
86 *p = old & ~mask; in __test_and_clear_bit()
87 return (old & mask) != 0; in __test_and_clear_bit()
96 unsigned long old = *p; in __test_and_change_bit() local
98 *p = old ^ mask; in __test_and_change_bit()
99 return (old & mask) != 0; in __test_and_change_bit()