Lines Matching defs:oldval
36 uint64_t oldval;
41 oldval = *count_p;
42 newval = oldval - n;
43 if (oldval < n)
45 } while (atomic_cas_64(count_p, oldval, newval) != oldval);
56 uint64_t oldval;
61 oldval = *count_p;
62 newval = oldval + n;
63 } while (atomic_cas_64(count_p, oldval, newval) != oldval);
74 uint32_t oldval;
79 oldval = *sp;
80 newval = oldval << count;
81 } while (atomic_cas_32(sp, oldval, newval) != oldval);
83 return (oldval);