Searched refs:bitmap_lsb_first (Results 1 – 4 of 4) sorted by relevance
| /xnu-8020.121.3/osfmk/tests/ |
| H A D | bitmap_test.c | 55 for (int i = bitmap_lsb_first(map, nbits); i >= 0; i = bitmap_lsb_next(map, nbits, i)) { in dump_bitmap_lsb() 90 assert(bitmap_lsb_first(map, nbits) == -1); in test_bitmap() 103 for (int i = bitmap_lsb_first(map, nbits); i >= 0; i = bitmap_lsb_next(map, nbits, i)) { in test_bitmap() 120 assert(bitmap_lsb_first(map, nbits) == -1); in test_bitmap() 128 assert(bitmap_lsb_first(map, nbits) == -1); in test_bitmap()
|
| /xnu-8020.121.3/osfmk/kern/ |
| H A D | sched_clutch.c | 589 …highest_runnable_bucket = bitmap_lsb_first(root_clutch->scr_unbound_runnable_bitmap, TH_BUCKET_SCH… in sched_clutch_root_highest_root_bucket() 591 …int highest_unbound_runnable_bucket = bitmap_lsb_first(root_clutch->scr_unbound_runnable_bitmap, T… in sched_clutch_root_highest_root_bucket() 592 …int highest_bound_runnable_bucket = bitmap_lsb_first(root_clutch->scr_bound_runnable_bitmap, TH_BU… in sched_clutch_root_highest_root_bucket() 663 warp_bucket_index = bitmap_lsb_first(warp_available_bitmap, TH_BUCKET_SCHED_MAX); in sched_clutch_root_highest_root_bucket() 899 if (bitmap_lsb_first(root_clutch->scr_bound_runnable_bitmap, TH_BUCKET_SCHED_MAX) == -1) { in sched_clutch_root_pri_update() 913 if (bitmap_lsb_first(root_clutch->scr_unbound_runnable_bitmap, TH_BUCKET_SCHED_MAX) == -1) { in sched_clutch_root_pri_update() 3829 …if (incoming_edge->sce_steal_allowed && (bitmap_lsb_first(candidate_pset->pset_clutch_root.scr_unb… in sched_edge_steal_candidate() 3958 …int highest_runnable_bucket = bitmap_lsb_first(candidate_pset->pset_clutch_root.scr_unbound_runnab… in sched_edge_steal_possible() 4778 if (bitmap_lsb_first(clutch_bucket_modify_bitmap, TH_BUCKET_SCHED_MAX) == -1) { in sched_edge_tg_preferred_cluster_change()
|
| H A D | bits.h | 400 bitmap_lsb_first(const bitmap_t *__header_indexable map, uint nbits) in bitmap_lsb_first() function
|
| /xnu-8020.121.3/osfmk/arm/ |
| H A D | pmap.c | 1575 vasid = bitmap_lsb_first(&asid_bitmap[0], pmap_max_asids); in alloc_asid()
|