Lines Matching refs:old
168 * 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) {
617 selock_t old;
621 old = pp->p_selock;
622 if ((old & ~SE_EWANTED) == SE_READER) {
623 pp->p_selock = old & ~SE_READER;
626 } else if ((old & ~SE_EWANTED) == SE_DELETED) {
628 } else if (old < 0) {
632 } else if ((old & ~SE_EWANTED) > SE_READER) {
633 pp->p_selock = old - SE_READER;
650 selock_t old;
654 old = pp->p_selock;
655 if ((old & ~SE_EWANTED) == SE_READER) {
656 pp->p_selock = old & ~SE_READER;
659 } else if ((old & ~SE_EWANTED) == SE_DELETED) {
661 } else if (old < 0) {
665 } else if ((old & ~SE_EWANTED) > SE_READER) {
666 pp->p_selock = old - SE_READER;