Searched refs:NR_DISTANCE_VALUES (Results 1 – 1 of 1) sorted by relevance
2239 #define NR_DISTANCE_VALUES (1 << DISTANCE_BITS) macro2274 distance_map = bitmap_alloc(NR_DISTANCE_VALUES, GFP_KERNEL); in sched_record_numa_dist()2278 bitmap_zero(distance_map, NR_DISTANCE_VALUES); in sched_record_numa_dist()2283 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_record_numa_dist()2295 nr_levels = bitmap_weight(distance_map, NR_DISTANCE_VALUES); in sched_record_numa_dist()2302 j = find_next_bit(distance_map, NR_DISTANCE_VALUES, j); in sched_record_numa_dist()