Home
last modified time | relevance | path

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

12

/xnu-8020.101.4/osfmk/kern/
H A Dux_handler.c209 __unused const thread_state_t old_state, in catch_exception_raise_state()
211 __unused thread_state_t new_state, in catch_exception_raise_state()
224 __unused const thread_state_t old_state, in catch_mach_exception_raise_state()
226 __unused thread_state_t new_state, in catch_mach_exception_raise_state()
241 __unused thread_state_t old_state, in catch_exception_raise_state_identity()
243 __unused thread_state_t new_state, in catch_exception_raise_state_identity()
258 __unused thread_state_t old_state, in catch_mach_exception_raise_state_identity()
260 __unused thread_state_t new_state, in catch_mach_exception_raise_state_identity()
H A Dthread_act.c537 thread_state_t state, /* pointer to OUT array */ in thread_get_state_internal()
594 thread_state_t state,
601 thread_state_t state, /* pointer to OUT array */ in thread_get_state()
611 thread_state_t state, /* pointer to OUT array */ in thread_get_state_to_user()
625 thread_state_t state, in thread_set_state_internal()
627 thread_state_t old_state, in thread_set_state_internal()
687 thread_state_t state,
694 thread_state_t state, in thread_set_state()
704 thread_state_t state, in thread_set_state_from_user()
715 thread_state_t in_state, /* pointer to IN array */ in thread_convert_thread_state()
[all …]
H A Dexception.c191 thread_state_t new_state = NULL; in exception_deliver()
311 (thread_state_t)old_state, in exception_deliver()
315 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
339 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
340 (thread_state_t)old_state, old_state_cnt, in exception_deliver()
403 (thread_state_t)old_state, in exception_deliver()
407 new_state = (thread_state_t)kalloc_data(sizeof(thread_state_data_t), Z_WAITOK | Z_ZERO); in exception_deliver()
438 (thread_state_t)new_state, new_state_cnt, in exception_deliver()
439 (thread_state_t)old_state, old_state_cnt, flags); in exception_deliver()
H A Dthread.h1038 thread_state_t state,
1054 thread_state_t state,
1060 thread_state_t tstate,
1062 thread_state_t old_tstate,
1069 thread_state_t tstate,
1099 thread_state_t tstate,
1205 thread_state_t tstate,
1211 thread_state_t tstate,
1213 thread_state_t old_tstate,
1220 thread_state_t tstate,
[all …]
/xnu-8020.101.4/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-8020.101.4/tests/ipc/
H A Dkernel_signed_pac_thread_state.c81 thread_state_t in_state,
83 thread_state_t out_state,
95 thread_state_t in_state,
97 thread_state_t out_state,
150 thread_state_t in_state, in catch_mach_exception_raise_state()
152 thread_state_t out_state, in catch_mach_exception_raise_state()
194 thread_state_t in_state, in catch_mach_exception_raise_state_identity()
196 thread_state_t out_state, in catch_mach_exception_raise_state_identity()
/xnu-8020.101.4/tests/
H A Dexc_helpers.c74 thread_state_t in_state,
76 thread_state_t out_state,
88 thread_state_t in_state,
90 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()
176 thread_state_t in_state, in catch_mach_exception_raise_state_identity()
178 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.c49 const thread_state_t old_state, in catch_mach_exception_raise_state()
51 thread_state_t new_state, in catch_mach_exception_raise_state()
67 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
69 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 Dimm_pinned_control_port.c93 const thread_state_t old_state, in catch_mach_exception_raise_state()
95 thread_state_t new_state, in catch_mach_exception_raise_state()
111 thread_state_t old_state, in catch_mach_exception_raise_state_identity()
113 thread_state_t new_state, in catch_mach_exception_raise_state_identity()
/xnu-8020.101.4/osfmk/arm/
H A Dstatus.c77 __unused thread_state_t tstate, in machine_thread_state_convert_to_user()
89 __unused thread_state_t tstate, in machine_thread_state_convert_from_user()
91 __unused thread_state_t old_tstate, in machine_thread_state_convert_from_user()
126 thread_state_t tstate, in machine_thread_get_state()
293 thread_state_t tstate, in machine_thread_get_kern_state()
347 thread_state_t tstate, in machine_thread_set_state()
661 thread_state_t tstate, in thread_userstack()
783 thread_state_t tstate, in thread_entrypoint()
877 (thread_state_t) &ic->ss, in act_thread_csave()
887 (thread_state_t) &ic->vfps, in act_thread_csave()
[all …]
H A Dmachine_task.c67 thread_state_t state, in machine_task_set_state()
110 thread_state_t state, in machine_task_get_state()
/xnu-8020.101.4/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);
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,
76 …if (thread_getstatus(th_act, ARM_THREAD_STATE, (thread_state_t) tstate, &state_count) != KERN_SUCC… in sendsig_get_state32()
83 if (machine_thread_state_convert_to_user(th_act, ARM_THREAD_STATE, (thread_state_t) tstate, in sendsig_get_state32()
90 …if (thread_getstatus(th_act, ARM_EXCEPTION_STATE, (thread_state_t) tstate, &state_count) != KERN_S… in sendsig_get_state32()
96 …if (thread_getstatus_to_user(th_act, ARM_VFP_STATE, (thread_state_t) tstate, &state_count) != KERN… in sendsig_get_state32()
[all …]
/xnu-8020.101.4/osfmk/arm64/
H A Dstatus.c169 handle_get_arm32_thread_state(thread_state_t tstate, in handle_get_arm32_thread_state()
186 handle_get_arm64_thread_state(thread_state_t tstate, in handle_get_arm64_thread_state()
204 handle_get_arm_thread_state(thread_state_t tstate, in handle_get_arm_thread_state()
237 handle_set_arm32_thread_state(const thread_state_t tstate, in handle_set_arm32_thread_state()
250 handle_set_arm64_thread_state(const thread_state_t tstate, in handle_set_arm64_thread_state()
264 handle_set_arm_thread_state(const thread_state_t tstate, in handle_set_arm_thread_state()
308 thread_state_t tstate, in machine_thread_state_convert_to_user()
485 thread_state_t tstate, in machine_thread_state_convert_from_user()
487 thread_state_t old_tstate, in machine_thread_state_convert_from_user()
726 thread_state_t tstate, in machine_thread_get_state()
[all …]
/xnu-8020.101.4/osfmk/i386/
H A Dpcb.c832 __unused thread_state_t tstate, in machine_thread_state_convert_to_user()
844 __unused thread_state_t tstate, in machine_thread_state_convert_from_user()
846 __unused thread_state_t old_tstate, in machine_thread_state_convert_from_user()
883 thread_state_t tstate, in machine_thread_set_state()
1074 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs64, x86_FLOAT_STATE64); in machine_thread_set_state()
1078 return fpu_set_fxstate(thr_act, (thread_state_t)&state->ufs.fs32, x86_FLOAT_STATE32); in machine_thread_set_state()
1099 (thread_state_t)&state->ufs.as64, in machine_thread_set_state()
1107 (thread_state_t)&state->ufs.as32, in machine_thread_set_state()
1277 thread_state_t tstate, in machine_thread_get_state()
1468 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-8020.101.4/osfmk/mach/
H A Dexc.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
H A Dmach_exc.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-8020.101.4/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