Home
last modified time | relevance | path

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

12345

/xnu-12377.41.6/osfmk/kern/
H A Dwaitq.h538 extern wait_result_t waitq_assert_wait64(
553 extern wait_result_t waitq_assert_wait64_leeway(
573 wait_result_t result,
594 wait_result_t result,
613 wait_result_t result,
634 wait_result_t result,
653 wait_result_t result);
707 extern wait_result_t waitq_assert_wait64_locked(
731 wait_result_t result,
750 wait_result_t result,
[all …]
H A Dlocks.h84 extern wait_result_t lck_spin_sleep(
90 extern wait_result_t lck_spin_sleep_grp(
97 extern wait_result_t lck_spin_sleep_deadline(
167 extern wait_result_t lck_spin_sleep_with_inheritor(
213 extern wait_result_t hw_lck_ticket_sleep_with_inheritor(
260 extern wait_result_t lck_ticket_sleep_with_inheritor(
304 extern wait_result_t lck_mtx_sleep_with_inheritor(
347 extern wait_result_t lck_rw_sleep_with_inheritor(
385 wait_result_t result,
391 wait_result_t result,
[all …]
H A Dsched_prim.h130 wait_result_t wresult);
135 wait_result_t wresult,
162 wait_result_t wresult,
248 wait_result_t result);
259 extern wait_result_t thread_block_reason(
456 __private_extern__ wait_result_t thread_mark_wait_locked(
463 wait_result_t result);
608 wait_result_t result);
629 extern wait_result_t thread_handoff_deallocate(thread_t thread, thread_handoff_option_t option);
690 extern wait_result_t sched_cond_wait_parameter(
[all …]
H A Dlocks.c1054 wait_result_t
1062 wait_result_t res; in lck_spin_sleep_grp()
1082 wait_result_t
1095 wait_result_t
1103 wait_result_t res; in lck_spin_sleep_deadline()
1126 wait_result_t
1133 wait_result_t res; in lck_mtx_sleep()
1183 wait_result_t
1191 wait_result_t res; in lck_mtx_sleep_deadline()
1270 wait_result_t result, in wakeup_with_inheritor_and_turnstile()
[all …]
H A Dwaitq.c801 wait_result_t result;
1297 wait_result_t
1306 wait_result_t wait_result; in waitq_assert_wait64_locked()
1505 wait_result_t result, in waitq_wakeup64_nthreads_locked()
1545 wait_result_t result, in waitq_wakeup64_all_locked()
1559 wait_result_t result, in waitq_wakeup64_one_locked()
1613 wait_result_t result, in waitq_resume_identified_thread()
1636 wait_result_t result, in waitq_resume_and_bind_identified_thread()
1660 wait_result_t result) in waitq_wakeup64_thread_and_unlock()
2239 wait_result_t result) in select_waitq_wakeup_and_deinit()
[all …]
H A Dkern_types.h86 typedef int wait_result_t; typedef
94 typedef void (*thread_continue_t)(void *, wait_result_t);
H A Dexclaves_aoe.c237 static wait_result_t
263 wait_result_t wr = thread_block(THREAD_CONTINUE_NULL); in exclaves_aoe_claim_work()
368 static wait_result_t
387 wait_result_t wr = thread_block(THREAD_CONTINUE_NULL); in exclaves_aoe_claim_message()
H A Dlock_mtx.h110 extern wait_result_t lck_mtx_sleep(
116 extern wait_result_t lck_mtx_sleep_deadline(
H A Depoch_sync.h145 extern wait_result_t esync_wait(esync_space_t space, uint64_t id,
H A Dlock_rw.h514 extern wait_result_t lck_rw_sleep(
538 extern wait_result_t lck_rw_sleep_deadline(
H A Depoch_sync.c416 wait_result_t
466 wait_result_t wr = waitq_assert_wait64(&ts->ts_waitq, in esync_wait()
660 const wait_result_t wr = esync_wait(ESYNC_SPACE_TEST, (uint32_t)(uintptr_t)lock, epoch, in test_lock()
776 wait_result_t wr = esync_wait(ESYNC_SPACE_TEST, 0, 0, &counter, 0, in esync_test_wait()
H A Dkern_apfs_reflock.h326 wait_result_t kern_apfs_reflock_wait_for_unlock(kern_apfs_reflock_t reflock, wait_interrupt_t inter…
H A Dexclaves_log.c151 log_server_retrieve_logs(__unused void *arg, __unused wait_result_t w) in log_server_retrieve_logs()
253 redacted_log_server_retrieve_logs(__unused void *arg, __unused wait_result_t w) in redacted_log_server_retrieve_logs()
/xnu-12377.41.6/bsd/net/
H A Dnwk_wq.c45 static void nwk_wq_thread_func(void *, wait_result_t);
48 static void nwk_wq_thread_func(void *v, wait_result_t w);
99 nwk_wq_thread_func(void *v, wait_result_t w) in nwk_wq_thread_func()
H A Dflowadv.c114 static void flowadv_thread_func(void *, wait_result_t);
263 flowadv_thread_func(void *v, wait_result_t w) in flowadv_thread_func()
H A Ddlil_input.c63 static void dlil_input_thread_func(void *, wait_result_t);
64 static void dlil_input_thread_cont(void *, wait_result_t);
69 static void dlil_main_input_thread_func(void *, wait_result_t);
70 static void dlil_main_input_thread_cont(void *, wait_result_t);
72 static void dlil_rxpoll_input_thread_func(void *, wait_result_t);
73 static void dlil_rxpoll_input_thread_cont(void *, wait_result_t);
1111 dlil_input_thread_func(void *v, wait_result_t w) in dlil_input_thread_func()
1153 dlil_input_thread_cont(void *v, wait_result_t wres) in dlil_input_thread_cont()
1335 dlil_main_input_thread_func(void *v, wait_result_t w) in dlil_main_input_thread_func()
1368 dlil_main_input_thread_cont(void *v, wait_result_t wres) in dlil_main_input_thread_cont()
[all …]
/xnu-12377.41.6/tests/unit/mocks/
H A Dmock_thread.h108 wait_result_t result));
111 wait_result_t,
H A Dmock_thread.c1198 wait_result_t result),
1229 wait_result_t
1271 wait_result_t result) in pthread_mock_clear_wait()
1300 T_MOCK(wait_result_t,
1334 T_MOCK(wait_result_t,
1348 wait_result_t res = MOCK_waitq_assert_wait64_locked(waitq, wait_event, interruptible,
1397 T_MOCK_DYNAMIC(wait_result_t,
1447 clear_wait, (thread_t thread, wait_result_t wresult))
1466 wait_result_t wait_result;
1491 wait_result_t result,
[all …]
/xnu-12377.41.6/bsd/skywalk/lib/
H A Dcuckoo_hashtable_test.c43 static void cuckoo_test_start(void *, wait_result_t);
44 static void cuckoo_test_stop(void *, wait_result_t);
346 cht_concurrent_add(void *v, wait_result_t w) in cht_concurrent_add()
444 cht_concurrent_del(void *v, wait_result_t w) in cht_concurrent_del()
509 cht_concurrent_duo(void *v, wait_result_t w) in cht_concurrent_duo()
605 void (*cht_concurrent_ops)(void *v, wait_result_t w), in cht_concurrent_tests()
668 cuckoo_test_start(void *v, wait_result_t w) in cuckoo_test_start()
691 cuckoo_test_stop(void *v, wait_result_t w) in cuckoo_test_stop()
/xnu-12377.41.6/osfmk/vm/
H A Dvm_object_internal.h604 extern wait_result_t vm_object_sleep(
738 extern wait_result_t vm_object_pl_req_wait(vm_object_t object, wait_interrupt_t interruptible);
740 extern wait_result_t vm_object_paging_wait(vm_object_t object, wait_interrupt_t interruptible);
742 extern wait_result_t vm_object_paging_only_wait(vm_object_t object, wait_interrupt_t interruptible);
744 extern wait_result_t vm_object_paging_throttle_wait(vm_object_t object, wait_interrupt_t interrupti…
764 extern wait_result_t vm_object_mapping_wait(vm_object_t object, wait_interrupt_t interruptible);
/xnu-12377.41.6/osfmk/tests/
H A Dpmap_tests.c135 pmap_disconnect_thread(void *arg, wait_result_t __unused wres) in pmap_disconnect_thread()
186 pmap_remove_thread(void *arg, wait_result_t __unused wres) in pmap_remove_thread()
263 pmap_nest_thread(void *arg, wait_result_t __unused wres) in pmap_nest_thread()
610 hugepv_remove_enter_thread(void *arg, wait_result_t __unused wres) in hugepv_remove_enter_thread()
643 hugepv_fast_fault_thread(void *arg, wait_result_t __unused wres) in hugepv_fast_fault_thread()
670 hugepv_cache_attr_thread(void *arg, wait_result_t __unused wres) in hugepv_cache_attr_thread()
905 surt_allocation_emulation_thread(void *arg, wait_result_t __unused wres) in surt_allocation_emulation_thread()
959 surt_free_emulation_thread(void *arg, wait_result_t __unused wres) in surt_free_emulation_thread()
H A Dkernel_tests.c954 __unused wait_result_t wr) in thread_lock_unlock_kernel_primitive()
1224 static wait_result_t
1227 wait_result_t ret = KERN_SUCCESS; in primitive_sleep_with_inheritor()
1494 __unused wait_result_t wr) in thread_inheritor_like_mutex()
1496 wait_result_t wait; in thread_inheritor_like_mutex()
1547 __unused wait_result_t wr) in thread_just_inheritor_do_work()
1587 __unused wait_result_t wr) in thread_steal_work()
1648 __unused wait_result_t wr) in thread_no_inheritor_work()
1675 __unused wait_result_t wr) in thread_mtx_work()
1775 __unused wait_result_t wr) in thread_rw_work()
[all …]
/xnu-12377.41.6/osfmk/ipc/
H A Dipc_mqueue.c107 static void ipc_mqueue_receive_results(wait_result_t result);
792 ipc_mqueue_receive_results(wait_result_t saved_wait_result) in ipc_mqueue_receive_results()
845 ipc_mqueue_receive_continue(__unused void *param, wait_result_t wresult) in ipc_mqueue_receive_continue()
883 wait_result_t wresult; in ipc_mqueue_receive()
916 wait_result_t
925 wait_result_t wresult; in ipc_mqueue_receive_on_thread_and_unlock()
/xnu-12377.41.6/bsd/skywalk/nexus/netif/
H A Dnx_netif_mit.c42 static void nx_netif_mit_thread_func(void *, wait_result_t);
43 static void nx_netif_mit_thread_cont(void *, wait_result_t);
44 static void nx_netif_mit_s_thread_cont(void *, wait_result_t);
505 nx_netif_mit_thread_func(void *v, wait_result_t w) in nx_netif_mit_thread_func()
535 nx_netif_mit_s_thread_cont(void *v, wait_result_t wres) in nx_netif_mit_s_thread_cont()
642 nx_netif_mit_thread_cont(void *v, wait_result_t wres) in nx_netif_mit_thread_cont()
/xnu-12377.41.6/bsd/security/audit/
H A Daudit_bsd.c326 wait_result_t
329 wait_result_t res = THREAD_AWAKENED; in _audit_slck_lock()

12345