Searched refs:NR_DISTANCE_VALUES (Results 1 – 1 of 1) sorted by relevance
1852 #define NR_DISTANCE_VALUES (1 << DISTANCE_BITS) macro1867 distance_map = bitmap_alloc(NR_DISTANCE_VALUES, GFP_KERNEL); in sched_init_numa()1871 bitmap_zero(distance_map, NR_DISTANCE_VALUES); in sched_init_numa()1876 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()1889 nr_levels = bitmap_weight(distance_map, NR_DISTANCE_VALUES); in sched_init_numa()1898 j = find_next_bit(distance_map, NR_DISTANCE_VALUES, j); in sched_init_numa()