Lines Matching defs:findpr
2302 struct process *findpr;
2315 if ((findpr = prfind(pid)) == NULL)
2324 if (findpr->ps_flags & (PS_SYSTEM | PS_EXITING))
2328 if (findpr->ps_ucred->cr_uid != cp->p_ucred->cr_uid &&
2340 vp = findpr->ps_fd->fd_cdir;
2367 struct process *findpr;
2377 if ((findpr = prfind(pid)) == NULL)
2381 if (findpr->ps_flags & (PS_SYSTEM | PS_EXITING))
2389 flag = findpr->ps_flags & PS_NOBROADCASTKILL ? 1 : 0;
2394 atomic_setbits_int(&findpr->ps_flags,
2397 atomic_clearbits_int(&findpr->ps_flags,
2411 struct process *findpr;
2436 findpr = cp->p_p;
2438 if ((findpr = prfind(pid)) == NULL)
2442 if (findpr->ps_flags & (PS_SYSTEM | PS_EXITING))
2451 if (findpr->ps_ucred->cr_uid != cp->p_ucred->cr_uid &&
2459 findpr = NULL;
2487 error = fill_vmmap(findpr, kve, &len);