Searched refs:sections_per_block (Results 1 – 2 of 2) sorted by relevance
51 static int sections_per_block; variable55 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()224 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline()402 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show()509 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()625 memory->dev.id = memory->start_section_nr / sections_per_block; in register_memory()660 mem->start_section_nr = block_id * sections_per_block; in init_memory_block()820 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()[all …]
288 int sections_per_block; in pseries_remove_memblock() local299 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()301 for (i = 0; i < sections_per_block; i++) { in pseries_remove_memblock()
Completed in 8 milliseconds