Searched refs:thread_t (Results 1 - 25 of 212) sorted by relevance

123456789

/darwin-on-arm/xnu/osfmk/kperf/
H A Dast.h30 extern int kperf_ast_pend( thread_t, uint32_t, uint32_t );
H A Dcontext.h34 thread_t cur_thread;
H A Dkperf.h35 extern uint32_t kperf_get_thread_bits( thread_t thread );
36 extern void kperf_set_thread_bits( thread_t thread, uint32_t bits );
37 extern void kperf_set_thread_ast( thread_t thread );
H A Daction.h68 kperf_thread_ast_handler( thread_t thread );
/darwin-on-arm/xnu/bsd/kern/
H A Dast.h40 extern void act_set_astbsd(thread_t);
41 extern void bsd_ast(thread_t);
/darwin-on-arm/xnu/osfmk/machine/
H A Dpal_routines.h45 extern void pal_dbg_page_fault( thread_t thread, user_addr_t vadddr,
52 void pal_syscall_restart(thread_t thread, arm_saved_state_t *state);
55 void pal_execve_return(thread_t thread);
58 void pal_thread_terminate_self(thread_t thread);
61 void pal_ast_check(thread_t thread);
67 void pal_switch_pmap(thread_t, pmap_t, boolean_t);
/darwin-on-arm/xnu/osfmk/kern/
H A Dsched_prim.h88 thread_t thread);
92 thread_t thread);
96 thread_t thread,
101 thread_t thread,
106 thread_t thread,
111 thread_t old_thread,
112 thread_t new_thread);
116 thread_t self,
119 thread_t new_thread);
123 thread_t old_threa
[all...]
H A Daffinity.h58 extern void thread_affinity_dup(thread_t parent, thread_t child);
59 extern void thread_affinity_terminate(thread_t thread);
72 extern kern_return_t thread_affinity_set(thread_t thread, uint32_t tag);
73 extern uint32_t thread_affinity_get(thread_t thread);
74 extern void thread_affinity_exec(thread_t thread);
H A Dthread.h263 thread_t thread);
478 thread_t thread);
483 thread_t thread);
486 thread_t thread) __attribute__ ((noinline));
489 thread_t thread);
492 thread_t thread);
495 thread_t thread);
498 thread_t thread);
512 thread_t thread);
515 thread_t fro
[all...]
H A Dsyscall_subr.h71 thread_t thread);
78 thread_t self);
H A Dipc_tt.h98 thread_t thread);
102 thread_t thread);
106 thread_t thread);
110 thread_t thread);
118 thread_t thread);
146 extern thread_t convert_port_to_thread(
149 extern thread_t port_name_to_thread(
H A Dextmod_statistics.h43 extern void extmod_statistics_incr_thread_set_state(thread_t target);
H A Dsched_grrr.c74 thread_t thread);
76 static thread_t
83 thread_t thread);
123 static thread_t
127 static thread_t
131 sched_grrr_compute_priority(thread_t thread,
137 thread_t thread);
142 thread_t thread,
152 thread_t thread);
169 sched_grrr_initial_quantum_size(thread_t threa
[all...]
H A Dsync_lock.h56 thread_t holder; /* thread that holds the lock */
109 thread_t thread);
113 thread_t thread);
116 thread_t thread);
H A Dbsd_kern.c53 thread_t get_firstthread(task_t);
55 int get_thread_userstop(thread_t);
57 void task_act_iterate_wth_args(task_t, void(*)(thread_t, void *), void *);
58 kern_return_t get_signalact(task_t , thread_t *, int);
74 void *get_bsdthreadtask_info(thread_t th)
90 void *get_bsdthread_info(thread_t th)
98 int get_thread_lock_count(thread_t th); /* forced forward */
99 int get_thread_lock_count(thread_t th)
110 thread_t get_firstthread(task_t task)
112 thread_t threa
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dfpu.h86 thread_t thr_act,
90 thread_t thr_act,
94 thread_t parent,
95 thread_t child);
100 extern void fpflush(thread_t);
108 extern void fpu_save_context(thread_t thread);
H A Dpal_routines.h103 extern void pal_set_signal_delivery(thread_t);
110 extern void pal_dbg_page_fault( thread_t thread, user_addr_t vadddr,
117 void pal_syscall_restart(thread_t thread, x86_saved_state_t *state);
120 void pal_execve_return(thread_t thread);
123 void pal_thread_terminate_self(thread_t thread);
126 void pal_ast_check(thread_t thread);
132 void pal_switch_pmap(thread_t, pmap_t, boolean_t);
145 void pal_register_cache_state(thread_t thread, pal_cache_state_t state);
H A Dmisc_protos.h149 thread_t Switch_context(thread_t, thread_continue_t, thread_t);
150 thread_t Shutdown_context(thread_t thread, void (*doshutdown)(processor_t),processor_t processor);
169 extern void act_machine_switch_pcb(thread_t old, thread_t new);
/darwin-on-arm/xnu/osfmk/arm/
H A Dpal.c59 void pal_dbg_page_fault(thread_t thread __unused, user_addr_t vaddr __unused,
70 void pal_set_signal_delivery(thread_t thread __unused)
74 void pal_ast_check(thread_t thread)
H A Dpcb.c48 thread_t CurrentThread;
68 thread_t Switch_context(thread_t old_thread, thread_continue_t continuation,
69 thread_t new_thread);
73 static void save_vfp_context(thread_t thread);
88 * Set current thread identifier to the specified thread_t.
98 * Set current thread to the specified thread_t.
100 void machine_set_current_thread(thread_t thread)
113 thread_t curthr = current_thread();
121 thread_t curth
[all...]
H A Dgenassym.c181 DECLARE("TH_RECOVER", offsetof(thread_t, recover));
182 DECLARE("TH_CONTINUATION", offsetof(thread_t, continuation));
183 DECLARE("TH_KERNEL_STACK", offsetof(thread_t, kernel_stack));
184 DECLARE("TH_MUTEX_COUNT", offsetof(thread_t, mutex_count));
186 offsetof(thread_t, was_promoted_on_wakeup));
188 DECLARE("TH_SYSCALLS_MACH", offsetof(thread_t, syscalls_mach));
189 DECLARE("TH_SYSCALLS_UNIX", offsetof(thread_t, syscalls_unix));
196 DECLARE("MACHINE_THREAD", offsetof(thread_t, machine));
198 offsetof(thread_t, machine.preempt_count));
199 DECLARE("MACHINE_THREAD_CPU_DATA", offsetof(thread_t, machin
[all...]
/darwin-on-arm/xnu/osfmk/arm64/
H A Dthread_initialize.c47 thread_t CurrentThread;
55 thread_t Switch_context(thread_t old_thread, thread_continue_t continuation, thread_t new_thread);
58 static void save_vfp_context(thread_t thread);
72 * Set current thread identifier to the specified thread_t.
81 * Set current thread to the specified thread_t.
83 void machine_set_current_thread(thread_t thread)
95 thread_t curthr = current_thread();
104 thread_t curth
[all...]
H A Dgenassym.c163 DECLARE("TH_RECOVER", offsetof(thread_t, recover));
164 DECLARE("TH_CONTINUATION", offsetof(thread_t, continuation));
165 DECLARE("TH_KERNEL_STACK", offsetof(thread_t, kernel_stack));
166 DECLARE("TH_MUTEX_COUNT", offsetof(thread_t, mutex_count));
167 DECLARE("TH_WAS_PROMOTED_ON_WAKEUP", offsetof(thread_t, was_promoted_on_wakeup));
169 DECLARE("TH_SYSCALLS_MACH", offsetof(thread_t, syscalls_mach));
170 DECLARE("TH_SYSCALLS_UNIX", offsetof(thread_t, syscalls_unix));
175 DECLARE("MACHINE_THREAD", offsetof(thread_t, machine));
176 DECLARE("MACHINE_THREAD_PREEMPT_COUNT", offsetof(thread_t, machine.preempt_count));
177 DECLARE("MACHINE_THREAD_CPU_DATA", offsetof(thread_t, machin
[all...]
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dstubs.c49 extern void *get_bsduthreadarg(thread_t);
50 extern int *get_bsduthreadrval(thread_t);
51 extern void *find_user_regs(thread_t);
59 void *get_bsduthreadarg(thread_t th)
74 int *get_bsduthreadrval(thread_t th)
/darwin-on-arm/xnu/osfmk/chud/
H A Dchud_thread.c68 chudxnu_bind_thread(thread_t thread, int cpu, __unused int options)
106 chudxnu_unbind_thread(thread_t thread, __unused int options)
114 chudxnu_thread_get_idle(thread_t thread) {
126 chudxnu_thread_get_scheduler_state(thread_t thread) {
251 thread_t thread, *thread_list = (thread_t *)addr;
253 for (i = 0, thread = (thread_t)queue_first(&threads);
255 thread = (thread_t)queue_next(&thread->threads)) {
298 thread_t *thread_list = (thread_t *)add
[all...]

Completed in 112 milliseconds

123456789