/xnu-2782.1.97/osfmk/kern/ |
H A D | priority.c | 74 #include <kern/thread.h> 86 * Recalculate the quantum and priority for a thread. 97 thread_t thread = p1; local 106 * We bill CPU time to both the individual thread and its task. 109 * thread, we must credit the ledger before taking the thread lock. The ledger 110 * pointers are only manipulated by the thread itself at the ast boundary. 112 ledger_credit(thread->t_ledger, task_ledgers.cpu_time, thread->quantum_remaining); 113 ledger_credit(thread 218 sched_set_thread_base_priority(thread_t thread, int priority) argument 237 lightweight_update_priority(thread_t thread) argument 316 compute_priority( register thread_t thread, boolean_t override_depress) argument 345 compute_my_priority( register thread_t thread) argument 372 can_update_priority( thread_t thread) argument 389 update_priority( register thread_t thread) argument 502 sched_share_incr(thread_t thread) argument 510 sched_share_decr(thread_t thread) argument 519 sched_background_incr(thread_t thread) argument 533 sched_background_decr(thread_t thread) argument 548 assert_thread_sched_count(thread_t thread) argument 588 sched_set_thread_mode(thread_t thread, sched_mode_t new_mode) argument 632 sched_thread_mode_demote(thread_t thread, uint32_t reason) argument 670 sched_thread_mode_undemote(thread_t thread, uint32_t reason) argument 710 sched_set_thread_throttled(thread_t thread, boolean_t wants_throttle) argument [all...] |
H A D | thread_act.c | 63 #include <kern/thread.h> 88 * Internal routine to mark a thread as started. 89 * Always called with the thread locked. 95 * of the newly created thread. Commented out for now, in case we 100 thread_t thread) 102 clear_wait(thread, THREAD_AWAKENED); 103 thread->started = TRUE; 104 // DTRACE_PROC1(lwp__start, thread_t, thread); 108 * Internal routine to terminate a thread. 113 thread_t thread) 99 thread_start_internal( thread_t thread) argument 112 thread_terminate_internal( thread_t thread) argument 148 thread_terminate( thread_t thread) argument 185 thread_hold( register thread_t thread) argument 202 thread_release( register thread_t thread) argument 216 thread_suspend( register thread_t thread) argument 247 thread_resume( register thread_t thread) argument 285 thread_depress_abort( register thread_t thread) argument 313 act_abort( thread_t thread) argument 332 thread_abort( register thread_t thread) argument 355 thread_abort_safely( thread_t thread) argument 393 thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count) argument 418 thread_get_state( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument 467 thread_set_state_internal( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count, boolean_t from_user) argument 524 thread_set_state( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument 534 thread_set_state_from_user( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument 551 thread_state_initialize( register thread_t thread) argument 638 thread_setstatus( register thread_t thread, int flavor, thread_state_t tstate, mach_msg_type_number_t count) argument 654 thread_getstatus( register thread_t thread, int flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument 668 thread_set_tsd_base( thread_t thread, mach_vm_offset_t tsd_base) argument 717 install_special_handler( thread_t thread) argument 736 install_special_handler_locked( thread_t thread) argument 778 thread_t thread = current_thread(); local 825 thread_t thread = current_thread(); local 856 special_handler( __unused ReturnHandler *rh, thread_t thread) argument 907 act_set_state( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t count) argument 921 act_set_state_from_user( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t count) argument 935 act_get_state( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t *count) argument 948 act_set_ast( thread_t thread, ast_t ast) argument 975 act_set_astbsd( thread_t thread) argument 982 act_set_apc( thread_t thread) argument 989 act_set_kperf( thread_t thread) argument 1002 act_set_astmacf( thread_t thread) argument [all...] |
H A D | thread_policy.c | 34 #include <kern/thread.h> 49 * This table defines the starting base priority of the thread, 50 * which will be modified by the thread importance and the task max priority 62 * This table defines the highest IO priority that a thread marked with this 75 * a thread marked with this QoS class can have. 96 thread_recompute_qos(thread_t thread); 100 thread_t thread); 103 thread_set_user_sched_mode(thread_t thread, sched_mode_t mode); 109 extern void proc_get_thread_policy(thread_t thread, thread_policy_state_t info); 112 thread_has_qos_policy(thread_t thread) { argument 117 thread_remove_qos_policy(thread_t thread) argument 131 thread_is_static_param(thread_t thread) argument 197 thread_policy_set( thread_t thread, thread_policy_flavor_t flavor, thread_policy_t policy_info, mach_msg_type_number_t count) argument 245 thread_policy_set_internal( thread_t thread, thread_policy_flavor_t flavor, thread_policy_t policy_info, mach_msg_type_number_t count) argument 512 thread_set_mode_and_absolute_pri( thread_t thread, integer_t policy, integer_t priority) argument 605 thread_set_user_sched_mode(thread_t thread, sched_mode_t mode) argument 623 thread_recompute_qos(thread_t thread) argument 646 thread_update_qos_cpu_time(thread_t thread, boolean_t lock_needed) argument 782 thread_recompute_priority( thread_t thread) argument 833 thread_task_priority( thread_t thread, integer_t priority, integer_t max_priority) argument 873 thread_policy_reset( thread_t thread) argument 922 thread_policy_get( thread_t thread, thread_policy_flavor_t flavor, thread_policy_t policy_info, mach_msg_type_number_t *count, boolean_t *get_default) argument [all...] |
H A D | thread.c | 59 * File: kern/thread.c 93 #include <machine/thread.h> 114 #include <kern/thread.h> 155 static struct thread thread_template, init_thread; 159 thread_t thread); 188 * (ie when any thread's CPU consumption exceeds 70% of the limit, start taking user 205 * Fill in a template thread for fast initialization. 353 sizeof(struct thread), 354 thread_max * sizeof(struct thread), 355 THREAD_CHUNK * sizeof(struct thread), 393 thread_t thread = current_thread(); local 510 thread_deallocate( thread_t thread) argument 571 thread_t self, thread; local 649 thread_terminate_enqueue( thread_t thread) argument 670 thread_t thread; local 707 thread_stack_enqueue( thread_t thread) argument 721 thread_t thread = NULL; local 977 thread_t thread; local 1034 thread_t thread; local 1111 thread_t thread; local 1147 thread_t thread; local 1178 thread_t thread; local 1204 thread_info_internal( register thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count) argument 1416 thread_read_times( thread_t thread, time_value_t *user_time, time_value_t *system_time) argument 1452 thread_t thread = NULL; local 1468 thread_assign( __unused thread_t thread, __unused processor_set_t new_pset) argument 1482 thread_assign_default( thread_t thread) argument 1494 thread_get_assignment( thread_t thread, processor_set_t *pset) argument 1513 thread_wire_internal( host_priv_t host_priv, thread_t thread, boolean_t wired, boolean_t *prev_state) argument 1548 thread_wire( host_priv_t host_priv, thread_t thread, boolean_t wired) argument 1580 thread_guard_violation(thread_t thread, unsigned type) argument 1607 guard_ast(thread_t thread) argument 1650 thread_t thread = current_thread(); local 1776 thread_update_io_stats(thread_t thread, int size, int io_flags) argument 1841 thread_t thread = current_thread(); local 1896 thread_t thread = current_thread(); local 1981 sched_call_null( __unused int type, __unused thread_t thread) argument 1989 thread_sched_call( thread_t thread, sched_call_t call) argument 1997 thread_static_param( thread_t thread, boolean_t state) argument 2007 thread_tid( thread_t thread) argument 2021 thread_dispatchqaddr( thread_t thread) argument 2045 thread_reference( thread_t thread) argument 2074 thread_t thread = current_thread(); local 2131 thread_get_mach_voucher( thread_act_t thread, mach_voucher_selector_t __unused which, ipc_voucher_t *voucherp) argument 2201 thread_set_mach_voucher( thread_t thread, ipc_voucher_t voucher) argument 2253 thread_swap_mach_voucher( thread_t thread, ipc_voucher_t new_voucher, ipc_voucher_t *in_out_old_voucher) argument 2336 thread_t thread = current_thread(); local 2351 dtrace_get_thread_predcache(thread_t thread) argument 2359 dtrace_get_thread_vtime(thread_t thread) argument 2367 dtrace_get_thread_tracing(thread_t thread) argument 2375 dtrace_get_thread_reentering(thread_t thread) argument 2383 dtrace_get_kernel_stack(thread_t thread) argument 2391 dtrace_calc_thread_recent_vtime(thread_t thread) argument 2406 dtrace_set_thread_predcache(thread_t thread, uint32_t predcache) argument 2412 dtrace_set_thread_vtime(thread_t thread, int64_t vtime) argument 2418 dtrace_set_thread_tracing(thread_t thread, int64_t accum) argument 2424 dtrace_set_thread_reentering(thread_t thread, boolean_t vbool) argument 2434 dtrace_set_thread_recover(thread_t thread, vm_offset_t recover) argument 2450 thread_t thread = current_thread(); local 2462 dtrace_thread_didexec(thread_t thread) argument [all...] |
H A D | ast.c | 74 #include <kern/thread.h> 109 thread_t thread = current_thread(); local 133 if (!(thread->state & TH_IDLE)) { 138 wait_queue_assert_possible(thread) ) { 160 thread_ast_clear(thread, AST_BSD); 161 bsd_ast(thread); 169 thread_ast_clear(thread, AST_MACF); 170 mac_thread_userret(thread); 180 thread_ast_clear(thread, AST_GUARD); 181 guard_ast(thread); 242 thread_t thread = processor->active_thread; local [all...] |
H A D | sched_prim.c | 100 #include <kern/thread.h> 214 static inline void runq_consider_incr_bound_count(processor_t processor, thread_t thread) argument 216 if (thread->bound_processor == PROCESSOR_NULL) 219 assert(thread->bound_processor == processor); 228 static inline void runq_consider_decr_bound_count(processor_t processor, thread_t thread) argument 230 if (thread->bound_processor == PROCESSOR_NULL) 233 assert(thread->bound_processor == processor); 258 thread_t thread, 264 thread_t thread, 269 thread_t thread, 860 thread_t thread = p0; local 885 thread_unblock( thread_t thread, wait_result_t wresult) argument 1032 thread_go( thread_t thread, wait_result_t wresult) argument 1061 thread_mark_wait_locked( thread_t thread, wait_interrupt_t interruptible) argument 1117 thread_t thread = current_thread(); local 1136 thread_t thread; local 1180 thread_t thread = current_thread(); local 1223 thread_t thread = current_thread(); local 1269 thread_t thread = current_thread(); local 1305 thread_t thread = current_thread(); local 1347 thread_isoncpu(thread_t thread) argument 1384 thread_stop( thread_t thread, boolean_t until_not_runnable) argument 1469 thread_unstop( thread_t thread) argument 1511 thread_wait( thread_t thread, boolean_t until_not_runnable) argument 1576 clear_wait_internal( thread_t thread, wait_result_t wresult) argument 1625 clear_wait( thread_t thread, wait_result_t result) argument 1781 thread_select( thread_t thread, processor_t processor, ast_t reason) argument 1994 thread_select_idle( thread_t thread, processor_t processor) argument 2105 thread_t thread; local 2137 thread_t thread; local 2189 thread_invoke( thread_t self, thread_t thread, ast_t reason) argument 2456 thread_dispatch( thread_t thread, thread_t self) argument 2827 thread_continue( register thread_t thread) argument 2852 thread_quantum_init(thread_t thread) argument 2864 sched_traditional_initial_quantum_size(thread_t thread) argument 2921 sched_traditional_fairshare_enqueue(thread_t thread) argument 2939 thread_t thread; local 2959 sched_traditional_fairshare_queue_remove(thread_t thread) argument 3002 thread_t thread; local 3036 run_queue_enqueue( run_queue_t rq, thread_t thread, integer_t options) argument 3075 run_queue_remove( run_queue_t rq, thread_t thread) argument 3106 fairshare_setrun( processor_t processor, thread_t thread) argument 3130 realtime_queue_insert( thread_t thread) argument 3180 realtime_setrun( processor_t processor, thread_t thread) argument 3308 processor_enqueue( processor_t processor, thread_t thread, integer_t options) argument 3335 processor_setrun( processor_t processor, thread_t thread, integer_t options) argument 3624 choose_processor( processor_set_t pset, processor_t processor, thread_t thread) argument 3927 thread_setrun( thread_t thread, integer_t options) argument 4055 thread_t next, thread; local 4141 thread_t thread = processor->active_thread; local 4187 set_sched_pri( thread_t thread, int priority) argument 4274 processor_queue_remove( processor_t processor, thread_t thread) argument 4329 thread_run_queue_remove( thread_t thread) argument 4405 thread_t thread; local 4455 thread_t thread; local 4511 thread_get_urgency(thread_t thread, uint64_t *arg1, uint64_t *arg2) argument 4560 processor_idle( thread_t thread, processor_t processor) argument 4738 thread_t thread; local 4771 thread_t thread; local 4963 thread_update_add_thread(thread_t thread) argument 4978 thread_t thread = thread_update_array[--thread_update_count]; local 5004 register thread_t thread; local 5036 thread_t thread; local 5075 thread_eager_preemption(thread_t thread) argument 5081 thread_set_eager_preempt(thread_t thread) argument 5115 thread_clear_eager_preempt(thread_t thread) argument 5189 thread_runnable( thread_t thread) argument [all...] |
H A D | kpc_thread.c | 31 #include <kern/thread.h> 107 /* and schedule an AST for this thread... */ 120 /* snapshot current PMCs and update counters in the current thread */ 122 kpc_update_thread_counters( thread_t thread ) 139 /* 2. apply delta to old thread */ 140 if( thread->kpc_buf ) 142 thread->kpc_buf[i] += cpu->cpu_kpc_buf[1][i] - cpu->cpu_kpc_buf[0][i]; 164 /* get counter values for a thread */ 168 thread_t thread = current_thread(); local 176 if( !thread 196 kpc_thread_create(thread_t thread) argument 207 kpc_thread_destroy(thread_t thread) argument [all...] |
H A D | sched_prim.h | 74 #include <kern/thread.h> 86 /* Force a preemption point for a thread and wait for it to stop running */ 88 thread_t thread, 93 thread_t thread); 95 /* Wait for a thread to stop running */ 97 thread_t thread, 100 /* Unblock thread on wake up */ 102 thread_t thread, 105 /* Unblock and dispatch thread */ 107 thread_t thread, [all...] |
H A D | thread.h | 59 * File: thread.h 125 #include <machine/thread.h> 127 struct thread { struct 129 * NOTE: The runq field in the thread structure has an unusual 133 * set to PROCESSOR_NULL without holding the thread lock, but the 135 * under the thread lock and the run queue lock. 137 * When the thread is on a wait queue, these first three fields 149 decl_simple_lock_data(,wake_lock) /* for thread stop / wait (wake_lock()) */ 150 integer_t options; /* options set by thread itself */ 156 #define TH_OPT_PRVT_CPULIMIT 0x0040 /* Thread has a thread 707 thread_set_tag_internal(thread_t thread, uint16_t tag) argument 711 thread_get_tag_internal(thread_t thread) argument [all...] |
H A D | syscall_subr.h | 71 thread_t thread); 74 void *thread,
|
H A D | sched_grrr.c | 54 #include <kern/thread.h> 73 thread_t thread); 82 thread_t thread); 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 thread); 175 sched_grrr_can_update_priority(thread_t thread); 178 sched_grrr_update_priority(thread_t thread); 332 sched_grrr_compute_priority(thread_t thread, boolean_t override_depress __unused) argument 339 sched_grrr_choose_processor( processor_set_t pset, processor_t processor, thread_t thread) argument 347 sched_grrr_processor_enqueue( processor_t processor, thread_t thread, integer_t options __unused) argument 367 thread_t thread; local 397 sched_grrr_processor_queue_remove( processor_t processor, thread_t thread) argument 597 thread_t thread; local 623 thread_t thread; local 719 grrr_enqueue( grrr_run_queue_t rq, thread_t thread) argument 768 thread_t thread; local 809 grrr_remove( grrr_run_queue_t rq, thread_t thread) argument 916 sched_grrr_fairshare_enqueue(thread_t thread) argument 929 thread_t thread; local 944 sched_grrr_fairshare_queue_remove(thread_t thread) argument [all...] |
H A D | ipc_tt.h | 96 /* Initialize a thread's IPC state */ 98 thread_t thread); 101 thread_t thread); 104 thread_t thread); 106 /* Disable IPC access to a thread */ 108 thread_t thread); 110 /* Clean up and destroy a thread's IPC state */ 112 thread_t thread); 114 /* Clear out a thread's IPC state */ 116 thread_t thread); [all...] |
H A D | affinity.c | 46 * and its thread membership. This includes its destruction when the task 48 * - The thread mutex protects a thread's affinity set membership, but in 49 * addition, the thread_lock is taken to write thread->affinity_set since this 52 * The lock ordering is: task lock, thread mutex, namespace mutex, thread lock. 74 static void affinity_set_add(affinity_set_t aset, thread_t thread); 75 static affinity_set_t affinity_set_remove(affinity_set_t aset, thread_t thread); 99 * Return the affinity tag for a thread. 100 * Called with the thread mute 103 thread_affinity_get(thread_t thread) argument 122 thread_affinity_set(thread_t thread, uint32_t tag) argument 338 thread_affinity_terminate(thread_t thread) argument 359 thread_affinity_exec(thread_t thread) argument 441 affinity_set_add(affinity_set_t aset, thread_t thread) argument 461 affinity_set_remove(affinity_set_t aset, thread_t thread) argument [all...] |
H A D | affinity.h | 44 * Affinity sets are used to advise (hint) thread placement. 58 extern void thread_affinity_terminate(thread_t thread); 71 extern kern_return_t thread_affinity_set(thread_t thread, uint32_t tag); 72 extern uint32_t thread_affinity_get(thread_t thread); 73 extern void thread_affinity_exec(thread_t thread);
|
H A D | ipc_tt.c | 68 * Task and thread related IPC functions. 92 #include <kern/thread.h> 283 * (Or the current thread must be in the task.) 365 * (Or the current thread must be in the task.) 432 * Initialize a thread's IPC state. 439 thread_t thread) 447 thread->ith_self = kport; 448 thread->ith_sself = ipc_port_make_send(kport); 449 thread->exc_actions = NULL; 451 ipc_kobject_set(kport, (ipc_kobject_t)thread, IKOT_THREA 438 ipc_thread_init( thread_t thread) argument 463 ipc_thread_init_exc_actions( thread_t thread) argument 473 ipc_thread_destroy_exc_actions( thread_t thread) argument 484 ipc_thread_disable( thread_t thread) argument 502 ipc_thread_terminate( thread_t thread) argument 551 ipc_thread_reset( thread_t thread) argument 665 retrieve_thread_self_fast( thread_t thread) argument 732 thread_t thread = current_thread(); local 785 thread_get_special_port( thread_t thread, int which, ipc_port_t *portp) argument 834 thread_set_special_port( thread_t thread, int which, ipc_port_t port) argument 1380 thread_t thread = THREAD_NULL; local 1411 thread_t thread = THREAD_NULL; local 1561 convert_thread_to_port( thread_t thread) argument 1615 thread_set_exception_ports( thread_t thread, exception_mask_t exception_mask, ipc_port_t new_port, exception_behavior_t new_behavior, thread_state_flavor_t new_flavor) argument 1788 thread_swap_exception_ports( thread_t thread, exception_mask_t exception_mask, ipc_port_t new_port, exception_behavior_t new_behavior, thread_state_flavor_t new_flavor, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument 2005 thread_get_exception_ports( thread_t thread, exception_mask_t exception_mask, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument [all...] |
H A D | sched_proto.c | 54 #include <kern/thread.h> 89 sched_proto_compute_priority(thread_t thread, 95 thread_t thread); 101 thread_t thread, 111 thread_t thread); 128 sched_proto_initial_quantum_size(thread_t thread); 134 sched_proto_can_update_priority(thread_t thread); 137 sched_proto_update_priority(thread_t thread); 140 sched_proto_lightweight_update_priority(thread_t thread); 143 sched_proto_quantum_expire(thread_t thread); 305 thread_t thread; local 369 sched_proto_compute_priority(thread_t thread, boolean_t override_depress __unused) argument 397 sched_proto_processor_enqueue( processor_t processor __unused, thread_t thread, integer_t options) argument 422 sched_proto_processor_queue_remove( processor_t processor, thread_t thread) argument [all...] |
H A D | syscall_subr.c | 70 #include <kern/thread.h> 103 * This boolean can be used by a thread waiting on a 104 * lock or condition: If FALSE is returned, the thread is justified 107 * returned, the thread should make one more check on the 252 * Context switch. User may supply thread hint. 258 register thread_t thread, self = current_thread(); local 314 thread = convert_port_to_thread(port); 317 if (thread == self) { 318 (void)thread_deallocate_internal(thread); 319 thread 478 thread_t thread = p0; local 495 thread_depress_abort_internal( thread_t thread) argument [all...] |
/xnu-2782.1.97/osfmk/chud/ |
H A D | chud_thread.h | 33 #include <kern/thread.h>
|
H A D | chud_thread.c | 35 #include <kern/thread.h> 66 #pragma mark **** thread binding **** 70 * This method will bind a given thread to the requested CPU starting at the 71 * next time quantum. If the thread is the current thread, this method will 73 * current thread, you will be on the requested CPU when this method returns. 76 chudxnu_bind_thread(thread_t thread, int cpu, __unused int options) argument 84 if(thread != current_thread()) 99 * If we're trying to bind the current thread, and 101 * context, block the current thread t 114 chudxnu_unbind_thread(thread_t thread, __unused int options) argument 122 chudxnu_thread_get_idle(thread_t thread) argument 134 chudxnu_thread_get_scheduler_state(thread_t thread) argument 259 thread_t thread, *thread_list = (thread_t *)addr; local 339 thread_t thread; local 517 chudxnu_task_for_thread(thread_t thread) argument 523 chudxnu_thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count) argument 536 chudxnu_thread_get_marked(thread_t thread) argument 544 chudxnu_thread_set_marked(thread_t thread, boolean_t new_value) argument 570 chudxnu_thread_ast(thread_t thread) argument 615 chudxnu_set_thread_bits( thread_t thread, uint32_t bits ) argument 625 chudxnu_thread_get_dirty(thread_t thread) argument 634 chudxnu_thread_set_dirty(thread_t thread, boolean_t makedirty) argument [all...] |
/xnu-2782.1.97/osfmk/mach/ |
H A D | thread_special_ports.h | 61 * Defines codes for special_purpose thread ports. These are NOT 70 #define THREAD_KERNEL_PORT 1 /* Represents the thread to the outside 77 #define thread_get_kernel_port(thread, port) \ 78 (thread_get_special_port((thread), THREAD_KERNEL_PORT, (port))) 80 #define thread_set_kernel_port(thread, port) \ 81 (thread_set_special_port((thread), THREAD_KERNEL_PORT, (port)))
|
/xnu-2782.1.97/security/ |
H A D | mac_mach_internal.h | 67 struct label *mac_thread_get_threadlabel(struct thread *thread); 75 void act_set_astmacf(struct thread *); 76 void mac_thread_userret(struct thread *);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | ast.h | 37 #include <kern/thread.h>
|
/xnu-2782.1.97/osfmk/kperf/ |
H A D | kperf.h | 37 /* Helpers to get and set AST bits on a thread */ 38 extern uint32_t kperf_get_thread_bits( thread_t thread ); 39 extern void kperf_set_thread_bits( thread_t thread, uint32_t bits ); 40 extern void kperf_set_thread_ast( thread_t thread ); 59 extern void kperf_thread_ast_handler( thread_t thread );
|
/xnu-2782.1.97/bsd/sys/ |
H A D | vfs_context.h | 7 #include <kern/thread.h>
|
/xnu-2782.1.97/libsyscall/mach/ |
H A D | ms_thread_switch.c | 68 mach_port_t thread, 74 result = syscall_thread_switch(thread, option, option_time); 67 thread_switch( mach_port_t thread, int option, mach_msg_timeout_t option_time) argument
|