| /xnu-11417.121.6/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 | 626 thread_state_t state, /* pointer to OUT array */ in thread_get_state_internal() 683 thread_state_t state, 690 thread_state_t state, /* pointer to OUT array */ in thread_get_state() 700 thread_state_t state, /* pointer to OUT array */ in thread_get_state_to_user() 714 thread_state_t state, in thread_set_state_internal() 716 thread_state_t old_state, in thread_set_state_internal() 803 thread_state_t state, 810 thread_state_t state, in thread_set_state() 820 thread_state_t state, in thread_set_state_from_user() 832 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 | 1247 thread_state_t state, 1266 thread_state_t state, 1272 thread_state_t tstate, 1274 thread_state_t old_tstate, 1281 thread_state_t tstate, 1320 thread_state_t tstate, 1432 thread_state_t tstate, 1438 thread_state_t tstate, 1440 thread_state_t old_tstate, 1447 thread_state_t tstate, [all …]
|
| /xnu-11417.121.6/tests/ |
| H A D | arm_matrix_sme.c | 428 …kern_return_t err = thread_get_state(thread, ARM_SME_STATE, (thread_state_t)&sme_state, &sme_count… in sme_thread_get_state() 436 err = thread_get_state(thread, ARM_SME_ZA_STATE1, (thread_state_t)&za_state, &za_count); in sme_thread_get_state() 443 err = thread_get_state(thread, ARM_SVE_Z_STATE1, (thread_state_t)&z_state1, &z_streaming_count); in sme_thread_get_state() 447 err = thread_get_state(thread, ARM_SVE_Z_STATE2, (thread_state_t)&z_state2, &z_streaming_count); in sme_thread_get_state() 454 err = thread_get_state(thread, ARM_SVE_P_STATE, (thread_state_t)&p_state, &p_streaming_count); in sme_thread_get_state() 482 err = thread_get_state(thread, ARM_SME2_STATE, (thread_state_t)&sme2_state, &sme2_count); in sme_thread_get_state() 527 …kern_return_t err = thread_set_state(thread, ARM_SME_STATE, (thread_state_t)&sme_state, ARM_SME_ST… in sme_thread_set_state() 532 err = thread_set_state(thread, ARM_SVE_Z_STATE1, (thread_state_t)&z_state1, ARM_SVE_Z_STATE_COUNT); in sme_thread_set_state() 537 err = thread_set_state(thread, ARM_SVE_Z_STATE2, (thread_state_t)&z_state2, ARM_SVE_Z_STATE_COUNT); in sme_thread_set_state() 542 err = thread_set_state(thread, ARM_SVE_P_STATE, (thread_state_t)&p_state, ARM_SVE_P_STATE_COUNT); in sme_thread_set_state() [all …]
|
| 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 | 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 | ptrauth_failure.c | 116 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&state, &count); 121 err = thread_set_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, count); 124 err = thread_get_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, &count);
|
| 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-11417.121.6/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-11417.121.6/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-11417.121.6/tests/vm/ |
| H A D | corpse_owned_vmobjects.c | 74 const thread_state_t old_state, in catch_mach_exception_raise_state() 76 thread_state_t new_state, in catch_mach_exception_raise_state() 92 thread_state_t old_state, in catch_mach_exception_raise_state_identity() 94 thread_state_t new_state, in catch_mach_exception_raise_state_identity() 111 thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected() 113 thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
|
| /xnu-11417.121.6/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
|
| /xnu-11417.121.6/osfmk/arm64/ |
| H A D | status.c | 178 handle_get_arm32_thread_state(thread_state_t tstate, in handle_get_arm32_thread_state() 195 handle_get_arm64_thread_state(thread_state_t tstate, in handle_get_arm64_thread_state() 213 handle_get_arm_thread_state(thread_state_t tstate, in handle_get_arm_thread_state() 246 handle_set_arm32_thread_state(const thread_state_t tstate, in handle_set_arm32_thread_state() 259 handle_set_arm64_thread_state(const thread_state_t tstate, in handle_set_arm64_thread_state() 273 handle_set_arm_thread_state(const thread_state_t tstate, in handle_set_arm_thread_state() 311 handle_get_arm_sme_state(thread_state_t tstate, mach_msg_type_number_t *count, thread_t thread) in handle_get_arm_sme_state() 350 handle_get_arm_sve_z_state(thread_state_t tstate, mach_msg_type_number_t *count, thread_t thread, s… in handle_get_arm_sve_z_state() 382 handle_get_arm_sve_p_state(thread_state_t tstate, mach_msg_type_number_t *count, thread_t thread) in handle_get_arm_sve_p_state() 414 handle_get_arm_za_state(thread_state_t tstate, mach_msg_type_number_t *count, thread_t thread) in handle_get_arm_za_state() [all …]
|
| /xnu-11417.121.6/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-11417.121.6/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 …]
|