Home
last modified time | relevance | path

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

12

/xnu-11215/osfmk/kern/
H A Dexclaves_inspection.c178 while (!queue_empty(&exclaves_inspection_queue_stackshot)) { in clear_stackshot_queue()
194 while (!queue_empty(&exclaves_inspection_queue_kperf)) { in clear_kperf_queue()
335 …while (queue_empty(&exclaves_inspection_queue_stackshot) && queue_empty(&exclaves_inspection_queue… in exclaves_collect_threads_thread()
339 if (!queue_empty(&exclaves_inspection_queue_stackshot)) { in exclaves_collect_threads_thread()
356 if (!queue_empty(&exclaves_inspection_queue_stackshot)) { in exclaves_collect_threads_thread()
363 if (!queue_empty(&exclaves_inspection_queue_kperf)) { in exclaves_collect_threads_thread()
378 if (!queue_empty(&exclaves_inspection_queue_kperf)) { in exclaves_collect_threads_thread()
398 while (!queue_empty(queue)) { in exclaves_inspection_wait_complete()
H A Daffinity.c263 assert(queue_empty(&aspc->aspc_affinities)); in task_affinity_deallocate()
403 assert(queue_empty(&aspc->aspc_affinities)); in affinity_space_free()
440 assert(queue_empty(&aset->aset_threads)); in affinity_set_free()
484 if (queue_empty(&aset->aset_threads)) { in affinity_set_remove()
H A Dmpqueue.h42 if (queue_empty(&(q)->head)) \
H A Dqueue.h704 #define queue_empty(q) queue_end((q), queue_first(q)) macro
728 if (queue_empty(_old)) { in movqueue()
1081 if (!queue_empty(old)) { \
H A Dhost_notify.c176 if (queue_empty(&send_queue)) { in host_notify_all()
H A Dcoalition.c410 if (coal != NULL && (!queue_empty(&task->task_coalition[COALITION_TYPE_RESOURCE]))) { in coalition_ledger_get_from_task()
627 assert(queue_empty(&task->task_coalition[COALITION_TYPE_RESOURCE])); in i_coal_resource_adopt_task()
660 assert(!queue_empty(&task->task_coalition[COALITION_TYPE_RESOURCE])); in i_coal_resource_remove_task()
1098 assert(queue_empty(&coal->j.extensions)); in i_coal_jetsam_dealloc()
1099 assert(queue_empty(&coal->j.services)); in i_coal_jetsam_dealloc()
1100 assert(queue_empty(&coal->j.other)); in i_coal_jetsam_dealloc()
1119 assert(queue_empty(&task->task_coalition[COALITION_TYPE_JETSAM])); in i_coal_jetsam_adopt_task()
1142 assert(!queue_empty(&task->task_coalition[COALITION_TYPE_JETSAM])); in i_coal_jetsam_remove_task()
H A Dthread_call.c833 if (queue_empty(&group->delayed_queues[flavor])) { in _arm_delayed_call_timer()
1756 assert(queue_empty(&group->pending_queue)); in thread_call_thread()
H A Dtimer_call.c939 while (!queue_empty(&queue->head)) { in timer_queue_expire_with_options()
1393 if (queue_empty(&timer_longterm_queue->head)) { in timer_longterm_scan()
/xnu-11215/iokit/Kernel/
H A DIODMAEventSource.cpp208 work = !queue_empty(&dmaCommandsCompleted); in checkForWork()
211 again = !queue_empty(&dmaCommandsCompleted); in checkForWork()
H A DIOPMPowerStateQueue.cpp93 while (!queue_empty(&queueHead)) { in checkForWork()
H A DIOCommandPool.cpp179 while (queue_empty(&fQueueHead)) { in gatedGetCommand()
H A DIOKitDebug.cpp701 assert(queue_empty(&site->instances)); in IOTrackingRemoveInternal()
857 while (!queue_empty(&queue->sites[idx])) { in IOTrackingReset()
864 while (!queue_empty(&site->instances)) { in IOTrackingReset()
H A DIOServicePM.cpp550 assert(queue_empty(&pwrMgt->RequestHead)); in PMfree()
551 assert(queue_empty(&fPMDriverCallQueue)); in PMfree()
8595 assert( !queue_empty(&fPMDriverCallQueue)); in deassertPMDriverCall()
8984 while (!queue_empty(&fQueue)) { in checkForWork()
9075 empty = queue_empty(requestQueue); in queuePMRequest()
9103 assert(!queue_empty(requestQueue)); in checkRequestQueue()
9130 done = queue_empty(requestQueue); in checkRequestQueue()
9167 if (queue_empty(&fWorkQueue)) { in checkForWork()
9224 if (queue_empty(&fWorkQueue)) { in attachQuiesceRequest()
H A DIOPMrootDomain.cpp2276 queue_empty(&aggressivesQueue)) { in handleAggressivesRequests()
2360 } while (!queue_empty(&aggressivesQueue)); in handleAggressivesRequests()
2363 if (!queue_empty(&joinedQueue) || broadcast) { in handleAggressivesRequests()
2365 if (!queue_empty(&joinedQueue)) { in handleAggressivesRequests()
2387 } while (!queue_empty(&aggressivesQueue)); in handleAggressivesRequests()
2423 while (!queue_empty(joinedQueue)) { in synchronizeAggressives()
/xnu-11215/osfmk/vm/
H A Dvm_compressor_backing_store.c672 while (!queue_empty(&c_swappedout_sparse_list_head)) { in vm_swap_defragment()
1189 bool process_queue = !queue_empty(swapout_list_head) && in should_process_swapout_queue()
1336 …queues_empty = queue_empty(&c_early_swapout_list_head) && queue_empty(&c_regular_swapout_list_head… in vm_swapout_thread()
1338 queues_empty = queue_empty(&c_early_swapout_list_head) && queue_empty(&c_late_swapout_list_head); in vm_swapout_thread()
1343 if (!queue_empty(&c_early_swapout_list_head)) { in vm_swapout_thread()
1350 if (!queue_empty(&c_regular_swapout_list_head)) { in vm_swapout_thread()
H A Dvm_compressor.c601 if (!queue_empty(&c_age_list_head)) { in vm_compressor_is_thrashing()
1907 if (!queue_empty(&c_age_list_head)) { in c_seg_switch_state()
2686 if (!queue_empty(&c_age_list_head)) { in vm_compressor_swapout_is_ripe()
3215 if (queue_empty(&c_major_list_head)) { in vm_compressor_process_major_segments()
3263 queue_empty(&c_major_list_head)) { in vm_compressor_process_major_segments()
3291 if (queue_empty(&c_major_list_head)) { in vm_compressor_process_major_segments()
3523 …while (!queue_empty(&c_early_swapout_list_head) || !queue_empty(&c_regular_swapout_list_head) || ! in vm_compressor_flush()
3620 if (!queue_empty(&c_age_list_head)) { in vm_compressor_record_warmup_start()
3642 if (!queue_empty(&c_age_list_head)) { in vm_compressor_record_warmup_end()
3696 if (queue_empty(&c_swappedout_list_head) && queue_empty(&c_swappedout_sparse_list_head)) { in do_fastwake_warmup_all()
[all …]
H A Dvm_purgeable.c826 while (!queue_empty(&queue->objq[group])) { in vm_purgeable_object_purge_all()
936 if (!queue_empty(&queue->objq[group]) && in vm_purgeable_object_purge_one()
949 if (!queue_empty(&queue->objq[group]) && in vm_purgeable_object_purge_one()
965 if (!queue_empty(&queue2->objq[group]) && in vm_purgeable_object_purge_one()
H A Dvm_page.h785 #define vm_page_queue_empty queue_empty
H A Dvm_apple_protect.c1423 while (!queue_empty(&trim_queue)) { in apple_protect_pager_trim()
H A Dvm_shared_region_pager.c1406 while (!queue_empty(&trim_queue)) { in shared_region_pager_trim()
/xnu-11215/iokit/DriverKit/
H A Dqueue_implementation.h704 #define queue_empty(q) queue_end((q), queue_first(q)) macro
728 if (queue_empty(_old)) { in movqueue()
1081 if (!queue_empty(old)) { \
/xnu-11215/osfmk/i386/
H A Dmp.c1137 if (!queue_empty(&cqp->queue)) { in mp_call_alloc()
1162 if (!queue_empty(&cqp->queue)) { in mp_call_dequeue_locked()
1292 if (!queue_empty(&cqp->queue)) { in mp_cpus_call_wait()
1397 if (!queue_empty(&cqp->queue)) { in mp_cpus_call1()
2033 if (!queue_empty(&cpu_warm_call_list)) { in grab_warm_timer_call()
/xnu-11215/osfmk/ipc/
H A Dipc_importance.c855 while (!queue_empty(queue)) { in ipc_importance_task_process_updates()
964 if (!queue_empty(&second_chance)) { in ipc_importance_task_process_updates()
997 if (!queue_empty(&ipc_importance_delayed_drop_queue)) { in ipc_importance_task_delayed_drop_scan()
1119 while (!queue_empty(&propagate)) { in ipc_importance_task_propagate_assertion_locked()
1173 if (!queue_empty(&updates)) { in ipc_importance_task_propagate_assertion_locked()
/xnu-11215/osfmk/bank/
H A Dbank.c1203 assert(queue_empty(&bank_task->bt_accounts_to_pay)); in bank_task_dealloc()
1204 assert(queue_empty(&bank_task->bt_accounts_to_charge)); in bank_task_dealloc()
/xnu-11215/bsd/kern/
H A Dsys_ulock.c295 if (!queue_empty(&ull_bucket[i].ulb_head)) { in ull_hash_dump()

12