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()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 …]
239 int sections_per_block; in pseries_remove_memblock() local249 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()