Home
last modified time | relevance | path

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

12

/xnu-8796.121.2/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()
H A Dthread_act.c587 thread_state_t state, /* pointer to OUT array */ in thread_get_state_internal()
644 thread_state_t state,
651 thread_state_t state, /* pointer to OUT array */ in thread_get_state()
661 thread_state_t state, /* pointer to OUT array */ in thread_get_state_to_user()
675 thread_state_t state, in thread_set_state_internal()
677 thread_state_t old_state, in thread_set_state_internal()
742 thread_state_t state,
749 thread_state_t state, in thread_set_state()
759 thread_state_t state, in thread_set_state_from_user()
771 thread_state_t in_state, /* pointer to IN array */ in thread_convert_thread_state()
[all …]
H A Dexception.c209 thread_state_t new_state = NULL; in exception_deliver()
305 (thread_state_t)old_state, in exception_deliver()
309 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
333 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
334 (thread_state_t)old_state, old_state_cnt, in exception_deliver()
439 (thread_state_t)old_state, in exception_deliver()
443 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
475 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
476 (thread_state_t)old_state, old_state_cnt, set_flags); in exception_deliver()
H A Dthread.h1104 thread_state_t state,
1123 thread_state_t state,
1129 thread_state_t tstate,
1131 thread_state_t old_tstate,
1138 thread_state_t tstate,
1173 thread_state_t tstate,
1283 thread_state_t tstate,
1289 thread_state_t tstate,
1291 thread_state_t old_tstate,
1298 thread_state_t tstate,
[all …]
/xnu-8796.121.2/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-8796.121.2/tests/ipc/
H A Dmach_exc_port_substitute.c35 thread_state_t in_state,
37 thread_state_t out_state,
49 thread_state_t in_state,
51 thread_state_t out_state,
63 __unused thread_state_t in_state, in catch_mach_exception_raise_state_identity()
65 __unused thread_state_t out_state, in catch_mach_exception_raise_state_identity()
82 __unused thread_state_t in_state, in catch_mach_exception_raise_state()
84 __unused thread_state_t out_state, in catch_mach_exception_raise_state()
H A Dkernel_signed_pac_thread_state.c83 thread_state_t in_state,
85 thread_state_t out_state,
97 thread_state_t in_state,
99 thread_state_t out_state,
152 thread_state_t in_state, in catch_mach_exception_raise_state()
154 thread_state_t out_state, in catch_mach_exception_raise_state()
198 thread_state_t in_state, in catch_mach_exception_raise_state_identity()
200 thread_state_t out_state, in catch_mach_exception_raise_state_identity()
/xnu-8796.121.2/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,
167 thread_state_t in_state, in catch_mach_exception_raise_state()
169 thread_state_t out_state, in catch_mach_exception_raise_state()
191 thread_state_t in_state, in catch_mach_exception_raise_state_identity()
193 thread_state_t out_state, in catch_mach_exception_raise_state_identity()
H A Dhw_breakpoint_step_arm64.c55 const thread_state_t old_state, in catch_mach_exception_raise_state()
57 thread_state_t new_state, in catch_mach_exception_raise_state()
73 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
75 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
136 (thread_state_t)&dbg, &count); in step_thread()
142 (thread_state_t)&dbg, count); in step_thread()
H A Dptrauth_failure.c57 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&state, &count);
62 err = thread_set_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, count);
65 err = thread_get_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, &count);
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 Dreply_port_defense.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()
H A Dimmovable_send.c34 const thread_state_t old_state, in catch_mach_exception_raise_state()
36 thread_state_t new_state, in catch_mach_exception_raise_state()
52 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
54 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 Dexcserver_backtrace.defs102 old_state : thread_state_t, const;
103 out new_state : thread_state_t
121 old_state : thread_state_t;
122 out new_state : thread_state_t
/xnu-8796.121.2/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-8796.121.2/osfmk/i386/
H A Dpcb.c854 __unused thread_state_t tstate, in machine_thread_state_convert_to_user()
866 __unused thread_state_t tstate, in machine_thread_state_convert_from_user()
868 __unused thread_state_t old_tstate, in machine_thread_state_convert_from_user()
905 thread_state_t tstate, in machine_thread_set_state()
1096 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_set_state()
1100 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs32, x86_FLOAT_STATE32); in machine_thread_set_state()
1121 (thread_state_t)&state->ufs.as64, in machine_thread_set_state()
1129 (thread_state_t)&state->ufs.as32, in machine_thread_set_state()
1299 thread_state_t tstate, in machine_thread_get_state()
1490 kret = fpu_get_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_get_state()
[all …]
H A Dfpu.h119 thread_state_t state,
123 thread_state_t state,
/xnu-8796.121.2/osfmk/arm64/
H A Dstatus.c172 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()
575 thread_state_t tstate, in machine_thread_state_convert_from_user()
577 thread_state_t old_tstate, in machine_thread_state_convert_from_user()
833 thread_state_t tstate, in machine_thread_get_state()
[all …]
/xnu-8796.121.2/osfmk/mach/
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
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
/xnu-8796.121.2/bsd/dev/i386/
H A Dunix_signal.c71 thread_state_t tstate, mach_msg_type_number_t *count);
73 thread_state_t tstate, mach_msg_type_number_t count);
258 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) { in sendsig()
275 if (thread_getstatus(thread, flavor, (thread_state_t)fpstate, &state_count) != KERN_SUCCESS) { in sendsig()
282 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) { in sendsig()
413 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) { in sendsig()
420 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) { in sendsig()
427 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS) { in sendsig()
731 if (thread_setstatus(thread, flavor, (thread_state_t)state, state_count) != KERN_SUCCESS) { in sendsig()

12