Home
last modified time | relevance | path

Searched refs:queue_first (Results 1 – 19 of 19) sorted by relevance

/xnu-12377.1.9/iokit/DriverKit/
H A Dqueue_implementation.h564 queue_entry_t _tmp_entry = queue_first((head)); \
652 #define queue_first(q) ((q)->next) macro
704 #define queue_empty(q) queue_end((q), queue_first(q))
1108 for ((elt) = (type)(void *) queue_first(head); \
/xnu-12377.1.9/osfmk/kern/
H A Dqueue.h564 queue_entry_t _tmp_entry = queue_first((head)); \
652 #define queue_first(q) ((q)->next) macro
704 #define queue_empty(q) queue_end((q), queue_first(q))
1108 for ((elt) = (type)(void *) queue_first(head); \
H A Dbsd_kern.c249 thread = (thread_t)(void *)queue_first(&task->threads); in get_firstthread()
278 for (inc = (thread_t)(void *)queue_first(&task->threads); in get_signalact()
328 for (inc = (thread_t)(void *)queue_first(&task->threads); in check_actforsig()
1055 for (inc = (thread_t)(void *)queue_first(&task->threads); in task_act_iterate_wth_args()
1146 for (thact = (thread_t)(void *)queue_first(&task->threads); in fill_taskthreadinfo()
1195 for (thact = (thread_t)(void *)queue_first(&task->threads); in fill_taskthreadlist()
H A Dsched_rt.c1230 if (iter == queue_first(queue)) { in check_rt_runq_consistency()
1291 if (iter == queue_first(queue)) { in rt_runq_enqueue()
/xnu-12377.1.9/osfmk/vm/
H A Dvm_compressor_backing_store.c216 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swapfile_for_handle()
695 c_seg = (c_segment_t)queue_first(&c_swappedout_sparse_list_head); in vm_swap_defragment()
1245 c_seg = (c_segment_t)queue_first(swapout_list_head); in vm_swapout_thread()
1549 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_create_file()
1758 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_put()
2044 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_handle_delayed_trims()
2167 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_reclaim()
2508 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_max_budget()
H A Dvm_purgeable.c702 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_object_find_and_lock()
1146 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_stats_helper()
1196 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_account_volatile_queue()
1237 for (object = (vm_object_t) queue_first(nonvolatile_q); in vm_purgeable_account()
1293 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_queue_purge_task_owned()
H A Danalytics.c175 c_segment_t c_seg = (c_segment_t) queue_first(c_queues[q]); in report_compressor_age()
H A Dvm_compressor.c619 c_seg = (c_segment_t) queue_first(&c_age_list_head); in vm_compressor_is_thrashing()
1674 for (c_seg = (c_segment_t) queue_first(&owner_task->task_frozen_cseg_q); in task_disown_frozen_csegs()
1886 c_first = (c_segment_t)queue_first(&c_age_list_head); in c_seg_switch_state()
2683 c_seg = (c_segment_t) queue_first(&c_age_list_head); in vm_compressor_swapout_is_ripe()
3016 c_seg = (c_segment_t)queue_first(&c_minor_list_head); in vm_compressor_do_delayed_compactions()
3242 c_seg = (c_segment_t)queue_first(&c_major_list_head); in vm_compressor_process_major_segments()
3330 c_seg = (c_segment_t)queue_first(special_swappedin_list_head); in vm_compressor_process_special_swapped_in_segments_locked()
3458 c_seg = (c_segment_t)queue_first(&c_regular_swappedin_list_head); in vm_compressor_process_regular_swapped_in_segments()
3533 c_seg = (c_segment_t)queue_first(&c_major_list_head); in vm_compressor_flush()
3756 c_seg = (c_segment_t) queue_first(c_queue); in do_fastwake_warmup()
[all …]
H A Dvm_object.c1120 next_obj = (vm_object_t)queue_first(&vm_object_cached_list); in vm_object_cache_evict()
9306 for (object = (vm_object_t) queue_first(&task->task_objq);
9348 queue_first(&task->task_objq),
H A Dvm_resident.c10662 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_page_iterate_purgeable_objects()
/xnu-12377.1.9/iokit/Kernel/
H A DIOPlatformActions.cpp360 next = (typeof(entry))queue_first(&gActionQueues[qidx]); in IORemoveServicePlatformActions()
H A DIOLib.cpp1293 __IGNORE_WCASTALIGN(pa = (typeof(pa))queue_first(&a->list)); in iopa_alloc()
H A DIOServicePM.cpp9220 request = (typeof(request))queue_first(requestQueue); in checkRequestQueue()
9290 __IGNORE_WCASTALIGN(entry = (typeof(entry))queue_first(&fWorkQueue)); in checkForWork()
9424 request = (typeof(request))queue_first(&fQueue); in checkForWork()
H A DIOUserClient.cpp1751 owner = (IOUserClientOwner *)(void *) queue_first(&owners); in noMoreSenders()
1863 owner = (IOUserClientOwner *)(void *) queue_first(taskque); in iokit_task_terminate_phase2()
H A DIOService.cpp337 for (queue_entry_t elt = queue_first(que); \
/xnu-12377.1.9/osfmk/i386/AT386/
H A Dmodel_dep.c1647 for (j = 0, thread = (thread_t) queue_first(&task->threads); j < task->thread_count; in print_tasks_user_threads()
1672 for (j = 0, thread = (thread_t) queue_first(&task->threads); j < task->thread_count; in print_thread_num_that_crashed()
/xnu-12377.1.9/osfmk/arm/
H A Dmodel_dep.c644 for (thread = (thread_t)queue_first(&threads); in do_print_all_panic_info()
/xnu-12377.1.9/osfmk/ipc/
H A Dipc_importance.c859 task_imp = (ipc_importance_task_t)queue_first(queue); in ipc_importance_task_process_updates()
1002 task_imp = (ipc_importance_task_t)queue_first(&ipc_importance_delayed_drop_queue); in ipc_importance_task_delayed_drop_scan()
/xnu-12377.1.9/osfmk/arm/pmap/
H A Dpmap_data.c779 pt_desc_t *ptdp = (pt_desc_t *)queue_first(&pt_page_list); in ppr_find_eligible_pt_page()