Lines Matching refs:dtable
67 file_t *dtable; in _hurd_exec_paths() local
169 dtable = __alloca (dtablesize * sizeof (dtable[0])); in _hurd_exec_paths()
177 dtable[i] = MACH_PORT_NULL; in _hurd_exec_paths()
185 dtable[i] = MACH_PORT_NULL; in _hurd_exec_paths()
203 dtable[i] = _hurd_port_locked_get (&d->port, &ulink_dtable[i]); in _hurd_exec_paths()
210 dtable = _hurd_init_dtable; in _hurd_exec_paths()
216 while (dtablesize > 0 && dtable[dtablesize - 1] == MACH_PORT_NULL) in _hurd_exec_paths()
301 assert (dtable == _hurd_init_dtable); in _hurd_exec_paths()
302 dtable = __alloca (dtablesize * sizeof (dtable[0])); in _hurd_exec_paths()
308 err = reauth_io (_hurd_init_dtable[i], &dtable[i]); in _hurd_exec_paths()
312 dtable[i] = MACH_PORT_NULL; in _hurd_exec_paths()
317 dtable[i] = MACH_PORT_NULL; in _hurd_exec_paths()
325 memcpy (pdp, dtable, dtablesize * sizeof pdp[0]); in _hurd_exec_paths()
329 if (dtable[i] != MACH_PORT_NULL) in _hurd_exec_paths()
332 err = reauth_io (dtable[i], &newport); in _hurd_exec_paths()
334 dtable[i]); in _hurd_exec_paths()
335 dtable[i] = newport; in _hurd_exec_paths()
340 &ulink_dtable[i], dtable[i]); in _hurd_exec_paths()
372 *pdp++ = dtable[i]; in _hurd_exec_paths()
388 dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize, in _hurd_exec_paths()
400 dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize, in _hurd_exec_paths()
421 if (dtable[i] != MACH_PORT_NULL) in _hurd_exec_paths()
422 _hurd_port_free (dtable_cells[i], &ulink_dtable[i], dtable[i]); in _hurd_exec_paths()
424 else if (dtable && dtable != _hurd_init_dtable) in _hurd_exec_paths()
426 __mach_port_deallocate (__mach_task_self (), dtable[i]); in _hurd_exec_paths()