Home
last modified time | relevance | path

Searched refs:p_sessp (Results 1 – 25 of 25) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dpgrpsys.c54 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 Dutssys.c491 sp = prp->p_sessp; in dofusers()
493 vp = prp->p_sessp->s_vp; in dofusers()
/titanic_41/usr/src/uts/common/os/
H A Dsession.c69 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 Dprocset.c316 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 Dpgrp.c67 pp->p_sessp == cp->p_sessp)
H A Dpid.c285 sess_rele(prp->p_sessp, B_TRUE); in pid_exit()
H A Dcred.c627 if (tp->p_sessp != sp->p_sessp && secpolicy_basic_proc(scrp) != 0) in prochasprocperm()
H A Dfork.c1072 cp->p_sessp = pp->p_sessp; in getproc()
H A Dddi.c324 *(pid_t *)valuep = p->p_sessp->s_sid; in drv_getparm()
H A Dexacct.c969 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 Dsig.c1837 (pv->sig == SIGCONT && p->p_sessp == myprocp->p_sessp) || in sigsendproc()
H A Dstreamio.c3387 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 Dzone.c5962 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 Dstrsubr.c3165 sp = p->p_sessp; in straccess()
/titanic_41/usr/src/uts/common/disp/
H A Dts.c1271 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 Dsundep.c129 pp->p_sessp = &session0; in kern_setup1()
/titanic_41/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in225 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 Dmdb_gcore.h54 uintptr_t p_sessp; member
/titanic_41/usr/src/uts/intel/ia32/os/
H A Dsundep.c232 pp->p_sessp = &session0; in kern_setup1()
/titanic_41/usr/src/uts/common/sys/
H A Dproc.h169 struct sess *p_sessp; /* session information */ member
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprioctl.c1429 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 Dprsubr.c892 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 Dgcore.c833 if (mdb_ctf_vread(&sess, "sess_t", "mdb_sess_t", p->p_sessp, 0) == in pcommon_init()
H A Dgenunix.c218 mdb_vread(&session, sizeof (session), (uintptr_t)pr.p_sessp); in ps()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c5220 rv = (curproc->p_sessp->s_vp != NULL); in nfs_has_ctty()