Home
last modified time | relevance | path

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

12

/xnu-8020.101.4/osfmk/kern/
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.h65 if (queue_empty(&(q)->head)) \
H A Dqueue.h700 #define queue_empty(q) queue_end((q), queue_first(q)) macro
724 if (queue_empty(_old)) { in movqueue()
1034 if (!queue_empty(old)) { \
H A Dhost_notify.c142 if (!queue_empty(notify_queue)) { in host_notify_all()
H A Dcoalition.c370 if (coal != NULL && (!queue_empty(&task->task_coalition[COALITION_TYPE_RESOURCE]))) { in coalition_ledger_get_from_task()
584 assert(queue_empty(&task->task_coalition[COALITION_TYPE_RESOURCE])); in i_coal_resource_adopt_task()
617 assert(!queue_empty(&task->task_coalition[COALITION_TYPE_RESOURCE])); in i_coal_resource_remove_task()
965 assert(queue_empty(&coal->j.extensions)); in i_coal_jetsam_dealloc()
966 assert(queue_empty(&coal->j.services)); in i_coal_jetsam_dealloc()
967 assert(queue_empty(&coal->j.other)); in i_coal_jetsam_dealloc()
986 assert(queue_empty(&task->task_coalition[COALITION_TYPE_JETSAM])); in i_coal_jetsam_adopt_task()
1009 assert(!queue_empty(&task->task_coalition[COALITION_TYPE_JETSAM])); in i_coal_jetsam_remove_task()
H A Dsched_multiq.c754 boolean_t *queue_empty) in group_run_queue_dequeue_thread() argument
775 *queue_empty = TRUE; in group_run_queue_dequeue_thread()
777 *queue_empty = FALSE; in group_run_queue_dequeue_thread()
H A Dsched_grrr.c842 if (queue_empty(&rq->sorted_group_list)) { in grrr_sorted_list_insert_group()
H A Dthread_call.c809 if (queue_empty(&group->delayed_queues[flavor])) { in _arm_delayed_call_timer()
1670 assert(queue_empty(&group->pending_queue)); in thread_call_thread()
H A Dtimer_call.c890 while (!queue_empty(&queue->head)) { in timer_queue_expire_with_options()
1308 if (queue_empty(&timer_longterm_queue->head)) { in timer_longterm_scan()
/xnu-8020.101.4/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.cpp679 assert(queue_empty(&mem->site->instances)); in IOTrackingRemove()
795 while (!queue_empty(&queue->sites[idx])) { in IOTrackingReset()
802 while (!queue_empty(&site->instances)) { in IOTrackingReset()
H A DIOServicePM.cpp516 assert(queue_empty(&pwrMgt->RequestHead)); in PMfree()
517 assert(queue_empty(&fPMDriverCallQueue)); in PMfree()
8280 assert( !queue_empty(&fPMDriverCallQueue)); in deassertPMDriverCall()
8664 while (!queue_empty(&fQueue)) { in checkForWork()
8755 empty = queue_empty(requestQueue); in queuePMRequest()
8783 assert(!queue_empty(requestQueue)); in checkRequestQueue()
8810 done = queue_empty(requestQueue); in checkRequestQueue()
8847 if (queue_empty(&fWorkQueue)) { in checkForWork()
8904 if (queue_empty(&fWorkQueue)) { in attachQuiesceRequest()
/xnu-8020.101.4/osfmk/vm/
H A Dvm_compressor.c1159 if (queue_empty(qhead)) { in c_seg_insert_into_q()
1527 if (!queue_empty(&c_age_list_head)) { in c_seg_switch_state()
2289 if (!queue_empty(&c_age_list_head)) { in compressor_needs_to_swap()
2321 if (!queue_empty(&c_age_list_head)) { in compressor_needs_to_swap()
2534 if (!queue_empty(&c_major_list_head)) { in vm_consider_swapping()
2632 while (!queue_empty(&c_minor_list_head) && needs_to_swap == FALSE) { in vm_compressor_do_delayed_compactions()
2673 while (!queue_empty(&c_swappedin_list_head)) { in vm_compressor_age_swapped_in_segments()
2746 if (!queue_empty(&c_major_list_head)) { in vm_compressor_flush()
2759 while (!queue_empty(&c_swapout_list_head)) { in vm_compressor_flush()
2856 if (!queue_empty(&c_age_list_head)) { in vm_compressor_record_warmup_start()
[all …]
H A Dvm_purgeable.c842 while (!queue_empty(&queue->objq[group])) { in vm_purgeable_object_purge_all()
954 if (!queue_empty(&queue->objq[group]) && in vm_purgeable_object_purge_one()
967 if (!queue_empty(&queue->objq[group]) && in vm_purgeable_object_purge_one()
983 if (!queue_empty(&queue2->objq[group]) && in vm_purgeable_object_purge_one()
H A Dvm_fourk_pager.c652 while (!queue_empty(&trim_queue)) { in fourk_pager_trim()
H A Dvm_compressor_backing_store.c626 while (!queue_empty(&c_swappedout_sparse_list_head)) { in vm_swap_defragment()
1121 …while (!queue_empty(&c_swapout_list_head) && vm_swapout_soc_busy < vm_swapout_limit && !compressor… in vm_swapout_thread()
H A Dvm_shared_region_pager.c1408 while (!queue_empty(&trim_queue)) { in shared_region_pager_trim()
H A Dvm_apple_protect.c1454 while (!queue_empty(&trim_queue)) { in apple_protect_pager_trim()
/xnu-8020.101.4/iokit/DriverKit/
H A Dqueue_implementation.h700 #define queue_empty(q) queue_end((q), queue_first(q)) macro
724 if (queue_empty(_old)) { in movqueue()
1034 if (!queue_empty(old)) { \
/xnu-8020.101.4/osfmk/i386/
H A Dmp.c1139 if (!queue_empty(&cqp->queue)) { in mp_call_alloc()
1164 if (!queue_empty(&cqp->queue)) { in mp_call_dequeue_locked()
1289 if (!queue_empty(&cqp->queue)) { in mp_cpus_call_wait()
1394 if (!queue_empty(&cqp->queue)) { in mp_cpus_call1()
2011 if (!queue_empty(&cpu_warm_call_list)) { in grab_warm_timer_call()
/xnu-8020.101.4/osfmk/ipc/
H A Dipc_importance.c842 while (!queue_empty(queue)) { in ipc_importance_task_process_updates()
948 if (!queue_empty(&second_chance)) { in ipc_importance_task_process_updates()
981 if (!queue_empty(&ipc_importance_delayed_drop_queue)) { in ipc_importance_task_delayed_drop_scan()
1103 while (!queue_empty(&propagate)) { in ipc_importance_task_propagate_assertion_locked()
1154 if (!queue_empty(&updates)) { in ipc_importance_task_propagate_assertion_locked()
/xnu-8020.101.4/osfmk/bank/
H A Dbank.c1173 assert(queue_empty(&bank_task->bt_accounts_to_pay)); in bank_task_dealloc()
1174 assert(queue_empty(&bank_task->bt_accounts_to_charge)); in bank_task_dealloc()
/xnu-8020.101.4/bsd/kern/
H A Dsys_ulock.c267 if (!queue_empty(&ull_bucket[i].ulb_head)) { in ull_hash_dump()

12