Lines Matching refs:sections_per_block
51 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()
260 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline()
454 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show()
555 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store()
570 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()
684 memory->dev.id = memory->start_section_nr / sections_per_block; in __add_memory_block()
706 const unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in early_node_zone_for_memory_block()
794 mem->start_section_nr = block_id * sections_per_block; in add_memory_block()
828 for (nr = base_section_nr; nr < base_section_nr + sections_per_block; in add_boot_memory_block()
971 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()
982 nr += sections_per_block) { in memory_dev_init()