Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/kern/
H A Dsched_grrr.c603 thread = (thread_t)(void *)queue_first(&group->clients); in grrr_intragroup_schedule()
609 group->current_client = (thread_t)(void *)queue_first(&group->clients); in grrr_intragroup_schedule()
631 group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_intergroup_schedule()
643 group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_intergroup_schedule()
661 group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_intergroup_schedule()
738 queue_first(&group->clients) == (queue_entry_t)group->current_client) { in grrr_enqueue()
851 search_group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_sorted_list_insert_group()
H A Dqueue.h539 queue_entry_t _tmp_entry = queue_first((head)); \
627 #define queue_first(q) ((q)->next) macro
679 #define queue_empty(q) queue_end((q), queue_first(q))
1040 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()
995 for (thread_t inc = (thread_t)(void *)queue_first(&task->threads); in task_act_iterate_wth_args_locked()
1095 for (thact = (thread_t)(void *)queue_first(&task->threads); in fill_taskthreadinfo()
1144 for (thact = (thread_t)(void *)queue_first(&task->threads); in fill_taskthreadlist()
H A Dsched_prim.c205 if (iter == queue_first(queue)) { in check_rt_runq_consistency()
4283 if (iter == queue_first(queue)) { in rt_runq_enqueue()
H A Dtask.c3933 task->thread_count > 0 ?((thread_t)queue_first(&task->threads))->thread_id : 0, in place_task_hold()
3994 task_pid(task), ((thread_t)queue_first(&task->threads))->thread_id, in release_task_hold()
/xnu-10063.141.1/osfmk/vm/
H A Dvm_compressor_backing_store.c217 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swapfile_for_handle()
678 c_seg = (c_segment_t)queue_first(&c_swappedout_sparse_list_head); in vm_swap_defragment()
1215 c_seg = (c_segment_t)queue_first(swapout_list_head); in vm_swapout_thread()
1515 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_create_file()
1725 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_put()
2012 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_handle_delayed_trims()
2135 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_reclaim()
2457 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_max_budget()
H A Dvm_purgeable.c707 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_object_find_and_lock()
1158 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_stats_helper()
1208 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_account_volatile_queue()
1249 for (object = (vm_object_t) queue_first(nonvolatile_q); in vm_purgeable_account()
1305 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_queue_purge_task_owned()
H A Danalytics.c174 c_segment_t c_seg = (c_segment_t) queue_first(c_queues[q]); in report_compressor_age()
H A Dvm_compressor.c563 c_seg = (c_segment_t) queue_first(&c_age_list_head); in vm_compressor_is_thrashing()
1370 c_seg_next = (c_segment_t)queue_first(qhead); in c_seg_insert_into_q()
1581 for (c_seg = (c_segment_t) queue_first(&owner_task->task_frozen_cseg_q); in task_disown_frozen_csegs()
1793 c_first = (c_segment_t)queue_first(&c_age_list_head); in c_seg_switch_state()
2568 c_seg = (c_segment_t) queue_first(&c_age_list_head); in vm_compressor_swapout_is_ripe()
2910 c_seg = (c_segment_t)queue_first(&c_minor_list_head); in vm_compressor_do_delayed_compactions()
3136 c_seg = (c_segment_t)queue_first(&c_major_list_head); in vm_compressor_process_major_segments()
3224 c_seg = (c_segment_t)queue_first(special_swappedin_list_head); in vm_compressor_process_special_swapped_in_segments_locked()
3327 c_seg = (c_segment_t)queue_first(&c_regular_swappedin_list_head); in vm_compressor_process_regular_swapped_in_segments()
3400 c_seg = (c_segment_t)queue_first(&c_major_list_head); in vm_compressor_flush()
[all …]
H A Dvm_page.h1047 #define vm_page_queue_first queue_first
H A Dvm_object.c1046 next_obj = (vm_object_t)queue_first(&vm_object_cached_list); in vm_object_cache_evict()
8538 for (object = (vm_object_t) queue_first(&task->task_objq);
8580 queue_first(&task->task_objq),
H A Dvm_resident.c9619 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_page_iterate_purgeable_objects()
/xnu-10063.141.1/iokit/Kernel/
H A DIOPlatformActions.cpp353 next = (typeof(entry))queue_first(&gActionQueues[qidx]); in IORemoveServicePlatformActions()
H A DIOLib.cpp1364 __IGNORE_WCASTALIGN(pa = (typeof(pa))queue_first(&a->list)); in iopa_alloc()
H A DIOServicePM.cpp8972 request = (typeof(request))queue_first(requestQueue); in checkRequestQueue()
9042 __IGNORE_WCASTALIGN(entry = (typeof(entry))queue_first(&fWorkQueue)); in checkForWork()
9176 request = (typeof(request))queue_first(&fQueue); in checkForWork()
H A DIOUserClient.cpp1717 owner = (IOUserClientOwner *)(void *) queue_first(&owners); in noMoreSenders()
1829 owner = (IOUserClientOwner *)(void *) queue_first(taskque); in iokit_task_terminate_phase2()
H A DIOService.cpp335 for (queue_entry_t elt = queue_first(que); \
/xnu-10063.141.1/osfmk/i386/AT386/
H A Dmodel_dep.c1646 for (j = 0, thread = (thread_t) queue_first(&task->threads); j < task->thread_count; in print_tasks_user_threads()
1665 for (j = 0, thread = (thread_t) queue_first(&task->threads); j < task->thread_count; in print_thread_num_that_crashed()
/xnu-10063.141.1/osfmk/arm/
H A Dmodel_dep.c596 for (thread = (thread_t)queue_first(&threads); in do_print_all_backtraces()
/xnu-10063.141.1/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-10063.141.1/osfmk/arm/pmap/
H A Dpmap_data.c774 pt_desc_t *ptdp = (pt_desc_t *)queue_first(&pt_page_list); in ppr_find_eligible_pt_page()