| /xnu-11215.81.4/osfmk/kern/ |
| H A D | ux_handler.c | 204 __unused const thread_state_t old_state, in catch_exception_raise_state() 206 __unused thread_state_t new_state, in catch_exception_raise_state() 219 __unused const thread_state_t old_state, in catch_mach_exception_raise_state() 221 __unused thread_state_t new_state, in catch_mach_exception_raise_state() 236 __unused thread_state_t old_state, in catch_exception_raise_state_identity() 238 __unused thread_state_t new_state, in catch_exception_raise_state_identity() 253 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity() 255 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity() 293 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected() 295 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
|
| H A D | thread_act.c | 625 thread_state_t state, /* pointer to OUT array */ in thread_get_state_internal() 682 thread_state_t state, 689 thread_state_t state, /* pointer to OUT array */ in thread_get_state() 699 thread_state_t state, /* pointer to OUT array */ in thread_get_state_to_user() 713 thread_state_t state, in thread_set_state_internal() 715 thread_state_t old_state, in thread_set_state_internal() 780 thread_state_t state, 787 thread_state_t state, in thread_set_state() 797 thread_state_t state, in thread_set_state_from_user() 809 thread_state_t in_state, /* pointer to IN array */ in thread_convert_thread_state() [all …]
|
| H A D | exception.c | 203 thread_state_t new_state = NULL; in exception_deliver() 309 (thread_state_t)old_state, in exception_deliver() 313 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver() 337 (thread_state_t)new_state, new_state_cnt, in exception_deliver() 338 (thread_state_t)old_state, old_state_cnt, in exception_deliver() 450 (thread_state_t)old_state, in exception_deliver() 455 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver() 478 (thread_state_t)new_state, new_state_cnt, in exception_deliver() 479 (thread_state_t)old_state, old_state_cnt, set_flags); in exception_deliver() 520 (thread_state_t)old_state, in exception_deliver() [all …]
|
| H A D | thread.h | 1235 thread_state_t state, 1254 thread_state_t state, 1260 thread_state_t tstate, 1262 thread_state_t old_tstate, 1269 thread_state_t tstate, 1308 thread_state_t tstate, 1418 thread_state_t tstate, 1424 thread_state_t tstate, 1426 thread_state_t old_tstate, 1433 thread_state_t tstate, [all …]
|
| /xnu-11215.81.4/libsyscall/mach/ |
| H A D | exc_catcher.h | 46 thread_state_t, 48 thread_state_t, 56 int *, thread_state_t, 58 thread_state_t,
|
| H A D | exc_catcher_state.c | 49 thread_state_t old_state, in internal_catch_exception_raise_state() 51 thread_state_t new_state, in internal_catch_exception_raise_state() 66 …exception_data_t, mach_msg_type_number_t, int *, thread_state_t, mach_msg_type_number_t, thread_st… in internal_catch_exception_raise_state()
|
| H A D | exc_catcher_state_identity.c | 51 thread_state_t old_state, in internal_catch_exception_raise_state_identity() 53 thread_state_t new_state, in internal_catch_exception_raise_state_identity() 68 …exception_data_t, mach_msg_type_number_t, int *, thread_state_t, mach_msg_type_number_t, thread_st… in internal_catch_exception_raise_state_identity()
|
| /xnu-11215.81.4/tests/ipc/ |
| H A D | mach_exc_port_substitute.c | 36 thread_state_t in_state, 38 thread_state_t out_state, 50 thread_state_t in_state, 52 thread_state_t out_state, 64 __unused thread_state_t in_state, in catch_mach_exception_raise_state_identity() 66 __unused thread_state_t out_state, in catch_mach_exception_raise_state_identity() 83 __unused thread_state_t in_state, in catch_mach_exception_raise_state() 85 __unused thread_state_t out_state, in catch_mach_exception_raise_state()
|
| H A D | sys_perf_notify_test.c | 36 const thread_state_t old_state, in catch_mach_exception_raise_state() 38 thread_state_t new_state, in catch_mach_exception_raise_state() 54 thread_state_t old_state, in catch_mach_exception_raise_state_identity() 56 thread_state_t new_state, in catch_mach_exception_raise_state_identity() 73 thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected() 75 thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
|
| H A D | kernel_signed_pac_thread_state.c | 92 thread_state_t in_state, 94 thread_state_t out_state, 106 thread_state_t in_state, 108 thread_state_t out_state, 161 thread_state_t in_state, in catch_mach_exception_raise_state() 163 thread_state_t out_state, in catch_mach_exception_raise_state() 207 thread_state_t in_state, in catch_mach_exception_raise_state_identity() 209 thread_state_t out_state, in catch_mach_exception_raise_state_identity()
|
| /xnu-11215.81.4/tests/ |
| H A D | exc_helpers.c | 88 thread_state_t in_state, 90 thread_state_t out_state, 102 thread_state_t in_state, 104 thread_state_t out_state, 138 thread_state_t in_state, in catch_mach_exception_raise_state_identity_protected() 140 thread_state_t out_state, in catch_mach_exception_raise_state_identity_protected() 208 thread_state_t in_state, in catch_mach_exception_raise_state() 210 thread_state_t out_state, in catch_mach_exception_raise_state() 232 thread_state_t in_state, in catch_mach_exception_raise_state_identity() 234 thread_state_t out_state, in catch_mach_exception_raise_state_identity()
|
| H A D | hw_breakpoint_step_arm64.c | 56 const thread_state_t old_state, in catch_mach_exception_raise_state() 58 thread_state_t new_state, in catch_mach_exception_raise_state() 74 thread_state_t old_state, in catch_mach_exception_raise_state_identity() 76 thread_state_t new_state, in catch_mach_exception_raise_state_identity() 137 (thread_state_t)&dbg, &count); in step_thread() 143 (thread_state_t)&dbg, count); in step_thread()
|
| H A D | thread_set_state_arm64_cpsr.c | 57 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&ts, &count); in phase2() 77 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&ts, &count); 93 …err = thread_set_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&ts, ARM_THREAD_STA…
|
| H A D | reply_port_defense.c | 60 const thread_state_t old_state, in catch_mach_exception_raise_state() 62 thread_state_t new_state, in catch_mach_exception_raise_state() 78 thread_state_t old_state, in catch_mach_exception_raise_state_identity() 80 thread_state_t new_state, in catch_mach_exception_raise_state_identity() 97 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected() 99 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
|
| H A D | exc_resource_threads.c | 51 const thread_state_t old_state, in catch_mach_exception_raise_state() 53 thread_state_t new_state, in catch_mach_exception_raise_state() 69 thread_state_t old_state, in catch_mach_exception_raise_state_identity() 71 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
|
| H A D | ptrauth_failure.c | 98 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&state, &count); 103 err = thread_set_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, count); 106 err = thread_get_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, &count);
|
| H A D | immovable_send.c | 35 const thread_state_t old_state, in catch_mach_exception_raise_state() 37 thread_state_t new_state, in catch_mach_exception_raise_state() 53 thread_state_t old_state, in catch_mach_exception_raise_state_identity() 55 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
|
| H A D | ldt.c | 204 thread_state_t old_state, 206 thread_state_t new_state, 215 const thread_state_t old_state, 217 thread_state_t new_state, 228 thread_state_t old_state, 230 thread_state_t new_state, 276 thread_state_t old_state, in catch_mach_exception_raise() 278 thread_state_t new_state, in catch_mach_exception_raise() 292 const thread_state_t old_state, in catch_mach_exception_raise_state() 294 thread_state_t new_state, in catch_mach_exception_raise_state() [all …]
|
| H A D | exc_helpers.h | 57 exception_type_t type, mach_exception_data_t codes, thread_state_t in_state, 58 …mach_msg_type_number_t in_state_count, thread_state_t out_state, mach_msg_type_number_t *out_state…
|
| /xnu-11215.81.4/osfmk/mach/ |
| H A D | mach_exc.defs | 101 old_state : thread_state_t, const; 102 out new_state : thread_state_t 120 old_state : thread_state_t; 121 out new_state : thread_state_t 172 * Same as identity_protected above, but also handles an in/out thread_state_t. 182 old_state : thread_state_t; 183 out new_state : thread_state_t
|
| H A D | exc.defs | 101 old_state : thread_state_t, const; 102 out new_state : thread_state_t 120 old_state : thread_state_t; 121 out new_state : thread_state_t
|
| /xnu-11215.81.4/bsd/dev/arm/ |
| H A D | unix_signal.c | 34 thread_state_t tstate, mach_msg_type_number_t *count); 36 thread_state_t tstate, mach_msg_type_number_t *count, thread_set_status_flags_t); 38 thread_state_t tstate, mach_msg_type_number_t *count, thread_set_status_flags_t); 40 thread_state_t tstate, mach_msg_type_number_t count); 42 thread_state_t tstate, mach_msg_type_number_t count, 43 thread_state_t old_tstate, mach_msg_type_number_t old_count, 78 …if (thread_getstatus(th_act, ARM_THREAD_STATE, (thread_state_t) tstate, &state_count) != KERN_SUCC… in sendsig_get_state32() 85 if (machine_thread_state_convert_to_user(th_act, ARM_THREAD_STATE, (thread_state_t) tstate, in sendsig_get_state32() 92 …if (thread_getstatus(th_act, ARM_EXCEPTION_STATE, (thread_state_t) tstate, &state_count) != KERN_S… in sendsig_get_state32() 98 …if (thread_getstatus_to_user(th_act, ARM_VFP_STATE, (thread_state_t) tstate, &state_count, TSSF_FL… in sendsig_get_state32() [all …]
|
| /xnu-11215.81.4/osfmk/i386/ |
| H A D | pcb.c | 856 __unused thread_state_t tstate, in machine_thread_state_convert_to_user() 868 __unused thread_state_t tstate, in machine_thread_state_convert_from_user() 870 __unused thread_state_t old_tstate, in machine_thread_state_convert_from_user() 907 thread_state_t tstate, in machine_thread_set_state() 1098 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_set_state() 1102 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs32, x86_FLOAT_STATE32); in machine_thread_set_state() 1123 (thread_state_t)&state->ufs.as64, in machine_thread_set_state() 1131 (thread_state_t)&state->ufs.as32, in machine_thread_set_state() 1301 thread_state_t tstate, in machine_thread_get_state() 1492 kret = fpu_get_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_get_state() [all …]
|
| /xnu-11215.81.4/osfmk/arm64/ |
| H A D | status.c | 172 handle_get_arm32_thread_state(thread_state_t tstate, in handle_get_arm32_thread_state() 189 handle_get_arm64_thread_state(thread_state_t tstate, in handle_get_arm64_thread_state() 207 handle_get_arm_thread_state(thread_state_t tstate, in handle_get_arm_thread_state() 240 handle_set_arm32_thread_state(const thread_state_t tstate, in handle_set_arm32_thread_state() 253 handle_set_arm64_thread_state(const thread_state_t tstate, in handle_set_arm64_thread_state() 267 handle_set_arm_thread_state(const thread_state_t tstate, in handle_set_arm_thread_state() 328 thread_state_t tstate, in machine_thread_state_convert_to_user() 577 thread_state_t tstate, in machine_thread_state_convert_from_user() 579 thread_state_t old_tstate, in machine_thread_state_convert_from_user() 865 thread_state_t tstate, in machine_thread_get_state() [all …]
|
| /xnu-11215.81.4/tests/skywalk/ |
| H A D | skywalk_test_driver.c | 70 thread_state_t old_state, in catch_mach_exception_raise() 72 thread_state_t new_state, in catch_mach_exception_raise() 104 const thread_state_t old_state, in catch_mach_exception_raise_state() 106 thread_state_t new_state, in catch_mach_exception_raise_state()
|