Lines Matching defs:pnp
285 prnode_t *pnp;
289 pnp = VTOP(vp);
290 pcp = pnp->pr_common;
302 vp = pnp->pr_next;
303 pnp->pr_next = NULL;
380 prnode_t *pnp;
395 for (vp = p->p_plist; vp != NULL; vp = pnp->pr_next) {
396 pnp = VTOP(vp);
397 pcp = pnp->pr_common;
404 for (vp = lep->le_trace; vp != NULL; vp = pnp->pr_next) {
405 pnp = VTOP(vp);
406 pcp = pnp->pr_common;
424 prnode_t *pnp;
440 pnp = VTOP(vp);
441 pcp = pnp->pr_common;
445 vp = pnp->pr_next;
446 pnp->pr_next = NULL;
488 prnode_t *pnp;
515 for (; vp != NULL; vp = pnp->pr_next) {
516 pnp = VTOP(vp);
517 pnp->pr_common->prc_datamodel = model;
529 for (; vp != NULL; vp = pnp->pr_next) {
530 pnp = VTOP(vp);
531 pcp = pnp->pr_common;
576 prnode_t *pnp;
590 for (vp = p->p_plist; vp != NULL; vp = pnp->pr_next) {
591 pnp = VTOP(vp);
592 switch (pnp->pr_type) {
603 pnp->pr_flags |= PR_INVAL;
640 pnp = VTOP(vp);
641 pnp->pr_flags |= PR_INVAL;
643 vp = pnp->pr_next;
679 pr_p_lock(prnode_t *pnp)
685 if ((pcp = pnp->pr_pcommon) == NULL || (p = pcp->prc_proc) == NULL)
725 prlock(prnode_t *pnp, int zdisp)
731 pcp = pnp->pr_common;
732 p = pr_p_lock(pnp);
749 prunlock(pnp);
759 prunlock(pnp);
768 if (pnp->pr_flags & PR_INVAL) {
769 prunlock(pnp);
778 pcp = pnp->pr_pcommon; /* Put on the correct sleep queue */
780 prunlock(pnp);
815 prunlock(prnode_t *pnp)
817 prcommon_t *pcp = pnp->pr_common;
828 (void) pr_setrun(pnp, 0);