Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/base/
Dmemory.c51 static int sections_per_block; variable
55 return section_nr / sections_per_block; in memory_block_id()
189 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_online()
245 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline()
433 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show()
534 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store()
549 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()
663 memory->dev.id = memory->start_section_nr / sections_per_block; in __add_memory_block()
685 const unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in early_node_zone_for_memory_block()
773 mem->start_section_nr = block_id * sections_per_block; in add_memory_block()
[all …]
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dhotplug-memory.c239 int sections_per_block; in pseries_remove_memblock() local
249 sections_per_block = memory_block_size / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
251 for (i = 0; i < sections_per_block; i++) { in pseries_remove_memblock()