Home
last modified time | relevance | path

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

/xnu-8020.101.4/osfmk/kern/
H A Dipc_kobject.c450 if (ip_kotype(port) == IKOT_TASK_CONTROL && port != curtask->itk_self) { in ipc_kobject_server_internal()
578 if (ip_kotype(port) == IKOT_UEXT_OBJECT) { in ipc_kobject_server()
674 __func__, ip_kotype(reply_port), request_msgh_id); in ipc_kobject_server()
774 if (ip_active(port) && type == ip_kotype(port)) { in ipc_kobject_get_locked()
1234 panic("port %p of type %d, expecting %d", port, ip_kotype(port), type); in __ipc_kobject_dealloc_bad_type_panic()
1269 if (ip_kotype(port) != type) { in ipc_kobject_dealloc_port_and_unlock()
1344 if (type != ip_kotype(port)) { in ipc_kobject_enable()
1346 __func__, port, type, ip_kotype(port)); in ipc_kobject_enable()
1371 if (ip_kotype(port) != type) { in ipc_kobject_disable_locked()
1373 port, ip_kotype(port), type); in ipc_kobject_disable_locked()
[all …]
H A Dtask_ident.c102 int kotype = ip_kotype(port); in tidt_release()
352 assert(token && port && (ip_kotype(port) == IKOT_TASK_FATAL)); in task_id_token_set_port()
H A Dipc_clock.c86 type = ip_kotype(port); in convert_port_to_clock()
H A Dipc_host.c243 type = ip_kotype(port); in convert_port_to_host()
348 type = ip_kotype(port); in convert_port_to_pset_name()
H A Dmk_timer.c215 if (ip_kotype(port) == IKOT_TIMER) { in mk_timer_destroy_trap()
H A Dipc_tt.c1673 kotype = ip_kotype(port); in thread_get_special_port_from_user()
1954 kotype = ip_kotype(port); in task_get_special_port_from_user()
2462 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_task_with_flavor_locked_noref()
3024 ipc_kobject_type_t type = ip_kotype(port); in convert_port_to_thread_with_flavor_locked()
3334 ipc_kobject_type_t type = ip_kotype(kport); in port_name_to_current_task_internal_noref()
H A Dthread.c3715 kotype = ip_kotype(port); in thread_port_with_flavor_no_senders()
H A Dtask.c2471 kotype = ip_kotype(port); in task_port_with_flavor_no_senders()
3516 kotype = ip_kotype(port); in task_threads_from_user()
/xnu-8020.101.4/osfmk/ipc/
H A Dipc_port.h286 #define ip_kotype(port) io_kotype(ip_to_object(port)) macro
289 …(ip_is_kobject(port) && (ip_kotype(port) == IKOT_TASK_CONTROL || ip_kotype(port) == IKOT_THREAD_CO…
H A Dipc_eventlink.c1007 if (ip_active(port) && ip_kotype(port) == IKOT_EVENTLINK) { in convert_port_to_eventlink_locked()
H A Dipc_kmsg.c1041 kotype = ip_kotype(dst_port); in ipc_kmsg_trace_send()
3087 assert(ip_kotype(dport) != IKOT_HOST_NOTIFY && ip_kotype(dport) != IKOT_TIMER); in ipc_kmsg_copyin_header()
4492 assert(ip_kotype(voucher) == IKOT_VOUCHER); in ipc_kmsg_copyout_header()
5649 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_kmsg_set_voucher_port()
H A Dipc_voucher.c386 if (IP_VALID(port) && ip_kotype(port) == IKOT_VOUCHER) { in convert_port_to_voucher()
459 assert(IKOT_VOUCHER == ip_kotype(port)); in ipc_voucher_no_senders()
H A Dipc_port.c2812 assert(ip_kotype(sright) == IKOT_THREAD_CONTROL); in ipc_port_copyout_send_pinned()
H A Dipc_importance.c2543 assert(ip_kotype(voucher_port) == IKOT_VOUCHER); in ipc_importance_send()
/xnu-8020.101.4/osfmk/device/
H A Diokit_rpc.c216 *type = ip_kotype(port); in iokit_lookup_raw_current_task()
406 type = ip_kotype( port ); in iokit_no_senders()
/xnu-8020.101.4/osfmk/vm/
H A Dmemory_object.c1467 } else if (ip_kotype(port) == IKOT_MEM_OBJ_CONTROL) { in memory_object_iopl_request()
H A Dvm_map.c4133 } else if (ip_kotype(port) == IKOT_NAMED_ENTRY) { in vm_map_enter_mem_object_helper()
4577 } else if (ip_kotype(port) == IKOT_MEMORY_OBJECT) { in vm_map_enter_mem_object_helper()
17949 …assertf(ip_kotype(port) == IKOT_NAMED_ENTRY, "Port Type expected: %d...received:%d\n", IKOT_NAMED_… in memory_entry_check_for_adjustment()
19869 if (ip_kotype(port) != IKOT_NAMED_ENTRY) { in convert_port_entry_to_map()
H A Dvm_user.c3857 assert(ip_kotype(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release()