Home
last modified time | relevance | path

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

123

/xnu-8020.101.4/osfmk/kern/
H A Dsyscall_subr.c134 thread_yield_with_continuation((thread_continue_t)swtch_continue, NULL); in swtch()
173 thread_yield_with_continuation((thread_continue_t)swtch_pri_continue, NULL); in swtch_pri()
325 thread_continue_t continuation, in thread_yield_with_continuation()
349 thread_handoff_internal(thread_t thread, thread_continue_t continuation, in thread_handoff_internal()
387 thread_handoff_parameter(thread_t thread, thread_continue_t continuation, in thread_handoff_parameter()
H A Dsched_prim.h153 thread_continue_t continuation,
162 thread_continue_t continuation,
243 thread_continue_t continuation,
585 thread_continue_t continuation, void *parameter, thread_handoff_option_t) __dead2;
610 thread_continue_t continuation,
616 thread_continue_t continuation);
619 thread_continue_t continuation,
H A Dkern_types.h94 typedef void (*thread_continue_t)(void *, wait_result_t); typedef
95 #define THREAD_CONTINUE_NULL ((thread_continue_t) NULL)
H A Dthread.h332 thread_continue_t continuation; /* continue here next dispatch */
1002 thread_continue_t continuation,
1008 thread_continue_t continuation,
1026 thread_continue_t continuation,
1234 thread_continue_t continuation);
1237 thread_continue_t continuation,
1243 thread_continue_t thread_return,
1646 thread_continue_t continuation,
H A Dthread.c683 thread_block((thread_continue_t)thread_terminate_continue); in thread_terminate_self()
1197 thread_continue_t continuation, in thread_create_internal()
1507 thread_continue_t continuation) in thread_create_with_options_internal()
1552 TH_OPTION_NONE, (thread_continue_t)thread_bootstrap_return); in thread_create_immovable()
1562 (thread_continue_t)thread_bootstrap_return); in thread_create_from_user()
1569 thread_continue_t continuation) in thread_create_with_continuation()
1580 thread_continue_t continuation, in thread_create_waiting_internal()
1625 thread_continue_t continuation, in main_thread_create_waiting()
1658 (thread_continue_t)thread_bootstrap_return, NULL, in thread_create_running_internal2()
1739 thread_continue_t continuation, in thread_create_workq_waiting()
[all …]
H A Dremote_time.c452 thread_block((thread_continue_t)bt_calibration_thread); in bt_calibration_thread()
459 kern_return_t result = kernel_thread_start_priority((thread_continue_t)bt_calibration_thread, in bt_calibration_thread_start()
H A Dsfi.c117 thread_continue_t class_continuation;
187 thread_continue_t continuation;
973 thread_continue_t continuation; in sfi_ast()
H A Dthread_call.c480 result = kernel_thread_start_priority((thread_continue_t)thread_call_thread, in thread_call_thread_create()
526 result = kernel_thread_start_priority((thread_continue_t)thread_call_daemon, in thread_call_initialize()
1779 thread_block_parameter((thread_continue_t)thread_call_thread, group); in thread_call_thread()
1788 thread_block_parameter((thread_continue_t)thread_call_thread, group); in thread_call_thread()
1853 thread_block_parameter((thread_continue_t)thread_call_daemon_continue, NULL); in thread_call_daemon_continue()
/xnu-8020.101.4/osfmk/kperf/
H A Dkperf.h105 kperf_on_cpu(thread_t thread, thread_continue_t continuation, in kperf_on_cpu()
109 void kperf_on_cpu_internal(thread_t thread, thread_continue_t continuation, in kperf_on_cpu()
H A Dpet.h51 void kppet_on_cpu(thread_t thread, thread_continue_t continuation,
H A Dkperf.c201 void kperf_on_cpu_internal(thread_t thread, thread_continue_t continuation,
204 kperf_on_cpu_internal(thread_t thread, thread_continue_t continuation, in kperf_on_cpu_internal()
H A Dlazy.h43 thread_continue_t continuation, uintptr_t *starting_fp);
H A Dlazy.c80 kperf_lazy_wait_sample(thread_t thread, thread_continue_t continuation, in kperf_lazy_wait_sample()
/xnu-8020.101.4/osfmk/console/
H A Dserial_general.c62 …result = kernel_thread_start_priority((thread_continue_t)serial_keyboard_start, NULL, MAXPRI_KERNE… in serial_keyboard_init()
95 thread_block((thread_continue_t)serial_keyboard_poll); /* Wait for it */ in serial_keyboard_poll()
/xnu-8020.101.4/osfmk/arm/
H A Dmisc_protos.h66 extern thread_t Switch_context(thread_t, thread_continue_t, thread_t);
68 extern void __dead2 Call_continuation(thread_continue_t, void *, wait_result_t, boolean_t enable_in…
H A Dpcb.c111 thread_continue_t continuation, in machine_switch_context()
338 thread_continue_t continuation, in call_continuation()
/xnu-8020.101.4/osfmk/tests/
H A Dkernel_tests.c974 …result = kernel_thread_start_priority((thread_continue_t)thread_lock_unlock_kernel_primitive, &tar… in ts_kernel_primitive_test()
987 …result = kernel_thread_start_priority((thread_continue_t)thread_lock_unlock_kernel_primitive, &tar… in ts_kernel_primitive_test()
990 …result = kernel_thread_start_priority((thread_continue_t)thread_lock_unlock_kernel_primitive, &tar… in ts_kernel_primitive_test()
1029 start_threads(thread_continue_t func, struct synch_test_common *info, bool sleep_after_first) in start_threads()
1048 result = kernel_thread_start_priority((thread_continue_t)func, info, priority, &thread); in start_threads()
1822 …start_threads((thread_continue_t)thread_just_inheritor_do_work, (struct synch_test_common *)info, … in test_sleep_with_wake_all()
1837 …start_threads((thread_continue_t)thread_inheritor_like_mutex, (struct synch_test_common *)info, FA… in test_sleep_with_wake_one()
1854 start_threads((thread_continue_t)thread_steal_work, (struct synch_test_common *)info, FALSE); in test_change_sleep_inheritor()
1868 …start_threads((thread_continue_t)thread_no_inheritor_work, (struct synch_test_common *)info, FALSE… in test_no_inheritor()
1880 start_threads((thread_continue_t)thread_rw_work, (struct synch_test_common *)info, FALSE); in test_rw_lock()
[all …]
H A Dvfp_state_test.c224 retval = kernel_thread_start((thread_continue_t)vfp_state_test_thread_routine, in vfp_state_test()
/xnu-8020.101.4/iokit/Kernel/
H A DIOWorkLoop.cpp176 thread_continue_t cptr = OSMemberFunctionCast( in init()
177 thread_continue_t, in init()
442 thread_continue_t cptr = NULL; in threadMain()
445 thread_continue_t, this, &IOWorkLoop::threadMain); in threadMain()
/xnu-8020.101.4/bsd/security/audit/
H A Daudit_worker.c451 (thread_continue_t)audit_worker); in audit_worker()
573 kernel_thread_start((thread_continue_t)audit_worker, NULL, in audit_worker_init()
H A Daudit_bsd.h219 thread_continue_t function);
/xnu-8020.101.4/bsd/kern/
H A Dkern_synch.c192 if (mtx != NULL && chan != NULL && (thread_continue_t)continuation == THREAD_CONTINUE_NULL) { in _sleep()
258 if ((thread_continue_t)continuation != THREAD_CONTINUE_NULL) { in _sleep()
/xnu-8020.101.4/osfmk/i386/
H A Dmisc_protos.h115 thread_t Switch_context(thread_t, thread_continue_t, thread_t);
/xnu-8020.101.4/osfmk/arm64/
H A Dplatform_tests.c441 lt_start_trylock_thread(thread_continue_t func) in lt_start_trylock_thread()
625 lt_start_lock_thread(thread_continue_t func) in lt_start_lock_thread()
689 lt_start_lock_thread_e(thread_continue_t func) in lt_start_lock_thread_e()
701 lt_start_lock_thread_p(thread_continue_t func) in lt_start_lock_thread_p()
713 lt_start_lock_thread_bound(thread_continue_t func) in lt_start_lock_thread_bound()
/xnu-8020.101.4/osfmk/vm/
H A Dvm_compressor_backing_store.c440 if (kernel_thread_start_priority((thread_continue_t)vm_swapout_thread, NULL, in vm_compressor_swap_init()
448 if (kernel_thread_start_priority((thread_continue_t)vm_swapfile_create_thread, NULL, in vm_compressor_swap_init()
455 if (kernel_thread_start_priority((thread_continue_t)vm_swapfile_gc_thread, NULL, in vm_compressor_swap_init()
770 thread_block((thread_continue_t)vm_swapfile_create_thread); in vm_swapfile_create_thread()
894 thread_block((thread_continue_t)vm_swapfile_gc_thread); in vm_swapfile_gc_thread()
1236 thread_block((thread_continue_t)vm_swapout_thread); in vm_swapout_thread()

123