Lines Matching refs:kport

157 	ipc_port_t kport;  in ipc_task_create()  local
163 kport = ipc_port_alloc_kernel(); in ipc_task_create()
164 if (kport == IP_NULL) in ipc_task_create()
167 task->itk_self = kport; in ipc_task_create()
168 task->itk_sself = ipc_port_make_send(kport); in ipc_task_create()
228 ipc_port_t kport; in ipc_task_enable() local
231 kport = task->itk_self; in ipc_task_enable()
232 if (kport != IP_NULL) in ipc_task_enable()
233 ipc_kobject_set(kport, (ipc_kobject_t) task, IKOT_TASK); in ipc_task_enable()
249 ipc_port_t kport; in ipc_task_disable() local
252 kport = task->itk_self; in ipc_task_disable()
253 if (kport != IP_NULL) in ipc_task_disable()
254 ipc_kobject_set(kport, IKO_NULL, IKOT_NONE); in ipc_task_disable()
271 ipc_port_t kport; in ipc_task_terminate() local
275 kport = task->itk_self; in ipc_task_terminate()
277 if (kport == IP_NULL) { in ipc_task_terminate()
310 ipc_port_dealloc_kernel(kport); in ipc_task_terminate()
362 ipc_port_t kport; int i; in ipc_thr_act_init() local
364 kport = ipc_port_alloc_kernel(); in ipc_thr_act_init()
365 if (kport == IP_NULL) in ipc_thr_act_init()
368 thr_act->ith_self = kport; in ipc_thr_act_init()
369 thr_act->ith_sself = ipc_port_make_send(kport); in ipc_thr_act_init()
377 ipc_kobject_set(kport, (ipc_kobject_t) thr_act, IKOT_ACT); in ipc_thr_act_init()
386 ipc_port_t kport;
389 kport = thr_act->ith_self;
391 if (kport != IP_NULL)
392 ipc_kobject_set(kport, IKO_NULL, IKOT_NONE);
401 ipc_port_t kport;
403 kport = thr_act->ith_self;
405 if (kport != IP_NULL)
406 ipc_kobject_set(kport, IKO_NULL, IKOT_NONE);
413 ipc_port_t kport; int i; in ipc_thr_act_terminate() local
416 kport = thr_act->ith_self; in ipc_thr_act_terminate()
418 if (kport == IP_NULL) { in ipc_thr_act_terminate()
437 ipc_port_dealloc_kernel(kport); in ipc_thr_act_terminate()