Lines Matching defs:ttyvp
88 vnode_t ttyvp = cttyvp(p);
94 if (ttyvp == NULL)
116 error = VNOP_OPEN(ttyvp, flag, &context);
139 * tty is ttyvp, exits and vnode is revoked. We cannot
146 VNOP_CLOSE(ttyvp, flag, &context);
149 error = vnode_ref(ttyvp);
155 vnode_put(ttyvp);
164 vnode_t ttyvp = cttyvp(current_proc());
168 if (ttyvp == NULL)
174 error = VNOP_READ(ttyvp, uio, flag, &context);
175 vnode_put(ttyvp);
183 vnode_t ttyvp = cttyvp(current_proc());
187 if (ttyvp == NULL)
193 error = VNOP_WRITE(ttyvp, uio, flag, &context);
194 vnode_put(ttyvp);
202 vnode_t ttyvp = cttyvp(current_proc());
207 if (ttyvp == NULL)
231 error = VNOP_IOCTL(ttyvp, cmd, addr, flag, &context);
233 vnode_put(ttyvp);
240 vnode_t ttyvp = cttyvp(current_proc());
247 if (ttyvp == NULL)
249 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
250 vnode_put(ttyvp);