Lines Matching defs:old
167 * all claim to have 256 CPUs maximum, and the old value of PSE_TABLE_SIZE
506 selock_t old;
510 old = pp->p_selock;
521 if (se == SE_SHARED && es == 1 && old == 0) {
527 if (old >= 0) {
531 if ((old & SE_EWANTED) == 0) {
532 pp->p_selock = old + SE_READER;
551 if (!(old & SE_EWANTED) || (es & SE_EXCL_WANTED)) {
552 if ((old & ~SE_EWANTED) == 0) {
619 selock_t old;
623 old = pp->p_selock;
624 if ((old & ~SE_EWANTED) == SE_READER) {
625 pp->p_selock = old & ~SE_READER;
628 } else if ((old & ~SE_EWANTED) == SE_DELETED) {
630 } else if (old < 0) {
635 } else if ((old & ~SE_EWANTED) > SE_READER) {
636 pp->p_selock = old - SE_READER;
653 selock_t old;
657 old = pp->p_selock;
658 if ((old & ~SE_EWANTED) == SE_READER) {
659 pp->p_selock = old & ~SE_READER;
662 } else if ((old & ~SE_EWANTED) == SE_DELETED) {
664 } else if (old < 0) {
669 } else if ((old & ~SE_EWANTED) > SE_READER) {
670 pp->p_selock = old - SE_READER;