Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/
Dmemory.c35 static int sections_per_block; variable
39 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 …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-memory.c322 int sections_per_block; in pseries_remove_memblock() local
333 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()