Home
last modified time | relevance | path

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

12

/xnu-8019.80.24/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 Dwaitq.c1690 return queue_empty(&wq->waitq_queue); in waitq_empty()
1993 if (queue_empty(&args->threadq)) { in waitq_select_walk_cb()
2904 assert(args.nthreads == 1 && queue_empty(&args.threadq)); in waitq_wakeup64_identify_locked()
3101 assert(queue_empty(&waitq->waitq_queue)); in waitq_deinit()
H A Dsync_sema.c192 assert(queue_empty(&semaphore->waitq.waitq_queue)); in semaphore_destroy_internal()
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-8019.80.24/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.cpp677 assert(queue_empty(&mem->site->instances)); in IOTrackingRemove()
784 while (!queue_empty(&queue->sites[idx])) { in IOTrackingReset()
791 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()
8281 assert( !queue_empty(&fPMDriverCallQueue)); in deassertPMDriverCall()
8665 while (!queue_empty(&fQueue)) { in checkForWork()
8756 empty = queue_empty(requestQueue); in queuePMRequest()
8784 assert(!queue_empty(requestQueue)); in checkRequestQueue()
8811 done = queue_empty(requestQueue); in checkRequestQueue()
8848 if (queue_empty(&fWorkQueue)) { in checkForWork()
8905 if (queue_empty(&fWorkQueue)) { in attachQuiesceRequest()
/xnu-8019.80.24/osfmk/vm/
H A Dvm_compressor.c1157 if (queue_empty(qhead)) { in c_seg_insert_into_q()
1525 if (!queue_empty(&c_age_list_head)) { in c_seg_switch_state()
2287 if (!queue_empty(&c_age_list_head)) { in compressor_needs_to_swap()
2319 if (!queue_empty(&c_age_list_head)) { in compressor_needs_to_swap()
2532 if (!queue_empty(&c_major_list_head)) { in vm_consider_swapping()
2630 while (!queue_empty(&c_minor_list_head) && needs_to_swap == FALSE) { in vm_compressor_do_delayed_compactions()
2671 while (!queue_empty(&c_swappedin_list_head)) { in vm_compressor_age_swapped_in_segments()
2744 if (!queue_empty(&c_major_list_head)) { in vm_compressor_flush()
2757 while (!queue_empty(&c_swapout_list_head)) { in vm_compressor_flush()
2854 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.c631 while (!queue_empty(&c_swappedout_sparse_list_head)) { in vm_swap_defragment()
1126 …while (!queue_empty(&c_swapout_list_head) && vm_swapout_soc_busy < vm_swapout_limit && !compressor… in vm_swapout_thread()
/xnu-8019.80.24/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-8019.80.24/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-8019.80.24/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-8019.80.24/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-8019.80.24/bsd/kern/
H A Dsys_ulock.c262 if (!queue_empty(&ull_bucket[i].ulb_head)) { in ull_hash_dump()

12