Home
last modified time | relevance | path

Searched refs:current_space (Results 1 – 17 of 17) sorted by relevance

/xnu-8792.61.2/osfmk/kern/
H A Dmk_timer.c93 ipc_space_t myspace = current_space(); in mk_timer_create_trap()
227 ipc_space_t myspace = current_space(); in mk_timer_destroy_trap()
266 ipc_space_t myspace = current_space(); in mk_timer_arm_trap_internal()
350 ipc_space_t myspace = current_space(); in mk_timer_cancel_trap()
H A Dipc_clock.c115 space = current_space(); in port_name_to_clock()
H A Dwork_interval.c547 kr = ipc_port_translate_send(current_space(), name, &port); in port_name_to_work_interval()
1122 name = ipc_port_copyout_send(work_interval->wi_port, current_space()); in kern_work_interval_create()
H A Dipc_host.c178 name = ipc_port_copyout_send(sright, current_space()); in host_self_trap()
H A Dipc_tt.c1400 ipc_space_t space = current_space(); in thread_self_trap()
3388 kr = ipc_port_translate_send(current_space(), name, &kport); in port_name_to_thread()
3649 kr = ipc_port_translate_send(current_space(), name, &kport); in port_name_to_task_name()
3676 kr = ipc_port_translate_send(current_space(), name, &port); in port_name_to_task_id_token()
3702 kr = ipc_port_translate_send(current_space(), name, &port); in port_name_to_host()
H A Dsync_sema.c1182 kr = ipc_port_translate_send(current_space(), name, &port); in port_name_to_semaphore()
H A Dtask.c3785 kr = ipc_object_copyout(current_space(), ip_to_object(port), in task_suspend()
6102 …kr = ipc_port_translate_receive(current_space(), rcv_name, &sright); /* does not produce port ref … in task_dyld_process_info_notify_deregister()
9026 ipc_object_copyout(current_space(), ip_to_object(task_fatal_port), MACH_MSG_TYPE_PORT_SEND, in current_task_get_fatal_port_name()
/xnu-8792.61.2/osfmk/ipc/
H A Dipc_space.h240 #define current_space() (current_task()->itk_space) macro
313 extern ipc_space_t current_space(void);
H A Dmach_kernelrpc.c520 voucher_name = ipc_port_copyout_send(voucher_port, current_space()); in host_create_mach_voucher_trap()
706 new_name = ipc_port_copyout_send(sright, current_space()); /* consumes */ in task_dyld_process_info_notify_get_trap()
757 if (ipc_right_lookup_write(current_space(), copyout_names[i], &entry)) { in task_dyld_process_info_notify_get_trap()
765 (void)ipc_right_dealloc(current_space(), copyout_names[i], entry); /* unlocks space */ in task_dyld_process_info_notify_get_trap()
767 is_write_unlock(current_space()); in task_dyld_process_info_notify_get_trap()
H A Dmach_msg.c204 ipc_space_t space = current_space(); in mach_msg_receive_results_kevent()
743 ipc_space_t space = current_space(); in mach_msg_trap_send()
849 ipc_space_t space = current_space(); in mach_msg_trap_receive()
1226 kr = ipc_port_translate_send(current_space(), dest_name_port, &dest_port); in mach_msg_rcv_link_special_reply_port()
H A Dipc_service_port.c179 kr = ipc_port_translate_send(current_space(), service_port_name, &port); in ipc_service_port_derive_sblabel()
H A Dipc_pset.c555 ipc_space_t space = current_space(); in filt_wlattach_sync_ipc()
615 ipc_space_t space = current_space(); in filt_machportattach()
H A Dmach_debug.c547 if (space != current_space()) { in mach_port_special_reply_port_reset_link()
H A Dmach_port.c1764 (space == current_space() && msgt_name == MACH_MSG_TYPE_COPY_SEND) ? in mach_port_extract_right()
2392 if (space == current_space()) { in mach_port_guard_exception_immovable()
2420 if (space == current_space()) { in mach_port_guard_exception_pinned()
H A Dipc_eventlink.c1049 kr = ipc_port_translate_send(current_space(), name, &kern_port); in port_name_to_eventlink()
H A Dipc_voucher.c371 kr = ipc_port_translate_send(current_space(), voucher_name, &port); in convert_port_name_to_voucher()
/xnu-8792.61.2/osfmk/device/
H A Diokit_rpc.c192 return iokit_lookup_object_in_space_with_port_name(name, IKOT_IOKIT_CONNECT, current_space()); in iokit_lookup_connect_ref_current_task()
198 return iokit_lookup_object_in_space_with_port_name(name, IKOT_UEXT_OBJECT, current_space()); in iokit_lookup_uext_ref_current_task()
211 …kern_return_t kr = ipc_object_copyin(current_space(), name, MACH_MSG_TYPE_COPY_SEND, (ipc_object_t… in iokit_lookup_raw_current_task()