Lines Matching refs:p_flag
418 p->p_flag & (P_INEXEC | P_SYSTEM | P_WEXIT)) {
455 if ((p->p_flag & P_INMEM) == 0)
607 if (p->p_flag & P_SWAPPINGIN) {
608 while (p->p_flag & P_SWAPPINGIN)
609 msleep(&p->p_flag, &p->p_mtx, PVM, "faultin", 0);
613 if ((p->p_flag & P_INMEM) == 0) {
614 oom_alloc = (p->p_flag & P_WKILLED) != 0 ? VM_ALLOC_SYSTEM :
622 p->p_flag |= P_SWAPPINGIN;
651 wakeup(&p->p_flag);
676 if (p->p_state == PRS_NEW || (p->p_flag & (P_SWAPPINGOUT |
681 if (p->p_state == PRS_NORMAL && (p->p_flag & P_WKILLED) != 0) {
767 if (p->p_state == PRS_NORMAL && (p->p_flag & (P_INMEM |
804 if (p->p_state != PRS_NORMAL || p->p_lock != 0 || (p->p_flag &
896 p->p_flag &= ~(P_SWAPPINGIN | P_SWAPPINGOUT);
897 p->p_flag |= P_INMEM;
912 KASSERT((p->p_flag & (P_INMEM | P_SWAPPINGOUT | P_SWAPPINGIN)) ==
923 p->p_flag &= ~P_INMEM;
924 p->p_flag |= P_SWAPPINGOUT;
949 p->p_flag &= ~P_SWAPPINGOUT;