Home
last modified time | relevance | path

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

123

/xnu-11215/osfmk/kern/
H A Dux_handler.c204 __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 Dthread_act.c682 thread_state_t state,
713 thread_state_t 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()
1297 thread_state_t state,
1304 thread_state_t state, in act_set_state()
1318 thread_state_t state, in act_set_state_from_user()
1333 thread_state_t state,
1340 thread_state_t state, in act_get_state()
[all …]
H A Dexception.c203 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()
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()
556 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
[all …]
H A Dthread.h1235 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,
1530 thread_state_t,
1539 thread_state_t,
1682 thread_state_t tstate);
[all …]
/xnu-11215/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-11215/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-11215/tests/
H A Dexc_helpers.c88 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 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 Dreply_port_defense.c60 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 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 Dptrauth_failure.c98 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 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()
294 thread_state_t new_state, in catch_mach_exception_raise_state()
359 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
[all …]
H A Dexc_helpers.h57 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/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
H A Dexc.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
/xnu-11215/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()
125 …if (thread_getstatus(th_act, ARM_THREAD_STATE64, (thread_state_t) tstate, &state_count) != KERN_SU… in sendsig_get_state64()
[all …]
/xnu-11215/osfmk/i386/
H A Dpcb.c856 __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()
1301 thread_state_t tstate, in machine_thread_get_state()
1540 thread_state_t fstate; in machine_thread_get_state()
1855 thread_state_t tstate, in machine_thread_get_kern_state()
2262 (thread_state_t) &ic64->ss, &val); in act_thread_csave()
2269 (thread_state_t) &ic64->fs, &val); in act_thread_csave()
2278 (thread_state_t)&ic64->ds, in act_thread_csave()
[all …]
/xnu-11215/osfmk/arm64/
H A Dstatus.c328 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()
1876 thread_state_t tstate, in thread_userstack()
2032 thread_state_t tstate, in thread_entrypoint()
2141 (thread_state_t)&ic->ns, in act_thread_csave()
2147 (thread_state_t)&ic->ns, in act_thread_csave()
2183 (thread_state_t)&ic->ns, in act_thread_catt()
2188 (thread_state_t)&ic->ns, in act_thread_catt()
2211 thread_state_t tstate) in thread_set_wq_state32()
[all …]
/xnu-11215/tests/skywalk/
H A Dskywalk_test_driver.c70 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()

123