Searched refs:ip_kotype (Results 1 – 18 of 18) sorted by relevance
| /xnu-11417.140.69/osfmk/kern/ |
| H A D | ipc_kobject.c | 685 if (ip_kotype(port) == IKOT_UEXT_OBJECT) { in ipc_kobject_server() 775 __func__, ip_kotype(reply_port), request_msgh_id); in ipc_kobject_server() 859 if (ip_kotype(port) != kotype) { in ipc_kobject_require_panic() 861 port, ip_kotype(port), kotype); in ipc_kobject_require_panic() 875 if (__improbable(ip_kotype(port) != kotype)) { in ipc_kobject_require() 907 if (ip_active(port) && type == ip_kotype(port)) { in ipc_kobject_get_locked() 1286 ip_kotype(*portp) != kotype) { in ipc_typed_port_copyin_send() 1346 ip_kotype(port) != kotype) { in ipc_typed_port_release_send() 1434 panic("port %p of type %d, expecting %d", port, ip_kotype(port), type); in __ipc_kobject_dealloc_bad_type_panic() 1469 if (ip_kotype(port) != type) { in ipc_kobject_dealloc_port_and_unlock() [all …]
|
| H A D | task_ident.c | 89 int kotype = ip_kotype(port); in tidt_release() 343 assert(token && port && (ip_kotype(port) == IKOT_TASK_FATAL)); in task_id_token_set_port()
|
| H A D | ipc_host.c | 248 type = ip_kotype(port); in convert_port_to_host() 353 type = ip_kotype(port); in convert_port_to_pset_name() 373 ipc_kobject_type_t kotype = ip_kotype(port); in host_port_copy_send()
|
| H A D | mk_timer.c | 228 if (ip_kotype(entry->ie_port) != IKOT_TIMER) { in mk_timer_destroy_trap()
|
| H A D | ipc_tt.c | 1807 kotype = ip_kotype(port); in thread_get_special_port_from_user() 2109 kotype = ip_kotype(port); in task_get_special_port_from_user() 2647 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_task_with_flavor_locked_noref() 3154 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_thread_with_flavor_locked() 3520 ipc_kobject_type_t type = ip_kotype(kport); in port_name_to_current_task_internal_noref()
|
| H A D | exception.c | 554 ip_kotype(thread_port) == IKOT_THREAD_CONTROL) { in exception_deliver()
|
| H A D | thread.c | 4017 kotype = ip_kotype(port); in thread_port_with_flavor_no_senders()
|
| H A D | task.c | 2730 kotype = ip_kotype(port); in task_port_with_flavor_no_senders() 3982 kotype = ip_kotype(port); in task_threads_from_user()
|
| /xnu-11417.140.69/osfmk/device/ |
| H A D | iokit_rpc.c | 224 if (type != IKOT_UNKNOWN && ip_kotype(port) != type) { in iokit_lookup_raw_current_task() 336 return ip_kotype(port); in iokit_port_type() 403 type = ip_kotype( port ); in iokit_no_senders() 466 type = ip_kotype( port ); in iokit_clear_registered_ports()
|
| /xnu-11417.140.69/osfmk/ipc/ |
| H A D | ipc_port.h | 318 #define ip_kotype(port) io_kotype(ip_to_object(port)) macro 321 (ip_kotype(port) == IKOT_TASK_CONTROL || ip_kotype(port) == IKOT_THREAD_CONTROL)
|
| H A D | ipc_port.c | 2862 } else if (ip_kotype(port) == IKOT_NONE) { in ipc_port_make_send_mqueue() 2911 } else if (ip_kotype(port) == IKOT_NONE) { in ipc_port_copy_send_mqueue() 2975 assert(ip_kotype(sright) == IKOT_THREAD_CONTROL); in ipc_port_copyout_send_pinned()
|
| H A D | ipc_eventlink.c | 1008 if (ip_active(port) && ip_kotype(port) == IKOT_EVENTLINK) { in convert_port_to_eventlink_locked()
|
| H A D | ipc_policy.c | 651 natural_t kotype = ip_kotype(port); in ipc_validate_kmsg_dest_from_user()
|
| H A D | ipc_kmsg.c | 416 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_kmsg_set_voucher_port() 2005 ip_kotype(voucher_entry->ie_port) != IKOT_VOUCHER) { in ipc_kmsg_copyin_header_rights() 2217 assert(ip_kotype(st.dest_port) != IKOT_TIMER); in ipc_kmsg_copyin_header() 3586 assert(ip_kotype(voucher) == IKOT_VOUCHER); in ipc_kmsg_copyout_header() 5729 kotype = ip_kotype(dst_port); in ipc_kmsg_trace_send()
|
| H A D | ipc_voucher.c | 356 if (IP_VALID(port) && ip_kotype(port) == IKOT_VOUCHER) { in convert_port_to_voucher() 429 assert(IKOT_VOUCHER == ip_kotype(port)); in ipc_voucher_no_senders()
|
| H A D | ipc_importance.c | 2563 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_importance_send()
|
| /xnu-11417.140.69/osfmk/vm/ |
| H A D | vm_memory_entry.c | 1738 if (ip_kotype(owner_port) == IKOT_TASK_ID_TOKEN) { in mach_memory_entry_ownership_from_user() 2002 assert(ip_kotype(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release() 2183 …assertf(ip_kotype(port) == IKOT_NAMED_ENTRY, "Port Type expected: %d...received:%d\n", IKOT_NAMED_… in memory_entry_check_for_adjustment() 2219 if (!IP_VALID(port) || ip_kotype(port) != IKOT_NAMED_ENTRY) { in vm_convert_port_to_copy_object()
|
| H A D | vm_map.c | 4113 } else if (ip_kotype(port) == IKOT_NAMED_ENTRY) { in vm_map_enter_mem_object() 4676 } else if (ip_kotype(port) == IKOT_MEMORY_OBJECT) { in vm_map_enter_mem_object() 21268 if (ip_kotype(port) != IKOT_NAMED_ENTRY) { in convert_port_entry_to_map()
|