Home
last modified time | relevance | path

Searched refs:ip_kotype (Results 1 – 18 of 18) sorted by relevance

/xnu-10063.141.1/osfmk/kern/
H A Dipc_kobject.c690 if (ip_kotype(port) == IKOT_UEXT_OBJECT) { in ipc_kobject_server()
780 __func__, ip_kotype(reply_port), request_msgh_id); in ipc_kobject_server()
864 if (ip_kotype(port) != kotype) { in ipc_kobject_require_panic()
866 port, ip_kotype(port), kotype); in ipc_kobject_require_panic()
880 if (__improbable(ip_kotype(port) != kotype)) { in ipc_kobject_require()
912 if (ip_active(port) && type == ip_kotype(port)) { in ipc_kobject_get_locked()
1399 panic("port %p of type %d, expecting %d", port, ip_kotype(port), type); in __ipc_kobject_dealloc_bad_type_panic()
1434 if (ip_kotype(port) != type) { in ipc_kobject_dealloc_port_and_unlock()
1509 if (type != ip_kotype(port)) { in ipc_kobject_enable()
1511 __func__, port, type, ip_kotype(port)); in ipc_kobject_enable()
[all …]
H A Dtask_ident.c102 int kotype = ip_kotype(port); in tidt_release()
356 assert(token && port && (ip_kotype(port) == IKOT_TASK_FATAL)); in task_id_token_set_port()
H A Dipc_host.c248 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 Dmk_timer.c230 if (ip_kotype(port) != IKOT_TIMER) { in mk_timer_destroy_trap()
H A Dipc_tt.c1741 kotype = ip_kotype(port); in thread_get_special_port_from_user()
2039 kotype = ip_kotype(port); in task_get_special_port_from_user()
2567 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_task_with_flavor_locked_noref()
3074 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_thread_with_flavor_locked()
3440 ipc_kobject_type_t type = ip_kotype(kport); in port_name_to_current_task_internal_noref()
H A Dexception.c480 ip_kotype(thread_port) == IKOT_THREAD_CONTROL) { in exception_deliver()
H A Dthread.c3973 kotype = ip_kotype(port); in thread_port_with_flavor_no_senders()
H A Dtask.c2700 kotype = ip_kotype(port); in task_port_with_flavor_no_senders()
3891 kotype = ip_kotype(port); in task_threads_from_user()
/xnu-10063.141.1/osfmk/device/
H A Diokit_rpc.c209 *type = ip_kotype(port); in iokit_lookup_raw_current_task()
317 return ip_kotype(port); in iokit_port_type()
383 type = ip_kotype( port ); in iokit_no_senders()
446 type = ip_kotype( port ); in iokit_clear_registered_ports()
/xnu-10063.141.1/osfmk/ipc/
H A Dipc_port.h320 #define ip_kotype(port) io_kotype(ip_to_object(port)) macro
323 (ip_kotype(port) == IKOT_TASK_CONTROL || ip_kotype(port) == IKOT_THREAD_CONTROL)
H A Dipc_policy.c641 natural_t kotype = ip_kotype(port); in ipc_validate_kmsg_dest_from_user()
H A Dipc_port.c2843 } else if (ip_kotype(port) == IKOT_NONE) { in ipc_port_make_send_mqueue()
2892 } else if (ip_kotype(port) == IKOT_NONE) { in ipc_port_copy_send_mqueue()
2956 assert(ip_kotype(sright) == IKOT_THREAD_CONTROL); in ipc_port_copyout_send_pinned()
H A Dipc_eventlink.c1008 if (ip_active(port) && ip_kotype(port) == IKOT_EVENTLINK) { in convert_port_to_eventlink_locked()
H A Dipc_voucher.c356 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 Dipc_kmsg.c416 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_kmsg_set_voucher_port()
2066 assert(ip_kotype(dport) != IKOT_TIMER); in ipc_kmsg_copyin_header()
3525 assert(ip_kotype(voucher) == IKOT_VOUCHER); in ipc_kmsg_copyout_header()
5680 kotype = ip_kotype(dst_port); in ipc_kmsg_trace_send()
H A Dipc_importance.c2563 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_importance_send()
/xnu-10063.141.1/osfmk/vm/
H A Dvm_user.c3878 if (ip_kotype(owner_port) == IKOT_TASK_ID_TOKEN) { in mach_memory_entry_ownership_from_user()
4096 assert(ip_kotype(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release()
H A Dvm_map.c4235 } else if (ip_kotype(port) == IKOT_NAMED_ENTRY) { in vm_map_enter_mem_object_helper()
4779 } else if (ip_kotype(port) == IKOT_MEMORY_OBJECT) { in vm_map_enter_mem_object_helper()
19041 …assertf(ip_kotype(port) == IKOT_NAMED_ENTRY, "Port Type expected: %d...received:%d\n", IKOT_NAMED_… in memory_entry_check_for_adjustment()
20904 if (ip_kotype(port) != IKOT_NAMED_ENTRY) { in convert_port_entry_to_map()