Lines Matching refs:port
61 io_t port, ctty; in __libc_fcntl() local
68 __spin_lock (&d->port.lock); in __libc_fcntl()
71 port = _hurd_port_locked_get (&d->port, &ulink); /* Unlocks D. */ in __libc_fcntl()
88 __mach_port_mod_refs (__mach_task_self (), port, in __libc_fcntl()
98 _hurd_port_locked_set (&new->port, port); /* Unlocks NEW. */ in __libc_fcntl()
103 _hurd_port_free (&d->port, &ulink, port); in __libc_fcntl()
105 _hurd_port_free (&d->ctty, &ctty_ulink, port); in __libc_fcntl()
114 __spin_lock (&d->port.lock); \ in __libc_fcntl()
115 if (d->port.port == MACH_PORT_NULL) \ in __libc_fcntl()
119 __spin_unlock (&d->port.lock); \ in __libc_fcntl()
167 err = HURD_FD_PORT_USE_CANCEL (d, __file_record_lock (port, cmd, in __libc_fcntl()
174 err = HURD_FD_PORT_USE (d, __file_record_lock (port, cmd, &fl64, in __libc_fcntl()
230 err = HURD_FD_PORT_USE_CANCEL (d, __file_record_lock (port, cmd, in __libc_fcntl()
237 err = HURD_FD_PORT_USE (d, __file_record_lock (port, cmd, fl, in __libc_fcntl()
267 if (err = HURD_FD_PORT_USE (d, __io_get_openmodes (port, &result))) in __libc_fcntl()
272 err = HURD_FD_PORT_USE (d, __io_set_all_openmodes (port, in __libc_fcntl()
278 if (err = HURD_FD_PORT_USE (d, __io_get_owner (port, &result))) in __libc_fcntl()
283 err = HURD_FD_PORT_USE (d, __io_mod_owner (port, va_arg (ap, pid_t))); in __libc_fcntl()