Searched refs:ctty (Results 1 – 14 of 14) sorted by relevance
/hurd/ |
A D | dtable.c | 160 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 D | new-fd.c | 26 _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 D | fd-cleanup.c | 31 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 D | port2fd.c | 32 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 D | ctty-input.c | 26 _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 D | ctty-output.c | 26 _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 D | fd-close.c | 37 _hurd_port_set (&fd->ctty, MACH_PORT_NULL); in _hurd_fd_close()
|
A D | fd-write.c | 36 err = HURD_FD_PORT_USE_CANCEL (fd, _hurd_ctty_output (port, ctty, writefd)); in _hurd_fd_write()
|
A D | hurdioctl.c | 197 _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 D | fd-read.c | 38 if (err = HURD_FD_PORT_USE_CANCEL (fd, _hurd_ctty_input (port, ctty, readfd))) in _hurd_fd_read()
|
A D | Makefile | 66 fd-close fd-read fd-write hurdioctl ctty-input ctty-output
|
A D | hurdexec.c | 190 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 D | report-wait.c | 100 else if (port == _hurd_dtable[i]->ctty.port) in describe_port()
|
/hurd/hurd/ |
A D | fd.h | 42 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