Lines Matching defs:old
192 * but for the sake of old broken applications that
297 * Return the old value of the lock word.
302 uint32_t old;
306 old = *lockword;
307 new = old & ~LOCKMASK;
308 } while (atomic_cas_32(lockword, old, new) != old);
310 return (old);
320 uint64_t old;
324 old = *lockword64;
325 new = old & ~LOCKMASK64;
326 } while (atomic_cas_64(lockword64, old, new) != old);
328 return (old);
356 uint64_t old;
359 old = *lockword64 & ~LOCKMASK64;
360 new = old | ((uint64_t)(uint_t)ownerpid << PIDSHIFT) | LOCKBYTE64;
361 if (atomic_cas_64(lockword64, old, new) == old)
374 uint32_t old;
378 old = *lockword;
379 if (((old & SPINNERMASK) >> SPINNERSHIFT) >= max_spinners)
381 new = old + (1 << SPINNERSHIFT);
382 } while (atomic_cas_32(lockword, old, new) != old);
394 uint32_t old;
398 new = old = *lockword;
401 } while (atomic_cas_32(lockword, old, new) != old);
766 * This mimics the old libthread's behavior.
804 * This mimics the old libthread's behavior.
2894 * but for the sake of old broken applications that
3141 * but for the sake of old broken applications that
3301 * The old thread library was programmed to defer signals
3309 * To accommodate applications that depend on the old
3312 * old way with respect to cond_wait().