Searched refs:sections_per_block (Results 1 – 2 of 2) sorted by relevance
35 static int sections_per_block; variable39 return section_nr / sections_per_block; in base_memory_block_id()118 phys_index = mem->start_section_nr / sections_per_block; in show_mem_start_phys_index()135 for (i = 0; i < sections_per_block; i++) { in show_mem_removable()197 unsigned long section_nr_end = section_nr + sections_per_block; in pages_correctly_probed()237 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_action()314 if (mem->section_count != sections_per_block) in memory_subsys_offline()414 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in show_valid_zones()513 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in memory_probe_store()524 MIN_MEMORY_BLOCK_SIZE * sections_per_block); in memory_probe_store()[all …]
322 int sections_per_block; in pseries_remove_memblock() local333 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()336 for (i = 0; i < sections_per_block; i++) { in pseries_remove_memblock()