Home
last modified time | relevance | path

Searched refs:unit_map (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/mm/
Dpercpu.c2562 int *unit_map; in pcpu_setup_first_chunk() local
2608 alloc_size = nr_cpu_ids * sizeof(unit_map[0]); in pcpu_setup_first_chunk()
2609 unit_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2610 if (!unit_map) in pcpu_setup_first_chunk()
2621 unit_map[cpu] = UINT_MAX; in pcpu_setup_first_chunk()
2639 PCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX); in pcpu_setup_first_chunk()
2641 unit_map[cpu] = unit + i; in pcpu_setup_first_chunk()
2656 PCPU_SETUP_BUG_ON(unit_map[cpu] == UINT_MAX); in pcpu_setup_first_chunk()
2665 pcpu_unit_map = unit_map; in pcpu_setup_first_chunk()