Lines Matching refs:p_rid

110 	if (psp->p_rid == P_MYID) {  in dotoprocs()
111 psp->p_rid = getmyid(psp->p_ridtype); in dotoprocs()
133 psp->p_lid : psp->p_rid; in dotoprocs()
385 if (getlwpptr(psp->p_rid) != NULL) in procinset()
390 if (pp->p_pid == psp->p_rid) in procinset()
395 if (pp->p_ppid == psp->p_rid) in procinset()
400 if (pp->p_pgrp == psp->p_rid) in procinset()
406 if (pp->p_sessp->s_sid == psp->p_rid) in procinset()
412 if (pp->p_task->tk_tkid == psp->p_rid) in procinset()
420 if (tp->t_cid == psp->p_rid) in procinset()
426 if (crgetuid(pp->p_cred) == psp->p_rid) in procinset()
433 if (crgetgid(pp->p_cred) == psp->p_rid) in procinset()
439 if (pp->p_task->tk_proj->kpj_id == psp->p_rid) in procinset()
444 if (pp->p_pool->pool_id == psp->p_rid) in procinset()
449 if (pp->p_zone->zone_id == psp->p_rid) in procinset()
454 if (PRCTID(pp) == psp->p_rid) in procinset()
624 if (tp->t_tid == psp->p_rid) in lwpinset()
629 if (pp->p_pid == psp->p_rid) in lwpinset()
634 if (pp->p_ppid == psp->p_rid) in lwpinset()
639 if (pp->p_pgrp == psp->p_rid) in lwpinset()
645 if (pp->p_sessp->s_sid == psp->p_rid) in lwpinset()
651 if (pp->p_task->tk_tkid == psp->p_rid) in lwpinset()
656 if (tp->t_cid == psp->p_rid) in lwpinset()
662 if (crgetuid(pp->p_cred) == psp->p_rid) in lwpinset()
669 if (crgetgid(pp->p_cred) == psp->p_rid) in lwpinset()
675 if (pp->p_task->tk_proj->kpj_id == psp->p_rid) in lwpinset()
680 if (pp->p_pool->pool_id == psp->p_rid) in lwpinset()
685 if (pp->p_zone->zone_id == psp->p_rid) in lwpinset()
690 if (PRCTID(pp) == psp->p_rid) in lwpinset()
768 (psp->p_rid == P_MYID || in cur_inset_only()
769 psp->p_rid == ttoproc(curthread)->p_pid)) || in cur_inset_only()
771 (psp->p_rid == P_MYID || in cur_inset_only()
772 psp->p_rid == curthread->t_tid))) && in cur_inset_only()
908 if (psp->p_rid == P_MYID) { in dotolwp()
909 psp->p_rid = getmyid(psp->p_ridtype); in dotolwp()