Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/base/
Dmemory.c51 static int sections_per_block; variable
55 return section_nr / sections_per_block; in memory_block_id()
127 phys_index = mem->start_section_nr / sections_per_block; in phys_index_show()
181 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_online()
225 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline()
407 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show()
498 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store()
513 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()
627 memory->dev.id = memory->start_section_nr / sections_per_block; in __add_memory_block()
649 const unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in early_node_zone_for_memory_block()
[all …]
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dhotplug-memory.c287 int sections_per_block; in pseries_remove_memblock() local
298 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
300 for (i = 0; i < sections_per_block; i++) { in pseries_remove_memblock()