Searched refs:flags_old (Results 1 – 1 of 1) sorted by relevance
16 unsigned long flags_old, flags_new; in aq_utils_obj_set() local19 flags_old = atomic_read(flags); in aq_utils_obj_set()20 flags_new = flags_old | (mask); in aq_utils_obj_set()21 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old); in aq_utils_obj_set()26 unsigned long flags_old, flags_new; in aq_utils_obj_clear() local29 flags_old = atomic_read(flags); in aq_utils_obj_clear()30 flags_new = flags_old & ~(mask); in aq_utils_obj_clear()31 } while (atomic_cmpxchg(flags, flags_old, flags_new) != flags_old); in aq_utils_obj_clear()