Searched refs:zone_index (Results 1 – 2 of 2) sorted by relevance
269 int zone_index; in build_logical_block_map() local271 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()
6696 int zone_index; in find_usable_zone_for_movable() local6697 for (zone_index = MAX_NR_ZONES - 1; zone_index >= 0; zone_index--) { in find_usable_zone_for_movable()6698 if (zone_index == ZONE_MOVABLE) in find_usable_zone_for_movable()6701 if (arch_zone_highest_possible_pfn[zone_index] > in find_usable_zone_for_movable()6702 arch_zone_lowest_possible_pfn[zone_index]) in find_usable_zone_for_movable()6706 VM_BUG_ON(zone_index == -1); in find_usable_zone_for_movable()6707 movable_zone = zone_index; in find_usable_zone_for_movable()