/titanic_41/usr/src/uts/common/syscall/ |
H A D | pgrpsys.c | 54 if (p->p_sessp->s_sidp != p->p_pidp && !pgmembers(p->p_pid)) { in setpgrp() 60 sid = p->p_sessp->s_sid; in setpgrp() 73 sid = p->p_sessp->s_sid; in setpgrp() 98 if (p->p_sessp != ttoproc(curthread)->p_sessp) { in setpgrp() 104 if (p->p_sessp->s_sid == pid) { in setpgrp() 132 q->p_sessp != p->p_sessp) { in setpgrp() 166 retval = p->p_sessp->s_sid; in setpgrp()
|
H A D | utssys.c | 491 sp = prp->p_sessp; in dofusers() 493 vp = prp->p_sessp->s_vp; in dofusers()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | session.c | 69 mutex_enter(&p->p_sessp->s_lock); in sess_hold() 70 p->p_sessp->s_ref++; in sess_hold() 71 mutex_exit(&p->p_sessp->s_lock); in sess_hold() 139 sp = p->p_sessp; in tty_hold() 229 old_sp = p->p_sessp; in sess_create() 230 p->p_sessp = sp; in sess_create() 320 sp = p->p_sessp; in strctty() 392 sp = p->p_sessp; in freectty_lock() 440 if (sp != p->p_sessp) { in freectty_lock() 687 sp = pp->p_sessp; in cttydev() [all …]
|
H A D | procset.c | 316 if (pp->p_sessp->s_sid == psp->p_lid) in procinset() 406 if (pp->p_sessp->s_sid == psp->p_rid) in procinset() 559 if (pp->p_sessp->s_sid == psp->p_lid) in lwpinset() 645 if (pp->p_sessp->s_sid == psp->p_rid) in lwpinset() 804 sid = pp->p_sessp->s_sid; in getmyid()
|
H A D | pgrp.c | 67 pp->p_sessp == cp->p_sessp)
|
H A D | pid.c | 285 sess_rele(prp->p_sessp, B_TRUE); in pid_exit()
|
H A D | cred.c | 627 if (tp->p_sessp != sp->p_sessp && secpolicy_basic_proc(scrp) != 0) in prochasprocperm()
|
H A D | fork.c | 1072 cp->p_sessp = pp->p_sessp; in getproc()
|
H A D | ddi.c | 324 *(pid_t *)valuep = p->p_sessp->s_sid; in drv_getparm()
|
H A D | exacct.c | 969 pu->pu_major = getmajor(p->p_sessp->s_dev); in exacct_calculate_proc_usage() 970 pu->pu_minor = getminor(p->p_sessp->s_dev); in exacct_calculate_proc_usage()
|
H A D | sig.c | 1837 (pv->sig == SIGCONT && p->p_sessp == myprocp->p_sessp) || in sigsendproc()
|
H A D | streamio.c | 3387 if (stp->sd_sidp != curproc->p_sessp->s_sidp && in strioctl() 5620 if (stp->sd_sidp != ttoproc(curthread)->p_sessp->s_sidp) { in strioctl() 5636 q->p_sessp != ttoproc(curthread)->p_sessp) { in strioctl()
|
H A D | zone.c | 5962 sp = zone->zone_zsched->p_sessp; in zone_enter() 5966 sess_rele(pp->p_sessp, B_TRUE); in zone_enter() 5967 pp->p_sessp = sp; in zone_enter()
|
H A D | strsubr.c | 3165 sp = p->p_sessp; in straccess()
|
/titanic_41/usr/src/uts/common/disp/ |
H A D | ts.c | 1271 sid = p->p_sessp->s_sid; in ia_parmsset() 1285 mutex_enter(&p->p_sessp->s_lock); in ia_parmsset() 1287 if ((pid == sid) && (p->p_sessp->s_vp != NULL) && in ia_parmsset() 1288 ((stp = p->p_sessp->s_vp->v_stream) != NULL)) { in ia_parmsset() 1292 mutex_exit(&p->p_sessp->s_lock); in ia_parmsset() 1308 mutex_exit(&p->p_sessp->s_lock); in ia_parmsset() 2228 mutex_enter(&leader->p_sessp->s_lock); in ia_set_process_group() 2230 (leader->p_sessp->s_vp == NULL) || in ia_set_process_group() 2231 (leader->p_sessp->s_vp->v_stream == NULL)) { in ia_set_process_group() 2232 mutex_exit(&leader->p_sessp->s_lock); in ia_set_process_group() [all …]
|
/titanic_41/usr/src/uts/sparc/os/ |
H A D | sundep.c | 129 pp->p_sessp = &session0; in kern_setup1()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | procfs.d.in | 225 pr_sid = T->p_sessp->s_sidp->pid_id; 232 pr_ttydev = (T->p_sessp->s_vp == NULL) ? (dev_t)-1 : 233 (T->p_sessp->s_dev == `rwsconsdev) ? `uconsdev : 234 (T->p_sessp->s_dev == `rconsdev) ? `uconsdev : T->p_sessp->s_dev;
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gcore.h | 54 uintptr_t p_sessp; member
|
/titanic_41/usr/src/uts/intel/ia32/os/ |
H A D | sundep.c | 232 pp->p_sessp = &session0; in kern_setup1()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | proc.h | 169 struct sess *p_sessp; /* session information */ member
|
/titanic_41/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 1429 sp->pr_sid = p->p_sessp->s_sid; in oprgetstatus32() 1574 psp->pr_sid = p->p_sessp->s_sid; in oprgetpsinfo32() 3266 sp->pr_sid = p->p_sessp->s_sid; in oprgetstatus() 3413 psp->pr_sid = p->p_sessp->s_sid; in oprgetpsinfo()
|
H A D | prsubr.c | 892 sp->pr_sid = p->p_sessp->s_sid; in prgetstatus() 1115 sp->pr_sid = p->p_sessp->s_sid; in prgetstatus32() 2261 psp->pr_sid = p->p_sessp->s_sid; in prgetpsinfo() 2394 psp->pr_sid = p->p_sessp->s_sid; in prgetpsinfo32()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 833 if (mdb_ctf_vread(&sess, "sess_t", "mdb_sess_t", p->p_sessp, 0) == in pcommon_init()
|
H A D | genunix.c | 218 mdb_vread(&session, sizeof (session), (uintptr_t)pr.p_sessp); in ps()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 5220 rv = (curproc->p_sessp->s_vp != NULL); in nfs_has_ctty()
|