Home
last modified time | relevance | path

Searched refs:thr_act (Results 1 – 10 of 10) sorted by relevance

/xnu-8020.140.41/osfmk/i386/
H A Dpcb.c881 thread_t thr_act, in machine_thread_set_state() argument
902 if (thread_is_64bit_addr(thr_act)) { in machine_thread_set_state()
916 pal_register_cache_state(thr_act, DIRTY); in machine_thread_set_state()
918 saved_state = USER_REGS32(thr_act); in machine_thread_set_state()
969 if (!thread_is_64bit_addr(thr_act)) { in machine_thread_set_state()
992 pal_register_cache_state(thr_act, DIRTY); in machine_thread_set_state()
994 saved_state = USER_REGS64(thr_act); in machine_thread_set_state()
1041 if (thread_is_64bit_addr(thr_act)) { in machine_thread_set_state()
1045 return fpu_set_fxstate(thr_act, tstate, flavor); in machine_thread_set_state()
1056 if (!thread_is_64bit_addr(thr_act)) { in machine_thread_set_state()
[all …]
H A Dfpu.c91 thread_t thr_act);
93 thread_t thr_act);
739 thread_t thr_act, in fpu_set_fxstate() argument
759 assert(thr_act != THREAD_NULL); in fpu_set_fxstate()
761 thr_xstate = thread_xstate(thr_act); in fpu_set_fxstate()
765 if (!fpu_thread_promote_avx512(thr_act)) { in fpu_set_fxstate()
769 thr_xstate = thread_xstate(thr_act); in fpu_set_fxstate()
775 pcb = THREAD_TO_PCB(thr_act); in fpu_set_fxstate()
821 if ((fresh_state == FALSE) && (old_valid == FALSE) && (thr_act != current_thread())) { in fpu_set_fxstate()
822 panic("fpu_set_fxstate inconsistency, thread: %p not stopped", thr_act); in fpu_set_fxstate()
[all …]
H A Dfpu.h115 thread_t thr_act,
118 thread_t thr_act,
122 thread_t thr_act,
H A Dtrap.c159 thread_t thr_act = current_thread(); in thread_syscall_return() local
163 pal_register_cache_state(thr_act, DIRTY); in thread_syscall_return()
165 if (thread_is_64bit_addr(thr_act)) { in thread_syscall_return()
168 regs = USER_REGS64(thr_act); in thread_syscall_return()
194 regs = USER_REGS32(thr_act); in thread_syscall_return()
220 prior __assert_only = thread_get_kernel_state(thr_act)->allocation_name; in thread_syscall_return()
H A Dpcb_native.c426 i386_filtered_lbr_state_to_mach_thread_state(thread_t thr_act, last_branch_state_t *machlbrp, boole… in i386_filtered_lbr_state_to_mach_thread_state() argument
432 if (thr_act == current_thread()) { in i386_filtered_lbr_state_to_mach_thread_state()
433 i386_lbr_synch(thr_act); in i386_filtered_lbr_state_to_mach_thread_state()
437 …return i386_lbr_native_state_to_mach_thread_state(THREAD_TO_PCB(thr_act), machlbrp, from_userspace… in i386_filtered_lbr_state_to_mach_thread_state()
H A Dmachine_routines.h401 int i386_filtered_lbr_state_to_mach_thread_state(thread_t thr_act, last_branch_state_t *machlbrp, b…
/xnu-8020.140.41/libsyscall/mach/
H A Dthread_act.c35 thread_policy(thread_act_t thr_act, policy_t policy, policy_base_t base, mach_msg_type_number_t bas… in thread_policy() argument
39 kr = _kernelrpc_thread_policy(thr_act, policy, base, baseCnt, set_limit); in thread_policy()
41 _pthread_clear_qos_tsd(thr_act); in thread_policy()
65 thread_set_policy(thread_act_t thr_act, processor_set_t pset, policy_t policy, policy_base_t base, … in thread_set_policy() argument
69 kr = _kernelrpc_thread_set_policy(thr_act, pset, policy, base, baseCnt, limit, limitCnt); in thread_set_policy()
71 _pthread_clear_qos_tsd(thr_act); in thread_set_policy()
/xnu-8020.140.41/osfmk/mach/
H A Dthread_act.defs108 * thr_act. If the thr_act is currently executing, the results
144 * list of valid flavors for the target thr_act.]
236 thr_act : thread_inspect_t;
247 thr_act : thread_act_t;
306 thr_act : thread_act_t;
373 thr_act : thread_act_t;
380 thr_act : thread_read_t;
385 thr_act : thread_act_t;
389 thr_act : thread_act_t;
H A Dtask.defs219 * the port representing the first thr_act in that new thread. The
/xnu-8020.140.41/osfmk/i386/AT386/
H A Dmodel_dep.c1285 thread_t thr_act = current_thread(); in capture_lbr_state() local
1293 if (i386_filtered_lbr_state_to_mach_thread_state(thr_act, &thread_lbr_data, false) == 0) { in capture_lbr_state()