Searched refs:ip_kotype (Results 1 – 18 of 18) sorted by relevance
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | ipc_kobject.c | 451 if (ip_kotype(port) == IKOT_TASK_CONTROL && port != curtask->itk_self) { in ipc_kobject_server_internal() 579 if (ip_kotype(port) == IKOT_UEXT_OBJECT) { in ipc_kobject_server() 675 __func__, ip_kotype(reply_port), request_msgh_id); in ipc_kobject_server() 775 if (ip_active(port) && type == ip_kotype(port)) { in ipc_kobject_get_locked() 1243 if (ip_kotype(port) != type) { in ipc_kobject_dealloc_port_and_unlock() 1245 port, ip_kotype(port), type); in ipc_kobject_dealloc_port_and_unlock() 1321 if (type != ip_kotype(port)) { in ipc_kobject_enable() 1323 __func__, port, type, ip_kotype(port)); in ipc_kobject_enable() 1348 if (ip_kotype(port) != type) { in ipc_kobject_disable_locked() 1350 port, ip_kotype(port), type); in ipc_kobject_disable_locked() [all …]
|
| H A D | task_ident.c | 101 int kotype = ip_kotype(port); in tidt_release() 350 assert(token && port && (ip_kotype(port) == IKOT_TASK_FATAL)); in task_id_token_set_port()
|
| H A D | ipc_clock.c | 86 type = ip_kotype(port); in convert_port_to_clock()
|
| H A D | ipc_host.c | 243 type = ip_kotype(port); in convert_port_to_host() 348 type = ip_kotype(port); in convert_port_to_pset_name()
|
| H A D | mk_timer.c | 215 if (ip_kotype(port) == IKOT_TIMER) { in mk_timer_destroy_trap()
|
| H A D | ipc_tt.c | 1656 kotype = ip_kotype(port); in thread_get_special_port_from_user() 1933 kotype = ip_kotype(port); in task_get_special_port_from_user() 2446 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_locked_task_with_flavor() 2513 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_task_with_flavor_locked() 3019 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_thread_with_flavor_locked() 3328 ipc_kobject_type_t type = ip_kotype(kport); in port_name_to_current_task_internal_noref()
|
| H A D | thread.c | 3695 kotype = ip_kotype(port); in thread_port_with_flavor_no_senders()
|
| H A D | task.c | 2472 kotype = ip_kotype(port); in task_port_with_flavor_no_senders() 3513 kotype = ip_kotype(port); in task_threads_from_user()
|
| /xnu-8019.80.24/osfmk/ipc/ |
| H A D | ipc_port.h | 279 #define ip_kotype(port) io_kotype(ip_to_object(port)) macro 282 …(ip_is_kobject(port) && (ip_kotype(port) == IKOT_TASK_CONTROL || ip_kotype(port) == IKOT_THREAD_CO…
|
| H A D | ipc_eventlink.c | 1014 if (ip_active(port) && ip_kotype(port) == IKOT_EVENTLINK) { in convert_port_to_eventlink_locked()
|
| H A D | ipc_voucher.c | 394 if (IP_VALID(port) && ip_kotype(port) == IKOT_VOUCHER) { in convert_port_to_voucher() 467 assert(IKOT_VOUCHER == ip_kotype(port)); in ipc_voucher_no_senders()
|
| H A D | ipc_kmsg.c | 1041 kotype = ip_kotype(dst_port); in ipc_kmsg_trace_send() 4459 assert(ip_kotype(voucher) == IKOT_VOUCHER); in ipc_kmsg_copyout_header() 5615 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_kmsg_set_voucher_port()
|
| H A D | ipc_port.c | 2809 assert(ip_kotype(sright) == IKOT_THREAD_CONTROL); in ipc_port_copyout_send_pinned()
|
| H A D | ipc_importance.c | 2543 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_importance_send()
|
| /xnu-8019.80.24/osfmk/device/ |
| H A D | iokit_rpc.c | 216 *type = ip_kotype(port); in iokit_lookup_raw_current_task() 406 type = ip_kotype( port ); in iokit_no_senders()
|
| /xnu-8019.80.24/osfmk/vm/ |
| H A D | memory_object.c | 1471 } else if (ip_kotype(port) == IKOT_MEM_OBJ_CONTROL) { in memory_object_iopl_request()
|
| H A D | vm_map.c | 4129 } else if (ip_kotype(port) == IKOT_NAMED_ENTRY) { in vm_map_enter_mem_object_helper() 4581 } else if (ip_kotype(port) == IKOT_MEMORY_OBJECT) { in vm_map_enter_mem_object_helper() 17934 …assertf(ip_kotype(port) == IKOT_NAMED_ENTRY, "Port Type expected: %d...received:%d\n", IKOT_NAMED_… in memory_entry_check_for_adjustment() 19872 if (ip_kotype(port) != IKOT_NAMED_ENTRY) { in convert_port_entry_to_map()
|
| H A D | vm_user.c | 4000 assert(ip_kotype(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release()
|