/hurd/ |
A D | dtable.c | 110 if (!d) in get_dtable_port() 115 dport = HURD_PORT_USE (&d->port, in get_dtable_port() 156 if (d == NULL) in fork_child_dtable() 160 d->port.users = d->ctty.users = NULL; in fork_child_dtable() 168 &d->ctty.port); in fork_child_dtable() 170 d->ctty.port = MACH_PORT_NULL; in fork_child_dtable() 214 if (d == NULL) in ctty_new_pgrp() 238 _hurd_port_set (&d->ctty, new); in ctty_new_pgrp() 268 if (d == NULL) in reauth_dtable() 275 __spin_lock (&d->port.lock); in reauth_dtable() [all …]
|
A D | new-fd.c | 28 struct hurd_fd *d = malloc (sizeof (struct hurd_fd)); in _hurd_new_fd() local 30 if (d != NULL) in _hurd_new_fd() 33 _hurd_port_init (&d->port, port); in _hurd_new_fd() 34 _hurd_port_init (&d->ctty, ctty); in _hurd_new_fd() 37 d->flags = 0; in _hurd_new_fd() 40 return d; in _hurd_new_fd()
|
A D | intern-fd.c | 30 struct hurd_fd *d; in _hurd_intern_fd() local 33 d = _hurd_alloc_fd (&fd, 0); in _hurd_intern_fd() 34 if (d != NULL) in _hurd_intern_fd() 36 _hurd_port2fd (d, port, flags); in _hurd_intern_fd() 37 __spin_unlock (&d->port.lock); in _hurd_intern_fd() 41 if (d == NULL) in _hurd_intern_fd()
|
A D | hurdselect.c | 68 } d[nfds]; in _hurd_select() local 168 d[i].type = 0; in _hurd_select() 174 if (d[i].type != 0) in _hurd_select() 183 d[i].io_port = _hurd_port_get (&d[i].cell->port, in _hurd_select() 211 _hurd_port_free (&d[i].cell->port, &d[i].ulink, in _hurd_select() 258 d[i].type = type; in _hurd_select() 265 d[i].io_port = _hurd_port_get (&d[i].cell->port, in _hurd_select() 274 _hurd_port_free (&d[i].cell->port, &d[i].ulink, in _hurd_select() 357 d[i].error = err; in _hurd_select() 361 _hurd_port_free (&d[i].cell->port, &d[i].ulink, d[i].io_port); in _hurd_select() [all …]
|
A D | port2fd.c | 29 _hurd_port2fd (struct hurd_fd *d, io_t dport, int flags) in _hurd_port2fd() argument 56 = _hurd_userlink_clear (&d->port.users) ? d->port.port : MACH_PORT_NULL; in _hurd_port2fd() 57 d->port.port = dport; in _hurd_port2fd() 58 d->flags = (flags & O_CLOEXEC) ? FD_CLOEXEC : 0; in _hurd_port2fd() 63 _hurd_port_set (&d->ctty, ctty); in _hurd_port2fd()
|
A D | msgportdemux.c | 43 struct demux *d; in msgport_server() local 45 for (d = _hurd_msgport_demuxers; d != NULL; d = d->next) in msgport_server() 46 if ((*d->demux) (inp, outp)) in msgport_server()
|
A D | alloc-fd.c | 49 struct hurd_fd *d = _hurd_dtable[i]; in _hurd_alloc_fd() local 50 if (d == NULL) in _hurd_alloc_fd() 55 d = _hurd_new_fd (MACH_PORT_NULL, MACH_PORT_NULL); in _hurd_alloc_fd() 56 if (d == NULL) in _hurd_alloc_fd() 62 _hurd_dtable[i] = d; in _hurd_alloc_fd() 65 __spin_lock (&d->port.lock); in _hurd_alloc_fd() 66 if (d->port.port == MACH_PORT_NULL) in _hurd_alloc_fd() 72 return d; in _hurd_alloc_fd() 75 __spin_unlock (&d->port.lock); in _hurd_alloc_fd()
|
A D | catch-exc.c | 40 struct hurd_signal_detail d; in _S_catch_exception_raise() local 46 d.exc = exception; in _S_catch_exception_raise() 49 d.exc_code = code[0]; in _S_catch_exception_raise() 50 d.exc_subcode = code[1]; in _S_catch_exception_raise() 52 d.exc_code = code; in _S_catch_exception_raise() 53 d.exc_subcode = subcode; in _S_catch_exception_raise() 58 _hurd_exception2signal (&d, &signo); in _S_catch_exception_raise() 88 _hurd_internal_post_signal (ss, signo, &d, in _S_catch_exception_raise()
|
A D | setauth.c | 35 unsigned int d; in _hurd_setauth() local 64 for (d = 0; d < _hurd_init_dtablesize; ++d) in _hurd_setauth() 65 if (_hurd_init_dtable[d] != MACH_PORT_NULL) in _hurd_setauth() 69 if (! __io_reauthenticate (_hurd_init_dtable[d], in _hurd_setauth() 78 _hurd_init_dtable[d]); in _hurd_setauth() 79 _hurd_init_dtable[d] = new; in _hurd_setauth()
|
A D | hurdfchdir.c | 30 struct hurd_fd *d = _hurd_fd_get (fd); in _hurd_change_directory_port_from_fd() local 32 if (!d) in _hurd_change_directory_port_from_fd() 38 ret = HURD_PORT_USE (&d->port, in _hurd_change_directory_port_from_fd()
|
A D | fd-cleanup.c | 30 _hurd_port_free (&data->d->port, &data->ulink, data->port); 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 | hurdfault.c | 53 struct hurd_signal_detail d; local 59 d.exc = exception; 62 d.exc_code = code[0]; 63 d.exc_subcode = code[1]; 65 d.exc_code = code; 66 d.exc_subcode = subcode; 71 _hurd_exception2signal (&d, &signo); 73 return HURD_PREEMPT_SIGNAL_P (&_hurdsig_fault_preemptor, signo, d.exc_subcode)
|
A D | hurdexec.c | 174 struct hurd_fd *const d = _hurd_dtable[i]; in _hurd_exec_paths() local 175 if (d == NULL) in _hurd_exec_paths() 180 __spin_lock (&d->port.lock); in _hurd_exec_paths() 181 if (d->flags & FD_CLOEXEC) in _hurd_exec_paths() 186 if (pdp && d->port.port != MACH_PORT_NULL) in _hurd_exec_paths() 189 *pdp++ = d->port.port; in _hurd_exec_paths() 190 if (d->ctty.port != MACH_PORT_NULL) in _hurd_exec_paths() 191 *pdp++ = d->ctty.port; in _hurd_exec_paths() 193 __spin_unlock (&d->port.lock); in _hurd_exec_paths() 202 *pdp++ = d->ctty.port; in _hurd_exec_paths() [all …]
|
A D | hurdstartup.c | 170 struct hurd_startup_data *d = (void *) &envp[envc + 1]; in _hurd_startup() local 172 if ((void *) d != argv[0]) in _hurd_startup() 174 *d = data; in _hurd_startup() 175 _hurd_init_dtable = d->dtable; in _hurd_startup() 176 _hurd_init_dtablesize = d->dtablesize; in _hurd_startup()
|
A D | hurdioctl.c | 170 struct hurd_fd *const d = _hurd_dtable[i]; in _hurd_locked_install_cttyid() local 173 if (d == NULL) in _hurd_locked_install_cttyid() 179 HURD_PORT_USE (&d->port, in _hurd_locked_install_cttyid() 197 _hurd_port_set (&d->ctty, newctty); in _hurd_locked_install_cttyid()
|
A D | hurdsig.c | 1351 int d; in signal_allowed() local 1354 for (d = 0; !lucky && (unsigned) d < (unsigned) _hurd_dtablesize; ++d) in signal_allowed() 1359 if (_hurd_dtable[d] == NULL) in signal_allowed() 1398 struct hurd_signal_detail d; in _S_msg_sig_post() local 1403 d.code = d.exc_subcode = sigcode; in _S_msg_sig_post() 1404 d.exc = 0; in _S_msg_sig_post() 1410 signo, &d, reply_port, reply_port_type, in _S_msg_sig_post() 1427 struct hurd_signal_detail d; in _S_msg_sig_post_untraced() local 1432 d.code = d.exc_subcode = sigcode; in _S_msg_sig_post_untraced() 1433 d.exc = 0; in _S_msg_sig_post_untraced() [all …]
|
A D | Makefile | 108 $(objpfx)hurdfault.o $(objpfx)hurdfault.d: \
|
A D | Versions | 99 # d*
|