Searched refs:bitmap_first (Results 1 – 9 of 9) sorted by relevance
| /xnu-11215/osfmk/tests/ |
| H A D | bitmap_test.c | 46 for (int i = bitmap_first(map, nbits); i >= 0; i = bitmap_next(map, i)) { in dump_bitmap_next() 81 for (int i = bitmap_first(map, nbits); i >= 0; i = bitmap_next(map, i)) { in test_bitmap() 89 assert(bitmap_first(map, nbits) == -1); in test_bitmap() 96 for (int i = bitmap_first(map, nbits); i >= 0; i = bitmap_next(map, i)) { in test_bitmap() 119 assert(bitmap_first(map, nbits) == -1); in test_bitmap() 127 assert(bitmap_first(map, nbits) == -1); in test_bitmap() 132 assert(bitmap_first(map0, nbits) == -1); in test_bitmap() 139 assert(bitmap_first(map, nbits) == -1); in test_bitmap() 149 assert(bitmap_first(map, nbits) == -1); in test_bitmap() 153 assert(bitmap_first(map, nbits) == -1); in test_bitmap()
|
| /xnu-11215/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | sched_prim.c | 144 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_dequeue() 215 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_remove()
|
| /xnu-11215/osfmk/kern/ |
| H A D | bits.h | 315 bitmap_first(bitmap_t *__header_indexable map, uint nbits) in bitmap_first() function
|
| H A D | sched_clutch.c | 547 clutch_buckets_rq->scbrq_highq = bitmap_first(clutch_buckets_rq->scbrq_bitmap, NRQS); in sched_clutch_bucket_runq_remove() 4119 …for (int cluster = bitmap_first(foreign_pset_bitmap, sched_edge_max_clusters); cluster >= 0; clust… in sched_edge_foreign_runnable_thread_available() 4144 …for (int cluster = bitmap_first(foreign_pset_bitmap, sched_edge_max_clusters); cluster >= 0; clust… in sched_edge_foreign_runnable_thread_remove() 4469 …for (int cluster = bitmap_first(foreign_pset_bitmap, sched_edge_max_clusters); cluster >= 0; clust… in sched_edge_balance() 4873 if (__improbable(bitmap_first(&candidate_cluster_bitmap, sched_edge_max_clusters) == -1)) { in sched_edge_migrate_candidate() 4961 …for (int bucket = bitmap_first(clutch_bucket_modify_bitmap, TH_BUCKET_SCHED_MAX); bucket >= 0; buc… in sched_edge_update_preferred_cluster() 4999 …for (int bucket = bitmap_first(clutch_bucket_modify_bitmap, TH_BUCKET_SCHED_MAX); bucket >= 0; buc… in sched_edge_migrate_thread_group_runnable_threads()
|
| H A D | sched_prim.c | 163 int i = bitmap_first(map, NRTQS); in rt_runq_priority() 4307 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_dequeue() 4383 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_remove() 4476 int i = bitmap_first(map, NRTQS); in rt_runq_dequeue() 4516 for (i = bitmap_first(map, NRTQS); i >= 0; i = bitmap_next(map, i)) { in rt_runq_dequeue() 4540 int i = bitmap_first(map, NRTQS); in rt_runq_first() 4578 for (i = bitmap_first(map, NRTQS); i >= 0; i = bitmap_next(map, i)) { in rt_runq_remove() 4659 for (int i = bitmap_first(map, NRTQS); i >= 0; i = bitmap_next(map, i)) { in sched_rtlocal_runq_scan() 7336 for (queue_index = bitmap_first(runq->bitmap, NRQS); in runq_scan() 9449 for (int cpu = bitmap_first(active_map, MAX_CPUS); cpu >= 0; cpu = bitmap_next(active_map, cpu)) { in sched_edge_pset_running_higher_bucket()
|
| H A D | zalloc.c | 9325 for (int i = bitmap_first(zone_destroyed_bitmap, MAX_ZONES); in zone_create_find()
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 2418 for (int i = bitmap_first(&map, 64); i >= 0; in fsw_receive()
|
| /xnu-11215/osfmk/arm64/sptm/pmap/ |
| H A D | pmap.c | 2979 for (int i = bitmap_first(&active_disconnects[0], max_cpu + 1);
|
| /xnu-11215/osfmk/arm/pmap/ |
| H A D | pmap.c | 3884 for (int i = bitmap_first(&active_disconnects[0], max_cpu + 1);
|