Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dast.c98 thread_preempted_in_kernel(ast_t urgent_reason) in thread_preempted_in_kernel()
143 ast_t urgent_reason = ast_consume(AST_PREEMPTION); in ast_taken_kernel()
177 ast_t urgent_reason = ast_consume(AST_PREEMPTION); in ast_taken_user()
211 ast_t reasons = ast_consume(AST_PER_THREAD | AST_KPERF | AST_DTRACE); in ast_taken_user()
285 ast_t telemetry_reasons = reasons & AST_TELEMETRY_ALL; in ast_taken_user()
322 ast_t preemption_reasons = ast_consume(AST_PREEMPTION); in ast_taken_user()
374 ast_on(ast_t reasons) in ast_on()
376 ast_t *pending_ast = ast_pending(); in ast_on()
386 ast_off(ast_t reasons) in ast_off()
388 ast_t *pending_ast = ast_pending(); in ast_off()
[all …]
H A Dast.h79 typedef uint32_t ast_t; typedef
162 extern ast_t *ast_pending(void);
165 extern void ast_on(ast_t reasons);
168 extern void ast_off(ast_t reasons);
171 extern ast_t ast_consume(ast_t reasons);
174 extern ast_t ast_peek(ast_t reasons);
H A Dsfi.h61 ast_t sfi_thread_needs_ast(thread_t thread, sfi_class_id_t *out_class /* optional */);
62 ast_t sfi_processor_needs_ast(processor_t processor);
H A Dsched_proto.c81 ast_t reason);
121 static ast_t
313 ast_t reason __unused) in sched_proto_choose_thread()
511 static ast_t
H A Dsched_dualq.c65 static ast_t
90 sched_dualq_choose_thread(processor_t processor, int priority, ast_t reason);
219 __unused ast_t reason) in sched_dualq_choose_thread()
309 static ast_t
H A Dsched_amp.c66 static ast_t
91 sched_amp_choose_thread(processor_t processor, int priority, ast_t reason);
230 __unused ast_t reason) in sched_amp_choose_thread()
310 static ast_t
H A Dsched_traditional.c93 static ast_t
130 sched_traditional_choose_thread(processor_t processor, int priority, ast_t reason);
327 __unused ast_t reason) in sched_traditional_choose_thread()
454 static ast_t
H A Dsched.h342 extern ast_t csw_check(
345 ast_t check_reason);
H A Dsched_grrr.c123 ast_t reason);
162 static ast_t
324 ast_t reason __unused) in sched_grrr_choose_thread()
481 static ast_t
H A Dsched_prim.h245 ast_t reason);
725 ast_t reason);
790 ast_t (*processor_csw_check)(processor_t processor);
H A Dsyscall_subr.c634 ast_t *pending_ast = ast_pending(); in thread_yield_to_preemption()
635 ast_t ast = AST_NONE; in thread_yield_to_preemption()
H A Dsfi.c871 ast_t
898 ast_t
1042 ast_t sfi_ast; in sfi_reevaluate()
H A Dsched_multiq.c255 static ast_t
280 sched_multiq_choose_thread(processor_t processor, int priority, ast_t reason);
1024 ast_t reason) in sched_multiq_choose_thread()
1203 static ast_t
H A Dsched_prim.c362 static ast_t
367 ast_t check_reason);
2344 ast_t *reason) in thread_select()
2852 ast_t reason) in thread_invoke()
3494 ast_t reason = thread->reason; in thread_dispatch()
3618 ast_t new_ast; in thread_dispatch()
3707 ast_t reason) in thread_block_reason()
3789 ast_t reason = AST_NONE; in thread_run()
4503 ast_t preempt = AST_NONE; in realtime_setrun()
4760 ast_t preempt; in processor_setrun()
[all …]
H A Dpriority.c105 ast_t preempt; in thread_quantum_expire()
222 ast_t check_reason = AST_QUANTUM; in thread_quantum_expire()
H A Dsched_clutch.c2690 static ast_t
2715 sched_clutch_choose_thread(processor_t processor, int priority, ast_t reason);
2873 __unused ast_t reason) in sched_clutch_choose_thread()
2933 static ast_t
3323 static ast_t
3333 sched_edge_choose_thread(processor_t processor, int priority, ast_t reason);
3570 __unused ast_t reason) in sched_edge_choose_thread()
3655 static ast_t
H A Dthread_act.c1216 ast_t ast, in act_set_ast()
1254 ast_t ast) in act_set_ast_async()
H A Dthread.h295 ast_t reason; /* why we blocked */
590 ast_t ast;
H A Dtelemetry.c483 telemetry_ast(thread_t thread, ast_t reasons) in telemetry_ast()
H A Dthread_policy.c702 ast_t ast = 0; in thread_unfreeze_base_pri()
/xnu-8019.80.24/osfmk/i386/
H A Dcpu.c213 ast_t *
H A Dcpu_data.h214 ast_t cpu_pending_ast;
/xnu-8019.80.24/osfmk/arm/
H A Dcpu_data_internal.h140 ast_t cpu_pending_ast;
H A Dpmap.h770 return !!(*((volatile ast_t*)ast_pending()) & AST_URGENT); in _pmap_pending_preemption_real()
H A Dcpu_common.c762 ast_t *