Home
last modified time | relevance | path

Searched refs:ttyvp (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/bsd/kern/
H A Dtty_tty.c88 vnode_t ttyvp = cttyvp(p); in cttyopen() local
95 if (ttyvp == NULL) { in cttyopen()
153 vnode_put(ttyvp); in cttyopen()
166 if (ttyvp == NULL) { in cttyread()
174 vnode_put(ttyvp); in cttyread()
186 if (ttyvp == NULL) { in cttywrite()
194 vnode_put(ttyvp); in cttywrite()
206 if (ttyvp == NULL) { in cttyioctl()
230 vnode_put(ttyvp); in cttyioctl()
244 if (ttyvp == NULL) { in cttyselect()
[all …]
H A Dkern_exit.c2263 struct vnode *ttyvp; in proc_exit() local
2293 ttyvp = sessp->s_ttyvp; in proc_exit()
2296 if (ttyvp) { in proc_exit()
2297 vnode_hold(ttyvp); in proc_exit()
2301 if ((ttyvp != NULLVP) && (vnode_getwithvid(ttyvp, ttyvid) == 0)) { in proc_exit()
2319 vnode_rele(ttyvp); in proc_exit()
2321 vnode_put(ttyvp); in proc_exit()
2323 vnode_drop(ttyvp); in proc_exit()
2324 ttyvp = NULLVP; in proc_exit()
2326 if (ttyvp) { in proc_exit()
[all …]
H A Dkern_proc.c1945 vnode_t ttyvp = procsp->s_ttyvp; in proc_gettty() local
1947 if (ttyvp) { in proc_gettty()
1948 vnode_hold(ttyvp); in proc_gettty()
1952 if (ttyvp) { in proc_gettty()
1953 if (vnode_getwithvid(ttyvp, ttyvid) == 0) { in proc_gettty()
1954 *vp = ttyvp; in proc_gettty()
1957 vnode_drop(ttyvp); in proc_gettty()
/xnu-11215/bsd/vfs/
H A Dvfs_vnops.c1681 struct vnode *ttyvp; in vn_ioctl() local
1770 ttyvp = sessp->s_ttyvp; in vn_ioctl()