Lines Matching refs:sections_per_block
35 static int sections_per_block; variable
39 return section_nr / sections_per_block; in base_memory_block_id()
112 phys_index = mem->start_section_nr / sections_per_block; in phys_index_show()
132 for (i = 0; i < sections_per_block; i++) { in removable_show()
194 unsigned long section_nr_end = section_nr + sections_per_block; in pages_correctly_probed()
234 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_action()
310 if (mem->section_count != sections_per_block) in memory_subsys_offline()
400 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show()
495 unsigned long pages_per_block = PAGES_PER_SECTION * sections_per_block; in probe_store()
510 MIN_MEMORY_BLOCK_SIZE * sections_per_block); in probe_store()
633 memory->dev.id = memory->start_section_nr / sections_per_block; in register_memory()
661 mem->start_section_nr = block_id * sections_per_block; in init_memory_block()
679 for (nr = base_section_nr; nr < base_section_nr + sections_per_block; in add_memory_block()
726 mem->section_count = sections_per_block; in create_memory_block_devices()
812 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()
824 nr += sections_per_block) { in memory_dev_init()