Home
last modified time | relevance | path

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

123

/xnu-10063.141.1/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.c615 thread_state_t state, /* pointer to OUT array */ in thread_get_state_internal()
672 thread_state_t state,
679 thread_state_t state, /* pointer to OUT array */ in thread_get_state()
689 thread_state_t state, /* pointer to OUT array */ in thread_get_state_to_user()
703 thread_state_t state, in thread_set_state_internal()
705 thread_state_t old_state, in thread_set_state_internal()
770 thread_state_t state,
777 thread_state_t state, in thread_set_state()
787 thread_state_t state, in thread_set_state_from_user()
799 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()
306 (thread_state_t)old_state, in exception_deliver()
310 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
334 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
335 (thread_state_t)old_state, old_state_cnt, in exception_deliver()
446 (thread_state_t)old_state, in exception_deliver()
450 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
482 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
483 (thread_state_t)old_state, old_state_cnt, set_flags); in exception_deliver()
H A Dthread.h1220 thread_state_t state,
1239 thread_state_t state,
1245 thread_state_t tstate,
1247 thread_state_t old_tstate,
1254 thread_state_t tstate,
1293 thread_state_t tstate,
1403 thread_state_t tstate,
1409 thread_state_t tstate,
1411 thread_state_t old_tstate,
1418 thread_state_t tstate,
[all …]
/xnu-10063.141.1/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-10063.141.1/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.c85 thread_state_t in_state,
87 thread_state_t out_state,
99 thread_state_t in_state,
101 thread_state_t out_state,
154 thread_state_t in_state, in catch_mach_exception_raise_state()
156 thread_state_t out_state, in catch_mach_exception_raise_state()
200 thread_state_t in_state, in catch_mach_exception_raise_state_identity()
202 thread_state_t out_state, in catch_mach_exception_raise_state_identity()
/xnu-10063.141.1/tests/vm/
H A Ddiag_threshold_test.h92 …_number_t codeCnt, int *flavor, const thread_state_t old_state, mach_msg_type_number_t old_stateCn…
94 …g_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCn…
104 __unused thread_state_t old_state,
106 __unused thread_state_t new_state,
/xnu-10063.141.1/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.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 Dptrauth_failure.c59 err = thread_get_state(mach_thread_self(), ARM_THREAD_STATE64, (thread_state_t)&state, &count);
64 err = thread_set_state(thread, ARM_THREAD_STATE64, (thread_state_t)&state, count);
67 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 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 Dreply_port_defense.c58 const thread_state_t old_state, in catch_mach_exception_raise_state()
60 thread_state_t new_state, in catch_mach_exception_raise_state()
76 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
78 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
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-10063.141.1/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-10063.141.1/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()
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 …]
H A Dfpu.h119 thread_state_t state,
123 thread_state_t state,
/xnu-10063.141.1/osfmk/arm64/
H A Dstatus.c171 handle_get_arm32_thread_state(thread_state_t tstate, in handle_get_arm32_thread_state()
188 handle_get_arm64_thread_state(thread_state_t tstate, in handle_get_arm64_thread_state()
206 handle_get_arm_thread_state(thread_state_t tstate, in handle_get_arm_thread_state()
239 handle_set_arm32_thread_state(const thread_state_t tstate, in handle_set_arm32_thread_state()
252 handle_set_arm64_thread_state(const thread_state_t tstate, in handle_set_arm64_thread_state()
266 handle_set_arm_thread_state(const thread_state_t tstate, in handle_set_arm_thread_state()
327 thread_state_t tstate, in machine_thread_state_convert_to_user()
574 thread_state_t tstate, in machine_thread_state_convert_from_user()
576 thread_state_t old_tstate, in machine_thread_state_convert_from_user()
845 thread_state_t tstate, in machine_thread_get_state()
[all …]
/xnu-10063.141.1/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

123