Searched refs:nr_groups (Results 1 – 2 of 2) sorted by relevance
1394 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info() argument1402 base_size = ALIGN(sizeof(*ai) + nr_groups * sizeof(ai->groups[0]), in pcpu_alloc_alloc_info()1417 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()1450 v = ai->nr_groups; in pcpu_dump_alloc_info()1467 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info()1573 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk()1587 group_offsets = memblock_virt_alloc(ai->nr_groups * in pcpu_setup_first_chunk()1589 group_sizes = memblock_virt_alloc(ai->nr_groups * in pcpu_setup_first_chunk()1600 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk()1636 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk()[all …]
97 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()