Home
last modified time | relevance | path

Searched refs:wq_q (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.41.6/osfmk/kern/
H A Dwaitq.c311 __wql_list_foreach((link).wqls, &(waitq).wq_q->waitq_sellinks, __it)
406 return waitq.wq_q >= global_waitqs && waitq.wq_q < global_waitqs + g_num_waitqs; in waitq_is_global()
416 return priority_queue_empty(&wq.wq_q->waitq_prio_queue); in waitq_empty()
418 ts = wq.wq_q->waitq_ts; in waitq_empty()
425 return circle_queue_empty(&wq.wq_q->waitq_queue); in waitq_empty()
471 idx = (uint32_t)(waitq.wq_q - global_waitqs); in waitq_global_stats()
522 struct turnstile *ts = waitq.wq_q->waitq_ts; in waitq_get_safeq()
526 uint32_t hash = os_hash_kernel_pointer(waitq.wq_q); in waitq_get_safeq()
590 thread->waitq.wq_q = NULL; in thread_clear_waitq_state()
604 VM_KERNEL_UNSLIDE_OR_PERM(waitq_to_turnstile(wq.wq_q)), in waitq_thread_remove()
[all …]
H A Dwaitq.h130 struct waitq *wq_q; member
338 return wq.wq_q->waitq_type; in waitq_type()
344 return wq1.wq_q == wq2.wq_q; in waitq_same()
350 return wq.wq_q == NULL; in waitq_is_null()
392 return waitq.wq_q && waitq.wq_q->waitq_interlock.lck_valid; in waitq_valid()
H A Dkern_stackshot.c6356 kdp_lck_mtx_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
6359 kdp_mqueue_recv_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo, &ispl); in stackshot_thread_wait_owner_info()
6363 kdp_mqueue_send_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo, &ispl); in stackshot_thread_wait_owner_info()
6367 kdp_sema_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
6370 kdp_ulock_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
6375 kdp_rwlck_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
6390 kdp_sleep_with_inheritor_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
6393 kdp_eventlink_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
6401 kdp_esync_find_owner(thread->waitq.wq_q, thread->wait_event, waitinfo_v1); in stackshot_thread_wait_owner_info()
H A Dturnstile.c2010 return waitq.wq_q->waitq_ts; in thread_get_waiting_turnstile()
2013 return waitq_to_turnstile(waitq.wq_q); in thread_get_waiting_turnstile()
2066 if (waitq.wq_q->waitq_ts) { in thread_get_update_flags_for_turnstile_propagation_stoppage()
/xnu-12377.41.6/tests/unit/mocks/
H A Dmock_thread.c970 #define MWQCAST(xnu_wq) ((struct mock_waitq *)(xnu_wq).wq_q)
1031 *wq.wq_q = (struct waitq){
1435 thread->waitq.wq_q = NULL;
1457 thread->waitq.wq_q = NULL;
1480 thread->th.waitq.wq_q = NULL; in waitq_wakeup_fiber_callback()
1525 thread->th.waitq.wq_q = NULL;
1567 mock_thread->th.waitq.wq_q = NULL;
/xnu-12377.41.6/tools/lldbmacros/
H A Dwaitq.py104 if t.waitq.wq_q == self._wq: yield t
H A Dprocess.py506 wait_queue_str = '{:<#018x}'.format(unsigned(thread.waitq.wq_q))