Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dipc_kobject.c451 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 Dtask_ident.c101 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 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.c1656 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 Dthread.c3695 kotype = ip_kotype(port); in thread_port_with_flavor_no_senders()
H A Dtask.c2472 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 Dipc_port.h279 #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 Dipc_eventlink.c1014 if (ip_active(port) && ip_kotype(port) == IKOT_EVENTLINK) { in convert_port_to_eventlink_locked()
H A Dipc_voucher.c394 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 Dipc_kmsg.c1041 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 Dipc_port.c2809 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-8019.80.24/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-8019.80.24/osfmk/vm/
H A Dmemory_object.c1471 } else if (ip_kotype(port) == IKOT_MEM_OBJ_CONTROL) { in memory_object_iopl_request()
H A Dvm_map.c4129 } 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 Dvm_user.c4000 assert(ip_kotype(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release()