Lines Matching refs:INT_MIN
10 * x < 0: locked with a congestion of x-INT_MIN, including the thread
16 * with INT_MIN as a lock flag.
23 /* fast path: INT_MIN for the lock, +1 for the congestion */
24 int current = a_cas(l, 0, INT_MIN + 1);
29 if (current < 0) current -= INT_MIN + 1;
31 int val = a_cas(l, current, INT_MIN + (current + 1));
45 current -= INT_MIN + 1;
48 int val = a_cas(l, current, INT_MIN + current);
58 if (a_fetch_add(l, -(INT_MIN + 1)) != (INT_MIN + 1)) {