Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/kern/
H A Dipc_kobject.c686 if (ip_kotype(port) == IKOT_UEXT_OBJECT) { in ipc_kobject_server()
776 __func__, ip_kotype(reply_port), request_msgh_id); in ipc_kobject_server()
860 if (ip_kotype(port) != kotype) { in ipc_kobject_require_panic()
862 port, ip_kotype(port), kotype); in ipc_kobject_require_panic()
876 if (__improbable(ip_kotype(port) != kotype)) { in ipc_kobject_require()
908 if (ip_active(port) && type == ip_kotype(port)) { in ipc_kobject_get_locked()
1395 panic("port %p of type %d, expecting %d", port, ip_kotype(port), type); in __ipc_kobject_dealloc_bad_type_panic()
1430 if (ip_kotype(port) != type) { in ipc_kobject_dealloc_port_and_unlock()
1505 if (type != ip_kotype(port)) { in ipc_kobject_enable()
1507 __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.c1806 kotype = ip_kotype(port); in thread_get_special_port_from_user()
2104 kotype = ip_kotype(port); in task_get_special_port_from_user()
2634 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_task_with_flavor_locked_noref()
3141 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_thread_with_flavor_locked()
3507 ipc_kobject_type_t type = ip_kotype(kport); in port_name_to_current_task_internal_noref()
H A Dexception.c554 ip_kotype(thread_port) == IKOT_THREAD_CONTROL) { in exception_deliver()
H A Dthread.c3984 kotype = ip_kotype(port); in thread_port_with_flavor_no_senders()
H A Dtask.c2707 kotype = ip_kotype(port); in task_port_with_flavor_no_senders()
3900 kotype = ip_kotype(port); in task_threads_from_user()
/xnu-11215.1.10/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-11215.1.10/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.c417 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_kmsg_set_voucher_port()
2067 assert(ip_kotype(dport) != IKOT_TIMER); in ipc_kmsg_copyin_header()
3526 assert(ip_kotype(voucher) == IKOT_VOUCHER); in ipc_kmsg_copyout_header()
5681 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-11215.1.10/osfmk/vm/
H A Dvm_memory_entry.c1723 if (ip_kotype(owner_port) == IKOT_TASK_ID_TOKEN) { in mach_memory_entry_ownership_from_user()
1985 assert(ip_kotype(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release()
2166 …assertf(ip_kotype(port) == IKOT_NAMED_ENTRY, "Port Type expected: %d...received:%d\n", IKOT_NAMED_… in memory_entry_check_for_adjustment()
H A Dvm_map.c4016 } else if (ip_kotype(port) == IKOT_NAMED_ENTRY) { in vm_map_enter_mem_object()
4572 } else if (ip_kotype(port) == IKOT_MEMORY_OBJECT) { in vm_map_enter_mem_object()
20684 if (ip_kotype(port) != IKOT_NAMED_ENTRY) { in convert_port_entry_to_map()