Searched refs:unit_map (Results 1 – 1 of 1) sorted by relevance
2597 int *unit_map; in pcpu_setup_first_chunk() local2645 alloc_size = nr_cpu_ids * sizeof(unit_map[0]); in pcpu_setup_first_chunk()2646 unit_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()2647 if (!unit_map) in pcpu_setup_first_chunk()2658 unit_map[cpu] = UINT_MAX; in pcpu_setup_first_chunk()2676 PCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX); in pcpu_setup_first_chunk()2678 unit_map[cpu] = unit + i; in pcpu_setup_first_chunk()2693 PCPU_SETUP_BUG_ON(unit_map[cpu] == UINT_MAX); in pcpu_setup_first_chunk()2702 pcpu_unit_map = unit_map; in pcpu_setup_first_chunk()