Searched refs:unit_size (Results 1 – 4 of 4) sorted by relevance
2316 upa = ai->alloc_size / ai->unit_size; in pcpu_dump_alloc_info()2322 ai->unit_size, ai->alloc_size / ai->atom_size, ai->atom_size); in pcpu_dump_alloc_info()2437 PCPU_SETUP_BUG_ON(ai->unit_size < size_sum); in pcpu_setup_first_chunk()2438 PCPU_SETUP_BUG_ON(offset_in_page(ai->unit_size)); in pcpu_setup_first_chunk()2439 PCPU_SETUP_BUG_ON(ai->unit_size < PCPU_MIN_UNIT_SIZE); in pcpu_setup_first_chunk()2440 PCPU_SETUP_BUG_ON(!IS_ALIGNED(ai->unit_size, PCPU_BITMAP_BLOCK_SIZE)); in pcpu_setup_first_chunk()2483 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()2495 unit_off[cpu] = gi->base_offset + i * ai->unit_size; in pcpu_setup_first_chunk()2522 pcpu_unit_pages = ai->unit_size >> PAGE_SHIFT; in pcpu_setup_first_chunk()2776 ai->unit_size = alloc_size / upa; in pcpu_build_alloc_info()[all …]
112 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
188 pcpu_stats.min_alloc_size = pcpu_stats_ai.unit_size; in pcpu_stats_save_ai()
180 PL(unit_size); in percpu_stats_show()