| /xnu-12377.81.4/osfmk/ipc/ |
| H A D | ipc_port.h | 306 #define ip_type(port) io_type(ip_to_object(port)) macro 322 #define ip_is_exception_port(port) (ip_type(port) == IOT_EXCEPTION_PORT) 323 #define ip_is_provisional_reply_port(port) (ip_type(port) == IOT_PROVISIONAL_REPLY_PORT) 325 #define ip_is_special_reply_port(port) (ip_is_special_reply_port_type(ip_type(port))) 326 #define ip_is_any_service_port(port) ip_is_any_service_port_type(ip_type(port)) 327 #define ip_is_strong_service_port(port) ip_is_strong_service_port_type(ip_type(port)) 328 #define ip_is_bootstrap_port(port) ip_is_bootstrap_port_type(ip_type(port)) 329 #define ip_is_port_array_allowed(port) (ip_type(port) == IOT_CONNECTION_PORT_WITH_PORT_ARR… 330 #define ip_is_timer(port) (ip_type(port) == IOT_TIMER_PORT) 355 ipc_object_type_t type = ip_type(port); in ip_is_reply_port() [all …]
|
| H A D | ipc_policy.c | 858 natural_t otype = ip_type(port); in ipc_validate_kmsg_dest_from_user() 942 ip_type(dest_port)), in ipc_validate_kmsg_header_from_user() 1007 if (ip_type(port) == IOT_PROVISIONAL_REPLY_PORT && in ipc_move_receive_allowed() 1042 switch (ip_type(port)) { in ipc_should_mark_immovable_send() 1165 uint64_t payload = MPG_PAYLOAD(MPG_FLAGS_NONE, ip_type(port), disp); in mach_port_guard_exception_immovable() 1362 …mach_port_guard_exception(ip_type(pd_port), MACH_NOTIFY_PORT_DESTROYED, kGUARD_EXC_INVALID_NOTIFIC… in ipc_allow_register_pd_notification() 1391 port, ip_type(port)); in no_kobject_no_senders()
|
| H A D | mach_debug.c | 451 switch (ip_type(port)) { in mach_port_kobject_type() 561 kaddr = (mach_vm_address_t)ipc_kobject_get_raw(port, ip_type(port)); in mach_port_kobject_description() 567 switch (ip_type(port)) { in mach_port_kobject_description()
|
| H A D | ipc_notify.c | 137 ipc_object_type_t type = ip_type(port); in ipc_notify_no_senders_prepare()
|
| H A D | ipc_policy.h | 406 return ipc_policy(ip_type(port)); in ipc_policy()
|
| H A D | ipc_eventlink.c | 1008 if (ip_active(port) && ip_type(port) == IKOT_EVENTLINK) { in convert_port_to_eventlink_locked()
|
| H A D | ipc_right.c | 504 mach_port_guard_exception(ip_type(port), id, kGUARD_EXC_INVALID_NOTIFICATION_REQ); in ipc_right_request_alloc() 2151 MPG_PAYLOAD(MPG_FLAGS_NONE, ip_type(port), msgt_name), in ipc_right_copyin()
|
| H A D | ipc_voucher.c | 356 if (IP_VALID(port) && ip_type(port) == IKOT_VOUCHER) { in convert_port_to_voucher() 429 assert(ip_type(port) == IKOT_VOUCHER); in ipc_voucher_no_senders()
|
| H A D | ipc_kmsg.c | 408 assert(ip_type(voucher_port) == IKOT_VOUCHER); in ipc_kmsg_set_voucher_port() 1910 ip_type(voucher_entry->ie_port) != IKOT_VOUCHER) { in ipc_kmsg_copyin_header_rights() 5558 dest_type = ip_type(dst_port); in ipc_kmsg_trace_send()
|
| H A D | ipc_port.c | 1154 port, ip_type(port)); in ipc_port_destroy()
|
| H A D | ipc_importance.c | 2553 assert(ip_type(voucher_port) == IKOT_VOUCHER); in ipc_importance_send()
|
| /xnu-12377.81.4/osfmk/kern/ |
| H A D | ipc_kobject.c | 659 if (ip_type(port) == IKOT_UEXT_OBJECT) { in ipc_kobject_server() 749 __func__, ip_type(reply_port), request_msgh_id); in ipc_kobject_server() 818 if (ip_type(port) != kotype) { in ipc_kobject_require_panic() 820 port, ip_type(port), kotype); in ipc_kobject_require_panic() 834 if (ip_type(port) != kotype) { in ipc_kobject_require() 864 if (ip_active(port) && ip_type(port) == type) { in ipc_kobject_get_locked() 1020 ip_type(*portp) != kotype) { in ipc_typed_port_copyin_send() 1078 if (kotype != IOT_ANY && IP_VALID(port) && ip_type(port) != kotype) { in ipc_typed_port_release_send() 1127 panic("port %p of type %d, expecting %d", port, ip_type(port), type); in __ipc_kobject_bad_type_panic() 1238 if (ip_type(port) != type) { in ipc_kobject_enable() [all …]
|
| H A D | task_ident.c | 89 ipc_kobject_type_t kotype = ip_type(port); in tidt_release() 347 assert(token && port && ip_type(port) == IKOT_TASK_FATAL); in task_id_token_set_port()
|
| H A D | ipc_host.c | 251 type = ip_type(port); in convert_port_to_host() 356 type = ip_type(port); in convert_port_to_pset_name() 376 ipc_kobject_type_t kotype = ip_type(port); in host_port_copy_send()
|
| H A D | ipc_tt.c | 1617 kotype = ip_type(port); in thread_get_special_port_from_user() 1918 kotype = ip_type(port); in task_get_special_port_from_user() 2459 ipc_kobject_type_t type = ip_type(port); in convert_port_to_task_with_flavor_locked_noref() 2966 ipc_kobject_type_t type = ip_type(port); in convert_port_to_thread_with_flavor_locked() 3350 ipc_kobject_type_t type = ip_type(kport); in port_name_to_current_task_internal_noref()
|
| H A D | exception.c | 553 ip_type(thread_port) == IKOT_THREAD_CONTROL) { in exception_deliver()
|
| H A D | thread.c | 4059 kotype = ip_type(port); in thread_port_with_flavor_no_senders()
|
| H A D | task.c | 2844 kotype = ip_type(port); in task_port_with_flavor_no_senders() 4104 kotype = ip_type(port); in task_threads_from_user()
|
| /xnu-12377.81.4/osfmk/device/ |
| H A D | iokit_rpc.c | 217 if (type != IOT_ANY && ip_type(port) != type) { in iokit_lookup_raw_current_task() 306 return ip_type(port); in iokit_port_type() 374 type = ip_type( port ); in iokit_clear_registered_ports()
|
| /xnu-12377.81.4/osfmk/vm/ |
| H A D | vm_memory_entry.c | 1747 if (ip_type(owner_port) == IKOT_TASK_ID_TOKEN) { in mach_memory_entry_ownership_from_user() 2012 assert(ip_type(port) == IKOT_NAMED_ENTRY); in mach_memory_entry_port_release() 2222 assertf(ip_type(port) == IKOT_NAMED_ENTRY, in memory_entry_check_for_adjustment() 2224 IKOT_NAMED_ENTRY, ip_type(port)); in memory_entry_check_for_adjustment() 2260 if (!IP_VALID(port) || ip_type(port) != IKOT_NAMED_ENTRY) { in vm_convert_port_to_named_entry()
|
| H A D | vm_map.c | 4436 } else if (ip_type(port) == IKOT_NAMED_ENTRY) { in vm_map_enter_mem_object() 5030 } else if (ip_type(port) == IKOT_MEMORY_OBJECT) { in vm_map_enter_mem_object() 22700 if (ip_type(port) != IKOT_NAMED_ENTRY) { in convert_port_entry_to_map()
|