Lines Matching defs:old
193 * but for the sake of old broken applications that
298 * Return the old value of the lock word.
303 uint32_t old;
307 old = *lockword;
308 new = old & ~LOCKMASK;
309 } while (atomic_cas_32(lockword, old, new) != old);
311 return (old);
321 uint64_t old;
325 old = *lockword64;
326 new = old & ~LOCKMASK64;
327 } while (atomic_cas_64(lockword64, old, new) != old);
329 return (old);
357 uint64_t old;
360 old = *lockword64 & ~LOCKMASK64;
361 new = old | ((uint64_t)(uint_t)ownerpid << PIDSHIFT) | LOCKBYTE64;
362 if (atomic_cas_64(lockword64, old, new) == old)
375 uint32_t old;
379 old = *lockword;
380 if (((old & SPINNERMASK) >> SPINNERSHIFT) >= max_spinners)
382 new = old + (1 << SPINNERSHIFT);
383 } while (atomic_cas_32(lockword, old, new) != old);
395 uint32_t old;
399 new = old = *lockword;
402 } while (atomic_cas_32(lockword, old, new) != old);
767 * This mimics the old libthread's behavior.
805 * This mimics the old libthread's behavior.
2864 * but for the sake of old broken applications that
3111 * but for the sake of old broken applications that
3271 * The old thread library was programmed to defer signals
3279 * To accommodate applications that depend on the old
3282 * old way with respect to cond_wait().