Home
last modified time | relevance | path

Searched refs:ctty (Results 1 – 14 of 14) sorted by relevance

/hurd/
A Ddtable.c160 d->port.users = d->ctty.users = NULL; in fork_child_dtable()
162 if (d->ctty.port != MACH_PORT_NULL) in fork_child_dtable()
168 &d->ctty.port); in fork_child_dtable()
170 d->ctty.port = MACH_PORT_NULL; in fork_child_dtable()
212 io_t port, ctty; in ctty_new_pgrp() local
219 ctty = _hurd_port_get (&d->ctty, &ctty_ulink); in ctty_new_pgrp()
221 if (ctty != MACH_PORT_NULL) in ctty_new_pgrp()
238 _hurd_port_set (&d->ctty, new); in ctty_new_pgrp()
242 _hurd_port_free (&d->ctty, &ctty_ulink, ctty); in ctty_new_pgrp()
289 if (d->ctty.port != MACH_PORT_NULL in reauth_dtable()
[all …]
A Dnew-fd.c26 _hurd_new_fd (io_t port, io_t ctty) in _hurd_new_fd() argument
34 _hurd_port_init (&d->ctty, ctty); in _hurd_new_fd()
A Dfd-cleanup.c31 if (data->ctty != MACH_PORT_NULL) in _hurd_fd_port_use_cleanup()
32 _hurd_port_free (&data->d->ctty, &data->ctty_ulink, data->ctty); in _hurd_fd_port_use_cleanup()
A Dport2fd.c32 io_t ctty = MACH_PORT_NULL; in _hurd_port2fd() local
45 __term_open_ctty (dport, _hurd_pid, _hurd_pgrp, &ctty); in _hurd_port2fd()
63 _hurd_port_set (&d->ctty, ctty); in _hurd_port2fd()
A Dctty-input.c26 _hurd_ctty_input (io_t port, io_t ctty, error_t (*rpc) (io_t)) in _hurd_ctty_input() argument
30 if (ctty == MACH_PORT_NULL) in _hurd_ctty_input()
35 err = (*rpc) (ctty); in _hurd_ctty_input()
A Dctty-output.c26 _hurd_ctty_output (io_t port, io_t ctty, error_t (*rpc) (io_t)) in _hurd_ctty_output() argument
28 if (ctty == MACH_PORT_NULL) in _hurd_ctty_output()
54 err = (*rpc) (ctty); in _hurd_ctty_output()
A Dfd-close.c37 _hurd_port_set (&fd->ctty, MACH_PORT_NULL); in _hurd_fd_close()
A Dfd-write.c36 err = HURD_FD_PORT_USE_CANCEL (fd, _hurd_ctty_output (port, ctty, writefd)); in _hurd_fd_write()
A Dhurdioctl.c197 _hurd_port_set (&d->ctty, newctty); in _hurd_locked_install_cttyid()
241 do_tiocsctty (io_t port, io_t ctty) in do_tiocsctty() argument
246 if (ctty != MACH_PORT_NULL) in do_tiocsctty()
273 return __hurd_fail (HURD_DPORT_USE (fd, do_tiocsctty (port, ctty))); in tiocsctty()
A Dfd-read.c38 if (err = HURD_FD_PORT_USE_CANCEL (fd, _hurd_ctty_input (port, ctty, readfd))) in _hurd_fd_read()
A DMakefile66 fd-close fd-read fd-write hurdioctl ctty-input ctty-output
A Dhurdexec.c190 if (d->ctty.port != MACH_PORT_NULL) in _hurd_exec_paths()
191 *pdp++ = d->ctty.port; in _hurd_exec_paths()
197 if (pdp && d->ctty.port != MACH_PORT_NULL) in _hurd_exec_paths()
202 *pdp++ = d->ctty.port; in _hurd_exec_paths()
A Dreport-wait.c100 else if (port == _hurd_dtable[i]->ctty.port) in describe_port()
/hurd/hurd/
A Dfd.h42 struct hurd_port ctty; member
125 io_t port, ctty; \
136 ctty = _hurd_port_get (&__d->ctty, &__ctty_ulink); \
141 if (ctty != MACH_PORT_NULL) \
142 _hurd_port_free (&__d->ctty, &__ctty_ulink, ctty); \
249 extern struct hurd_fd *_hurd_new_fd (io_t port, io_t ctty);
268 extern error_t _hurd_ctty_input (io_t port, io_t ctty, error_t (*rpc) (io_t));
269 extern error_t _hurd_ctty_output (io_t port, io_t ctty, error_t (*rpc) (io_t));

Completed in 25 milliseconds