Home
last modified time | relevance | path

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

/xnu-8020.101.4/osfmk/kern/
H A Dsched_grrr.c602 thread = (thread_t)(void *)queue_first(&group->clients); in grrr_intragroup_schedule()
608 group->current_client = (thread_t)(void *)queue_first(&group->clients); in grrr_intragroup_schedule()
630 group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_intergroup_schedule()
642 group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_intergroup_schedule()
660 group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_intergroup_schedule()
737 queue_first(&group->clients) == (queue_entry_t)group->current_client) { in grrr_enqueue()
850 search_group = (grrr_group_t)queue_first(&rq->sorted_group_list); in grrr_sorted_list_insert_group()
H A Dqueue.h560 queue_entry_t _tmp_entry = queue_first((head)); \
648 #define queue_first(q) ((q)->next) macro
700 #define queue_empty(q) queue_end((q), queue_first(q))
1061 for ((elt) = (type)(void *) queue_first(head); \
H A Dbsd_kern.c232 thread_t thread = (thread_t)(void *)queue_first(&task->threads); in get_firstthread()
262 for (inc = (thread_t)(void *)queue_first(&task->threads); in get_signalact()
312 for (inc = (thread_t)(void *)queue_first(&task->threads); in check_actforsig()
1003 for (inc = (thread_t)(void *)queue_first(&task->threads); in task_act_iterate_wth_args()
1108 for (thact = (thread_t)(void *)queue_first(&task->threads); in fill_taskthreadinfo()
1157 for (thact = (thread_t)(void *)queue_first(&task->threads); in fill_taskthreadlist()
H A Dsched_traditional.c597 qe = queue_first(q);
H A Dsched_prim.c218 if (iter == queue_first(queue)) { in check_rt_runq_consistency()
4058 if (iter == queue_first(queue)) { in rt_runq_enqueue()
H A Dtask.c3558 task->thread_count > 0 ?((thread_t)queue_first(&task->threads))->thread_id : 0, in place_task_hold()
3615 task_pid(task), ((thread_t)queue_first(&task->threads))->thread_id, in release_task_hold()
/xnu-8020.101.4/iokit/DriverKit/
H A Dqueue_implementation.h560 queue_entry_t _tmp_entry = queue_first((head)); \
648 #define queue_first(q) ((q)->next) macro
700 #define queue_empty(q) queue_end((q), queue_first(q))
1061 for ((elt) = (type)(void *) queue_first(head); \
/xnu-8020.101.4/osfmk/vm/
H A Dvm_compressor_backing_store.c202 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swapfile_for_handle()
631 c_seg = (c_segment_t)queue_first(&c_swappedout_sparse_list_head); in vm_swap_defragment()
1122 c_seg = (c_segment_t)queue_first(&c_swapout_list_head); in vm_swapout_thread()
1368 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_create_file()
1578 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_put()
1864 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_handle_delayed_trims()
1988 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_reclaim()
2308 swf = (struct swapfile*) queue_first(&swf_global_queue); in vm_swap_max_budget()
H A Dvm_purgeable.c710 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_object_find_and_lock()
1161 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_stats_helper()
1211 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_account_volatile_queue()
1252 for (object = (vm_object_t) queue_first(nonvolatile_q); in vm_purgeable_account()
1308 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_purgeable_queue_purge_task_owned()
H A Dvm_compressor.c1162 c_seg_next = (c_segment_t)queue_first(qhead); in c_seg_insert_into_q()
1373 for (c_seg = (c_segment_t) queue_first(&owner_task->task_frozen_cseg_q); in task_disown_frozen_csegs()
1530 c_first = (c_segment_t)queue_first(&c_age_list_head); in c_seg_switch_state()
2290 c_seg = (c_segment_t) queue_first(&c_age_list_head); in compressor_needs_to_swap()
2322 c_seg = (c_segment_t) queue_first(&c_age_list_head); in compressor_needs_to_swap()
2537 c_seg = (c_segment_t)queue_first(&c_major_list_head); in vm_consider_swapping()
2633 c_seg = (c_segment_t)queue_first(&c_minor_list_head); in vm_compressor_do_delayed_compactions()
2674 c_seg = (c_segment_t)queue_first(&c_swappedin_list_head); in vm_compressor_age_swapped_in_segments()
2747 c_seg = (c_segment_t)queue_first(&c_major_list_head); in vm_compressor_flush()
2971 c_seg = (c_segment_t) queue_first(c_queue); in do_fastwake_warmup()
[all …]
H A Dvm_page.h1032 #define vm_page_queue_first queue_first
H A Dvm_object.c1053 next_obj = (vm_object_t)queue_first(&vm_object_cached_list); in vm_object_cache_evict()
8597 for (object = (vm_object_t) queue_first(&task->task_objq); in vm_owned_objects_disown()
8639 queue_first(&task->task_objq), in vm_owned_objects_disown()
H A Dvm_resident.c9324 for (object = (vm_object_t) queue_first(&queue->objq[group]); in vm_page_iterate_purgeable_objects()
/xnu-8020.101.4/iokit/Kernel/
H A DIOPlatformActions.cpp353 next = (typeof(entry))queue_first(&gActionQueues[qidx]); in IORemoveServicePlatformActions()
H A DIOLib.cpp1261 __IGNORE_WCASTALIGN(pa = (typeof(pa))queue_first(&a->list)); in iopa_alloc()
H A DIOServicePM.cpp8785 request = (typeof(request))queue_first(requestQueue); in checkRequestQueue()
8855 __IGNORE_WCASTALIGN(entry = (typeof(entry))queue_first(&fWorkQueue)); in checkForWork()
8985 request = (typeof(request))queue_first(&fQueue); in checkForWork()
H A DIOUserClient.cpp1667 owner = (IOUserClientOwner *)(void *) queue_first(&owners); in noMoreSenders()
1749 owner = (IOUserClientOwner *)(void *) queue_first(taskque); in iokit_task_terminate()
H A DIOService.cpp323 for (queue_entry_t elt = queue_first(que); \
/xnu-8020.101.4/osfmk/i386/AT386/
H A Dmodel_dep.c1648 for (j = 0, thread = (thread_t) queue_first(&task->threads); j < task->thread_count; in print_tasks_user_threads()
1667 for (j = 0, thread = (thread_t) queue_first(&task->threads); j < task->thread_count; in print_thread_num_that_crashed()
/xnu-8020.101.4/osfmk/arm/
H A Dmodel_dep.c521 for (thread = (thread_t)queue_first(&threads); in do_print_all_backtraces()
H A Dpmap.c7094 pmap = CAST_DOWN_EXPLICIT(pmap_t, queue_first(&map_pmap_list));
/xnu-8020.101.4/osfmk/ipc/
H A Dipc_importance.c846 task_imp = (ipc_importance_task_t)queue_first(queue); in ipc_importance_task_process_updates()
986 task_imp = (ipc_importance_task_t)queue_first(&ipc_importance_delayed_drop_queue); in ipc_importance_task_delayed_drop_scan()
/xnu-8020.101.4/osfmk/arm/pmap/
H A Dpmap_data.c731 pt_desc_t *ptdp = (pt_desc_t *)queue_first(&pt_page_list); in ppr_find_eligible_pt_page()