Lines Matching refs:sections_per_block
51 static int sections_per_block; variable
55 return section_nr / sections_per_block; in memory_block_id()
186 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_online()
236 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline()
421 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show()
522 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store()
537 MIN_MEMORY_BLOCK_SIZE * sections_per_block, in probe_store()
651 memory->dev.id = memory->start_section_nr / sections_per_block; in __add_memory_block()
673 const unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in early_node_zone_for_memory_block()
761 mem->start_section_nr = block_id * sections_per_block; in add_memory_block()
795 for (nr = base_section_nr; nr < base_section_nr + sections_per_block; in add_boot_memory_block()
938 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()
949 nr += sections_per_block) { in memory_dev_init()