Searched refs:unit_map (Results 1 – 1 of 1) sorted by relevance
2590 int *unit_map; in pcpu_setup_first_chunk() local2636 alloc_size = nr_cpu_ids * sizeof(unit_map[0]); in pcpu_setup_first_chunk()2637 unit_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()2638 if (!unit_map) in pcpu_setup_first_chunk()2649 unit_map[cpu] = UINT_MAX; in pcpu_setup_first_chunk()2667 PCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX); in pcpu_setup_first_chunk()2669 unit_map[cpu] = unit + i; in pcpu_setup_first_chunk()2684 PCPU_SETUP_BUG_ON(unit_map[cpu] == UINT_MAX); in pcpu_setup_first_chunk()2693 pcpu_unit_map = unit_map; in pcpu_setup_first_chunk()