Home
last modified time | relevance | path

Searched refs:zone_index (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dssfdc.c269 int zone_index; in build_logical_block_map() local
271 zone_index = phys_block / MAX_PHYS_BLK_PER_ZONE; in build_logical_block_map()
272 block_address += zone_index * MAX_LOGIC_BLK_PER_ZONE; in build_logical_block_map()
278 phys_block, block_address, zone_index); in build_logical_block_map()
/openbmc/linux/mm/
H A Dmm_init.c320 int zone_index; in find_usable_zone_for_movable() local
321 for (zone_index = MAX_NR_ZONES - 1; zone_index >= 0; zone_index--) { in find_usable_zone_for_movable()
322 if (zone_index == ZONE_MOVABLE) in find_usable_zone_for_movable()
325 if (arch_zone_highest_possible_pfn[zone_index] > in find_usable_zone_for_movable()
326 arch_zone_lowest_possible_pfn[zone_index]) in find_usable_zone_for_movable()
330 VM_BUG_ON(zone_index == -1); in find_usable_zone_for_movable()
331 movable_zone = zone_index; in find_usable_zone_for_movable()