Lines Matching refs:port
65 ipc_port_t port;
75 result = ipc_port_translate_receive(myspace, name, &port);
88 timer->port = port;
89 ipc_kobject_set_atomically(port, (ipc_kobject_t)timer, IKOT_TIMER);
91 port->ip_srights++;
92 ip_reference(port);
93 ip_unlock(port);
100 ipc_port_t port)
104 ip_lock(port);
105 if (ip_kotype(port) == IKOT_TIMER) {
106 timer = (mk_timer_t)port->ip_kobject;
108 ipc_kobject_set_atomically(port, IKO_NULL, IKOT_NONE);
110 assert(timer->port == port);
112 ip_unlock(port);
124 ipc_port_release_send(port);
148 ipc_port_t port;
158 port = timer->port;
159 assert(port != IP_NULL);
169 msg.header.msgh_remote_port = port;
184 ipc_port_release_send(port);
197 ipc_port_t port;
200 result = ipc_port_translate_receive(myspace, name, &port);
204 if (ip_kotype(port) == IKOT_TIMER) {
205 ip_unlock(port);
209 ip_unlock(port);
224 ipc_port_t port;
227 result = ipc_port_translate_receive(myspace, name, &port);
231 if (ip_kotype(port) == IKOT_TIMER) {
232 timer = (mk_timer_t)port->ip_kobject;
235 assert(timer->port == port);
236 ip_unlock(port);
248 ip_unlock(port);
264 ipc_port_t port;
267 result = ipc_port_translate_receive(myspace, name, &port);
271 if (ip_kotype(port) == IKOT_TIMER) {
272 timer = (mk_timer_t)port->ip_kobject;
275 assert(timer->port == port);
276 ip_unlock(port);
288 ip_unlock(port);