Home
last modified time | relevance | path

Searched refs:pr_ttydev (Results 1 – 18 of 18) sorted by relevance

/titanic_44/usr/src/cmd/ps/
H A Ducbps.c815 if (psinfo->pr_ttydev == PRNODEV || psinfo->pr_zoneid != zid) in gettty()
818 if ((retval = devlookup(psinfo->pr_ttydev)) != NULL) in gettty()
821 retval = _ttyname_dev(psinfo->pr_ttydev, devname, sizeof (devname)); in gettty()
823 return (devadd(retval, psinfo->pr_ttydev)); in gettty()
891 (psinfo->pr_ttydev == ttyp->tdev)) in prcom()
1176 i = p1->psinfo->pr_ttydev - p2->psinfo->pr_ttydev; in pscompare()
H A Dps.c746 info.pr_ttydev == PRNODEV) { in stdmain()
765 tty[ntty].tdev = info.pr_ttydev; in stdmain()
1279 if (psinfo->pr_ttydev == PRNODEV || psinfo->pr_zoneid != zid) in gettty()
1282 if ((retval = devlookup(psinfo->pr_ttydev)) != NULL) in gettty()
1285 retval = _ttyname_dev(psinfo->pr_ttydev, devname, sizeof (devname)); in gettty()
1287 return (devadd(retval, psinfo->pr_ttydev)); in gettty()
1333 (psinfo->pr_ttydev == ttyp->tdev)) in prfind()
/titanic_44/usr/src/cmd/pgrep/
H A Dpsexp.c130 if (NOMATCH(ps_ttys, pr_ttydev)) in psexp_match()
/titanic_44/usr/src/uts/intel/sys/
H A Dold_procfs.h298 #define pr_ttydev pr_lttydev macro
300 #define pr_ttydev pr_ottydev macro
/titanic_44/usr/src/uts/sparc/sys/
H A Dold_procfs.h297 #define pr_ttydev pr_lttydev macro
299 #define pr_ttydev pr_ottydev macro
/titanic_44/usr/src/lib/libproc/common/
H A DP32ton.c424 dst->pr_ttydev = prexpldev(src->pr_ttydev); in psinfo_32_to_n()
797 dst->pr_ttydev = prcmpldev(src->pr_ttydev); in psinfo_n_to_32()
H A DPgcore.c274 psp->pr_ottydev = cmpdev(P->psinfo.pr_ttydev); in mkprpsinfo()
275 psp->pr_lttydev = P->psinfo.pr_ttydev; in mkprpsinfo()
399 psp->pr_ottydev = cmpdev(P->psinfo.pr_ttydev); in mkprpsinfo32()
400 psp->pr_lttydev = prcmpldev(P->psinfo.pr_ttydev); in mkprpsinfo32()
/titanic_44/usr/src/uts/common/sys/
H A Dprocfs.h289 dev_t pr_ttydev; /* controlling tty device (or PRNODEV) */
694 dev32_t pr_ttydev; /* controlling tty device (or PRNODEV) */
/titanic_44/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in232 pr_ttydev = (T->p_sessp->s_vp == NULL) ? (dev_t)-1 :
274 pr_ttydev = xlate <psinfo_t> (T->t_procp).pr_ttydev;
/titanic_44/usr/src/cmd/sgs/elfdump/common/
H A Dstruct_layout.h272 sl_field_t pr_ttydev; member
H A Dgen_struct_layout.c270 SCALAR_FIELD(psinfo_t, pr_ttydev, 0); in gen_psinfo()
H A Delfdump.msg587 @ MSG_CNOTE_T_PR_TTYDEV "pr_ttydev:"
H A Dcorenote.c1410 &layout->pr_ttydev, SL_FMT_NUM_DEC); in dump_psinfo()
/titanic_44/usr/src/cmd/nohup/
H A Dnohup.c258 sbuf.st_rdev != Ppsinfo(g_proc)->pr_ttydev) in fd_cb()
/titanic_44/usr/src/cmd/w/
H A Dw.c358 up->p_ttyd = info.pr_ttydev; in main()
/titanic_44/usr/src/cmd/whodo/
H A Dwhodo.c339 up->p_ttyd = info.pr_ttydev; in main()
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprsubr.c2287 psp->pr_ttydev = PRNODEV; in prgetpsinfo()
2307 psp->pr_ttydev = (d == NODEV) ? PRNODEV : d; in prgetpsinfo()
2421 psp->pr_ttydev = PRNODEV32; in prgetpsinfo32()
2439 (void) cmpldev(&psp->pr_ttydev, d); in prgetpsinfo32()
2695 PR_COPY_FIELD(src, dest, pr_ttydev); in psinfo_kto32()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1808 psp->pr_ttydev = PRNODEV; in Ppsinfo_gcore()