Lines Matching refs:pss
126 #include <pss.h>
172 unsigned long field; /* pss field */
229 Pss_t* pss; /* ps stream */
537 sfprintf(sp, "%s The title string is \b%s\b and the default width is %d.%s]", keys[i].desc, keys[i].head, keys[i].width, (!keys[i].field || (state.pss->meth->fields & keys[i].field)) ? "" : " Not available on this system.");
551 return pssttydev(state.pss, name);
589 if (!kp->head && (state.pss->meth->fields & keys[kp->index].field))
601 if (!(state.pss->meth->fields & kp->field))
763 s = pssttyname(state.pss, pp->ps);
949 s = pssttyname(state.pss, pr);
1052 if (pp->ps->pss & (PSS_EXPLICIT|PSS_MATCHED))
1057 xp->ps->pss |= PSS_PARENT;
1058 } while ((xp = (Ps_t*)dtmatch(state.bypid, &xp->ps->ppid)) && !xp->ps->pss);
1062 if (!(pp->ps->pss & (PSS_EXPLICIT|PSS_MATCHED|PSS_PARENT)) && !pp->seen)
1068 if (xp->ps->pss & (PSS_ANCESTOR|PSS_EXPLICIT|PSS_MATCHED))
1070 xp->ps->pss |= PSS_ANCESTOR;
1074 xp->ps->pss |= PSS_PARENT;
1075 } while ((xp = (Ps_t*)dtmatch(state.bypid, &xp->ps->ppid)) && !xp->ps->pss);
1082 if (pp->ps->pss)
1084 if (pp->ps->ppid != pp->ps->pid && (xp = (Ps_t*)dtmatch(state.bypid, &pp->ps->ppid)) && (xp->ps->pss & (PSS_EXPLICIT|PSS_MATCHED|PSS_PARENT)))
1086 xp->ps->pss |= PSS_CHILD;
1232 pe = pssread(state.pss, pid);
1243 if (!(pp->ps = psssave(state.pss, pe)))
1332 sfprintf(sfstdout, "%-8s %-8s %s%s%s\n", kp->name, ap->head, ap->desc, ap == kp ? "" : " [alias]", (!ap->field || (state.pss->meth->fields & ap->field)) ? "" : " [not available]");
1384 if (!(state.pss->meth->fields & kp->field))
1505 if (!(state.pss = pssopen(&state.pssdisc)) || !state.pss->meth->fields)
1515 if (!state.pss)
1704 while (pe = pssread(state.pss, PSS_SCAN))
1720 pssclose(state.pss);