| /xnu-8019.80.24/osfmk/mach/ |
| H A D | mach_types.h | 176 typedef mach_port_t task_t; 177 typedef mach_port_t task_name_t; 178 typedef mach_port_t task_policy_set_t; 179 typedef mach_port_t task_policy_get_t; 180 typedef mach_port_t task_inspect_t; 181 typedef mach_port_t task_read_t; 182 typedef mach_port_t task_suspension_token_t; 183 typedef mach_port_t thread_t; 184 typedef mach_port_t thread_act_t; 185 typedef mach_port_t thread_inspect_t; [all …]
|
| H A D | mach_types.defs | 87 type upl_t = mach_port_t 88 intran: upl_t convert_port_to_upl(mach_port_t) 89 outtran: mach_port_t convert_upl_to_port(upl_t) 124 type task_t = mach_port_t 126 intran: task_t convert_port_to_task_mig(mach_port_t) 127 outtran: mach_port_t convert_task_to_port_kernel(task_t) 132 type task_name_t = mach_port_t 134 intran: task_name_t convert_port_to_task_name_mig(mach_port_t) 135 outtran: mach_port_t convert_task_name_to_port(task_name_t) 140 type task_policy_set_t = mach_port_t [all …]
|
| /xnu-8019.80.24/tests/ |
| H A D | exc_helpers.c | 60 mach_port_t exception_port, 61 mach_port_t thread, 62 mach_port_t task, 69 mach_port_t exception_port, 81 mach_port_t exception_port, 82 mach_port_t thread, 83 mach_port_t task, 101 mach_port_t exception_port, in catch_mach_exception_raise() 102 mach_port_t thread, in catch_mach_exception_raise() 103 mach_port_t task, in catch_mach_exception_raise() [all …]
|
| H A D | mach_eventlink.c | 33 test_eventlink_create(mach_port_t *port_pair) in test_eventlink_create() 70 mach_port_t eventlink_port = (mach_port_t) (uintptr_t)arg; in test_eventlink_wait_with_timeout() 71 mach_port_t self = mach_thread_self(); in test_eventlink_wait_with_timeout() 93 mach_port_t eventlink_port = (mach_port_t) (uintptr_t)arg; in test_eventlink_wait_no_wait() 94 mach_port_t self = mach_thread_self(); in test_eventlink_wait_no_wait() 115 mach_port_t eventlink_port = (mach_port_t) (uintptr_t)arg; in test_eventlink_wait_destroy() 116 mach_port_t self = mach_thread_self(); in test_eventlink_wait_destroy() 136 mach_port_t eventlink_port = (mach_port_t) (uintptr_t)arg; in test_eventlink_wait_for_signal() 137 mach_port_t self = mach_thread_self(); in test_eventlink_wait_for_signal() 158 mach_port_t eventlink_port = (mach_port_t) (uintptr_t)arg; in test_eventlink_wait_then_signal() [all …]
|
| H A D | immovable_send.c | 29 catch_mach_exception_raise_state(mach_port_t exception_port, in catch_mach_exception_raise_state() 45 catch_mach_exception_raise_state_identity(mach_port_t exception_port, in catch_mach_exception_raise_state_identity() 46 mach_port_t thread, in catch_mach_exception_raise_state_identity() 47 mach_port_t task, in catch_mach_exception_raise_state_identity() 63 catch_mach_exception_raise(mach_port_t exception_port, in catch_mach_exception_raise() 64 mach_port_t thread, in catch_mach_exception_raise() 65 mach_port_t task, in catch_mach_exception_raise() 86 mach_port_t server_port; 92 mach_port_t create_exception_port(void); 108 mach_port_t bsport; in server_setup() [all …]
|
| H A D | ipc_mach_port.c | 25 static mach_port_t 28 mach_port_t mp; in server_checkin() 36 static mach_port_t 39 mach_port_t mp; in server_lookup() 47 static mach_port_t 54 mach_port_t port; in make_sr_port() 62 destroy_port(mach_port_t port, bool receive, int srights) in destroy_port() 81 mach_port_t dest, in send_port() 82 mach_port_t right, in send_port() 112 static mach_port_t [all …]
|
| H A D | prioritize_process_launch.c | 43 static mach_port_t sr_port; 83 mach_port_t send_port, in send() 84 mach_port_t reply_port, in send() 85 mach_port_t msg_port, in send() 141 mach_port_t rcv_port, in receive() 142 mach_port_t notify_port) in receive() 201 thread_wait_to_block(mach_port_t thread_port) in thread_wait_to_block() 224 mach_port_t port = (mach_port_t)arg; in thread_sync_rcv() 225 mach_port_t special_reply_port; in thread_sync_rcv() 259 static mach_port_t [all …]
|
| H A D | exc_helpers.h | 49 typedef size_t (*exc_handler_callback_t)(mach_port_t task, mach_port_t thread, 61 mach_port_t 64 mach_port_t 75 run_exception_handler(mach_port_t exc_port, exc_handler_callback_t callback); 78 run_exception_handler_behavior64(mach_port_t exc_port, void *callback, exception_behavior_t behavio… 88 repeat_exception_handler(mach_port_t exc_port, exc_handler_callback_t callback);
|
| H A D | port_table_limits.c | 35 static mach_port_t resource_notify_port = MACH_PORT_NULL; 94 mach_port_t server_port; 95 mach_port_t reply_port; 107 mach_port_t create_exception_port(void); 108 static mach_port_t create_resource_notify_port(void); 132 mach_port_t bsport; in server_setup() 158 mach_port_t dummy_port; in server_run() 159 mach_port_t client_task_port; in server_run() 215 static mach_port_t 219 mach_port_t rn_port = MACH_PORT_NULL; in create_resource_notify_port() [all …]
|
| H A D | mach_service_port.c | 24 static mach_port_t service_port = MACH_PORT_NULL; 32 mach_port_t connection_port; 33 mach_port_t notify_port; 34 mach_port_t previous; 92 do_mach_notify_port_destroyed(mach_port_t notify, mach_port_t name) in do_mach_notify_port_destroyed() 122 do_mach_notify_port_deleted(__unused mach_port_t notify, __unused mach_port_name_t name) in do_mach_notify_port_deleted() 128 do_mach_notify_no_senders(__unused mach_port_t notify, __unused mach_port_mscount_t mscount) in do_mach_notify_no_senders() 134 do_mach_notify_send_once(__unused mach_port_t notify) in do_mach_notify_send_once() 140 do_mach_notify_dead_name(__unused mach_port_t notify, __unused mach_port_name_t name) in do_mach_notify_dead_name() 150 mach_port_t connection_port; [all …]
|
| H A D | imm_pinned_control_port.c | 86 catch_mach_exception_raise_state(mach_port_t exception_port, in catch_mach_exception_raise_state() 102 catch_mach_exception_raise_state_identity(mach_port_t exception_port, in catch_mach_exception_raise_state_identity() 103 mach_port_t thread, in catch_mach_exception_raise_state_identity() 104 mach_port_t task, in catch_mach_exception_raise_state_identity() 120 catch_mach_exception_raise(mach_port_t exception_port, in catch_mach_exception_raise() 121 mach_port_t thread, in catch_mach_exception_raise() 122 mach_port_t task, in catch_mach_exception_raise() 152 mach_port_t exc_port = *(mach_port_t *)arg; in exception_server_thread() 161 static mach_port_t 165 mach_port_t exc_port = MACH_PORT_NULL; in alloc_exception_port() [all …]
|
| H A D | prioritize_process_launch_helper.c | 29 mach_port_t 31 mach_port_t rcv_port, 32 mach_port_t notify_port); 65 mach_port_t send_port, in send() 66 mach_port_t reply_port, in send() 67 mach_port_t msg_port, in send() 118 mach_port_t 120 mach_port_t rcv_port, in receive() 121 mach_port_t notify_port) in receive() 124 mach_port_t service_port; in receive() [all …]
|
| H A D | kevent_qos.c | 66 send(mach_port_t send_port, mach_port_t reply_port, mach_port_t msg_port, mach_msg_priority_t qos, … 90 mach_port_t thread_port = pthread_mach_thread_np(pthread_self()); in get_user_promotion_basepri() 365 mach_port_t reply_port; in get_reply_port() 382 send_reply(mach_port_t reply_port) in send_reply() 461 mach_port_t reply_port; in workloop_cb_test_sync_send_deallocate() 549 mach_port_t reply_port = get_reply_port(*eventslist); in workloop_cb_test_sync_send_kevent_reply() 664 mach_port_t reply_port = get_reply_port(kev); in workloop_cb_test_sync_send_kevent_reply_reply_kevent() 705 mach_port_t reply_port = get_reply_port(kev); in workloop_cb_test_sync_send_kevent_reply_kevent_reply() 734 mach_port_t reply_port = get_reply_port(kev); in workloop_cb_test_sync_send_reply_kevent_kevent_reply() 760 static mach_port_t [all …]
|
| H A D | fd_table_limits.c | 32 static mach_port_t resource_notify_port = MACH_PORT_NULL; 170 mach_port_t server_port; 171 mach_port_t reply_port; 183 mach_port_t create_exception_port(void); 184 static mach_port_t create_resource_notify_port(void); 207 mach_port_t bsport; in server_setup() 284 receive_cpu_usage_violation(__unused mach_port_t receiver, in receive_cpu_usage_violation() 299 receive_cpu_wakes_violation(__unused mach_port_t receiver, in receive_cpu_wakes_violation() 314 receive_disk_writes_violation(__unused mach_port_t receiver, in receive_disk_writes_violation() 329 receive_port_space_violation(__unused mach_port_t receiver, in receive_port_space_violation() [all …]
|
| H A D | exception_tests.c | 17 mach_port_t task, in exc_immovable_handler() 18 mach_port_t thread, in exc_immovable_handler() 35 mach_port_t port1, port2; in exc_handler_identity_protected() 50 mach_port_t exc_port = create_exception_port(EXC_MASK_BAD_ACCESS); 53 mach_port_t mp; 80 …mach_port_t exc_port = create_exception_port_behavior64(EXC_MASK_BAD_ACCESS, EXCEPTION_IDENTITY_PR…
|
| /xnu-8019.80.24/libsyscall/mach/ |
| H A D | semaphore.c | 37 semaphore_signal(mach_port_t signal_semaphore) in semaphore_signal() 43 semaphore_signal_all(mach_port_t signal_semaphore) in semaphore_signal_all() 49 semaphore_signal_thread(mach_port_t signal_semaphore, mach_port_t thread_act) in semaphore_signal_thread() 55 semaphore_wait(mach_port_t wait_semaphore) in semaphore_wait() 61 semaphore_timedwait(mach_port_t wait_semaphore, mach_timespec_t wait_time) in semaphore_timedwait() 69 semaphore_wait_signal(mach_port_t wait_semaphore, mach_port_t signal_semaphore) in semaphore_wait_signal() 75 semaphore_timedwait_signal(mach_port_t wait_semaphore, in semaphore_timedwait_signal() 76 mach_port_t signal_semaphore, in semaphore_timedwait_signal()
|
| H A D | mig_reply_port.c | 34 __XNU_PRIVATE_EXTERN mach_port_t _task_reply_port = MACH_PORT_NULL; 36 static inline mach_port_t 39 return (mach_port_t)(uintptr_t)_os_tsd_get_direct(__TSD_MIG_REPLY); in _mig_get_reply_port() 43 _mig_set_reply_port(mach_port_t port) in _mig_set_reply_port() 54 mach_port_t 57 mach_port_t port = _mig_get_reply_port(); in mig_get_reply_port() 70 mig_dealloc_reply_port(mach_port_t migport) in mig_dealloc_reply_port() 72 mach_port_t port = _mig_get_reply_port(); in mig_dealloc_reply_port() 89 mig_put_reply_port(mach_port_t reply_port __unused) in mig_put_reply_port()
|
| H A D | exc_catcher.h | 34 typedef kern_return_t (*_libkernel_exc_raise_func_t)(mach_port_t, 35 mach_port_t, 36 mach_port_t, 41 typedef kern_return_t (*_libkernel_exc_raise_state_func_t)(mach_port_t, 51 typedef kern_return_t (*_libkernel_exec_raise_state_identity_t)(mach_port_t, 52 mach_port_t, mach_port_t,
|
| H A D | exc_catcher.c | 44 mach_port_t exception_port, in internal_catch_exception_raise() 45 mach_port_t thread, in internal_catch_exception_raise() 46 mach_port_t task, in internal_catch_exception_raise() 63 …extern kern_return_t catch_exception_raise(mach_port_t, mach_port_t, mach_port_t, exception_type_t… in internal_catch_exception_raise()
|
| H A D | exc_catcher_state_identity.c | 44 mach_port_t exception_port, in internal_catch_exception_raise_state_identity() 45 mach_port_t thread, in internal_catch_exception_raise_state_identity() 46 mach_port_t task, in internal_catch_exception_raise_state_identity() 68 …extern kern_return_t catch_exception_raise_state_identity(mach_port_t, mach_port_t, mach_port_t, e… in internal_catch_exception_raise_state_identity()
|
| H A D | mach_eventlink.c | 44 mach_port_t eventlink_port, 49 mach_port_t eventlink_port, 57 mach_port_t eventlink_port, 66 mach_port_t eventlink_port, in mach_eventlink_signal() 76 mach_port_t eventlink_port, in mach_eventlink_wait_until() 93 mach_port_t eventlink_port, in mach_eventlink_signal_wait_until()
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | ux_handler.c | 116 is_ux_handler_port(mach_port_t port) in is_ux_handler_port() 127 mach_port_t exception_port, in catch_mach_exception_raise() 128 mach_port_t thread_port, in catch_mach_exception_raise() 129 mach_port_t task_port, in catch_mach_exception_raise() 178 mach_port_t exception_port, in catch_exception_raise() 179 mach_port_t thread, in catch_exception_raise() 180 mach_port_t task, in catch_exception_raise() 204 __unused mach_port_t exception_port, in catch_exception_raise_state() 219 __unused mach_port_t exception_port, in catch_mach_exception_raise_state() 234 __unused mach_port_t exception_port, in catch_exception_raise_state_identity() [all …]
|
| /xnu-8019.80.24/tests/vm_memory_tests_src/ |
| H A D | mach_vm_tests.h | 31 extern mach_port_t serverPort; 32 extern mach_port_t persistentReplyPort; 49 void mach_vm_client(mach_port_t); 50 void mach_server_remap(mach_port_t); 51 void mach_server_read(mach_port_t, int); 52 void mach_server_make_memory_entry(mach_port_t); 56 void mach_server_construct_header(ipc_message_t *, mach_port_t); 58 void mach_server_contruct_payload(ipc_message_t *, mach_vm_address_t, mach_port_t, mach_vm_size_t, … 59 void server_error_out(mach_port_t);
|
| /xnu-8019.80.24/libsyscall/mach/mach/ |
| H A D | mach.h | 85 extern void panic_init(mach_port_t); 110 mach_port_t, 118 mach_port_t, 126 mach_port_t, 132 extern kern_return_t clock_get_res(mach_port_t, 134 extern kern_return_t clock_set_res(mach_port_t, 137 extern kern_return_t clock_sleep(mach_port_t,
|
| /xnu-8019.80.24/osfmk/device/ |
| H A D | device.defs | 89 ctype: mach_port_t; 124 type io_object_t = mach_port_t 125 ctype: mach_port_t 127 intran: io_object_t iokit_lookup_object_port(mach_port_t) 128 outtran: mach_port_t iokit_make_object_port(io_object_t) 133 type io_connect_t = mach_port_t 134 ctype: mach_port_t 136 intran: io_connect_t iokit_lookup_connect_port(mach_port_t) 137 outtran: mach_port_t iokit_make_connect_port(io_connect_t) 142 type io_ident_t = mach_port_t [all …]
|