Lines Matching defs:ttyvp
89 vnode_t ttyvp;
101 if ((ttyvp = cttyvp(p)) == NULL) {
109 error = VNOP_OPEN(ttyvp, flag, &context);
112 vnode_put(ttyvp);
121 * for every open so that ttyvp->v_specinfo->si_count can be kept sane.
126 vnode_t ttyvp;
133 if ((ttyvp = cttyvp(p)) == NULL) {
141 error = VNOP_CLOSE(ttyvp, flag, &context);
144 vnode_put(ttyvp);
154 vnode_t ttyvp = cttyvp(current_proc());
158 if (ttyvp == NULL)
164 error = VNOP_READ(ttyvp, uio, flag, &context);
165 vnode_put(ttyvp);
173 vnode_t ttyvp = cttyvp(current_proc());
177 if (ttyvp == NULL)
183 error = VNOP_WRITE(ttyvp, uio, flag, &context);
184 vnode_put(ttyvp);
192 vnode_t ttyvp = cttyvp(current_proc());
197 if (ttyvp == NULL)
221 error = VNOP_IOCTL(ttyvp, cmd, addr, flag, &context);
223 vnode_put(ttyvp);
230 vnode_t ttyvp = cttyvp(current_proc());
237 if (ttyvp == NULL)
239 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
240 vnode_put(ttyvp);