Home
last modified time | relevance | path

Searched refs:thread_state_t (Results 1 – 25 of 59) sorted by relevance

123

/xnu-12377.61.12/osfmk/kern/
H A Dux_handler.c205 __unused const thread_state_t old_state, in catch_exception_raise_state()
207 __unused thread_state_t new_state, in catch_exception_raise_state()
220 __unused const thread_state_t old_state, in catch_mach_exception_raise_state()
222 __unused thread_state_t new_state, in catch_mach_exception_raise_state()
237 __unused thread_state_t old_state, in catch_exception_raise_state_identity()
239 __unused thread_state_t new_state, in catch_exception_raise_state_identity()
254 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity()
256 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity()
294 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected()
296 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
H A Dthread_act.c621 thread_state_t state, /* pointer to OUT array */ in thread_get_state_internal()
678 thread_state_t state,
685 thread_state_t state, /* pointer to OUT array */ in thread_get_state()
695 thread_state_t state, /* pointer to OUT array */ in thread_get_state_to_user()
709 thread_state_t state, in thread_set_state_internal()
711 thread_state_t old_state, in thread_set_state_internal()
779 thread_state_t state,
786 thread_state_t state, in thread_set_state()
796 thread_state_t state, in thread_set_state_from_user()
808 thread_state_t in_state, /* pointer to IN array */ in thread_convert_thread_state()
[all …]
H A Dexception.c202 thread_state_t new_state = NULL; in exception_deliver()
308 (thread_state_t)old_state, in exception_deliver()
312 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
336 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
337 (thread_state_t)old_state, old_state_cnt, in exception_deliver()
449 (thread_state_t)old_state, in exception_deliver()
454 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
477 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
478 (thread_state_t)old_state, old_state_cnt, set_flags); in exception_deliver()
519 (thread_state_t)old_state, in exception_deliver()
[all …]
H A Dthread.h1262 thread_state_t state,
1281 thread_state_t state,
1287 thread_state_t tstate,
1289 thread_state_t old_tstate,
1296 thread_state_t tstate,
1335 thread_state_t tstate,
1448 thread_state_t tstate,
1454 thread_state_t tstate,
1456 thread_state_t old_tstate,
1463 thread_state_t tstate,
[all …]
/xnu-12377.61.12/libsyscall/mach/
H A Dexc_catcher.h46 thread_state_t,
48 thread_state_t,
56 int *, thread_state_t,
58 thread_state_t,
H A Dexc_catcher_state.c49 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 Dexc_catcher_state_identity.c51 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-12377.61.12/tests/ipc/
H A Dmach_exc_port_substitute.c36 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 Dsys_perf_notify_test.c36 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 Dkernel_signed_pac_thread_state.c92 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-12377.61.12/tests/
H A Darm_matrix_sme.c478 …kern_return_t err = thread_get_state(thread, ARM_SME_STATE, (thread_state_t)&sme_state, &sme_count… in sme_thread_get_state()
486 err = thread_get_state(thread, ARM_SME_ZA_STATE1, (thread_state_t)&za_state, &za_count); in sme_thread_get_state()
493 err = thread_get_state(thread, ARM_SVE_Z_STATE1, (thread_state_t)&z_state1, &z_streaming_count); in sme_thread_get_state()
497 err = thread_get_state(thread, ARM_SVE_Z_STATE2, (thread_state_t)&z_state2, &z_streaming_count); in sme_thread_get_state()
504 err = thread_get_state(thread, ARM_SVE_P_STATE, (thread_state_t)&p_state, &p_streaming_count); in sme_thread_get_state()
532 err = thread_get_state(thread, ARM_SME2_STATE, (thread_state_t)&sme2_state, &sme2_count); in sme_thread_get_state()
577 …kern_return_t err = thread_set_state(thread, ARM_SME_STATE, (thread_state_t)&sme_state, ARM_SME_ST… in sme_thread_set_state()
582 err = thread_set_state(thread, ARM_SVE_Z_STATE1, (thread_state_t)&z_state1, ARM_SVE_Z_STATE_COUNT); in sme_thread_set_state()
587 err = thread_set_state(thread, ARM_SVE_Z_STATE2, (thread_state_t)&z_state2, ARM_SVE_Z_STATE_COUNT); in sme_thread_set_state()
592 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 Dexc_helpers.c97 thread_state_t in_state,
99 thread_state_t out_state,
111 thread_state_t in_state,
113 thread_state_t out_state,
132 get_exception_pc(thread_state_t in_state) in get_exception_pc()
152 thread_state_t out_state) in advance_exception_pc()
200 thread_state_t in_state, in catch_mach_exception_raise_state_identity_protected()
202 thread_state_t out_state, in catch_mach_exception_raise_state_identity_protected()
295 thread_state_t in_state, in catch_mach_exception_raise_state()
297 thread_state_t out_state, in catch_mach_exception_raise_state()
[all …]
H A Dhw_breakpoint_step_arm64.c56 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 Dthread_set_state_arm64_cpsr.c57 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 Dexc_resource_threads.c51 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 Dimmovable_send.c35 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 Dldt.c204 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 Dptrauth_failure.c117 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&state, &count);
122 err = thread_set_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, count);
125 err = thread_get_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, &count);
H A Dreply_port_defense.c111 const thread_state_t old_state, in catch_mach_exception_raise_state()
113 thread_state_t new_state, in catch_mach_exception_raise_state()
129 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
131 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
148 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected()
150 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
H A Dexc_helpers.h66 exception_type_t type, mach_exception_data_t codes, thread_state_t in_state,
67 …mach_msg_type_number_t in_state_count, thread_state_t out_state, mach_msg_type_number_t *out_state…
/xnu-12377.61.12/tests/vm/
H A Dcorpse_owned_vmobjects.c75 const thread_state_t old_state, in catch_mach_exception_raise_state()
77 thread_state_t new_state, in catch_mach_exception_raise_state()
93 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
95 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
112 thread_state_t old_state, in catch_mach_exception_raise_state_identity_protected()
114 thread_state_t new_state, in catch_mach_exception_raise_state_identity_protected()
/xnu-12377.61.12/osfmk/mach/
H A Dmach_exc.defs101 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-12377.61.12/osfmk/arm64/
H A Dstatus.c178 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-12377.61.12/bsd/dev/arm/
H A Dunix_signal.c34 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-12377.61.12/osfmk/i386/
H A Dpcb.c855 __unused thread_state_t tstate, in machine_thread_state_convert_to_user()
867 __unused thread_state_t tstate, in machine_thread_state_convert_from_user()
869 __unused thread_state_t old_tstate, in machine_thread_state_convert_from_user()
906 thread_state_t tstate, in machine_thread_set_state()
1097 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_set_state()
1101 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs32, x86_FLOAT_STATE32); in machine_thread_set_state()
1122 (thread_state_t)&state->ufs.as64, in machine_thread_set_state()
1130 (thread_state_t)&state->ufs.as32, in machine_thread_set_state()
1300 thread_state_t tstate, in machine_thread_get_state()
1491 kret = fpu_get_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_get_state()
[all …]

123