Searched refs:MAX_NUM_REGIONS (Results 1 – 1 of 1) sorted by relevance
17 #define MAX_NUM_REGIONS 4 macro38 static struct map_region map_regions[MAX_NUM_REGIONS];39 static int map_regions_set[MAX_NUM_REGIONS] = {0,0,0,0};40 static int map_regions_parts[MAX_NUM_REGIONS] = {0,0,0,0};110 if((params[1]<0)||(params[1]>=MAX_NUM_REGIONS)) in MTD_New_Region()113 params[1],MAX_NUM_REGIONS-1); in MTD_New_Region()155 if((params[1]<0)||(params[1]>=MAX_NUM_REGIONS)) in MTD_New_Partition()158 params[1],MAX_NUM_REGIONS-1); in MTD_New_Partition()187 for(iy=ix=0;ix<MAX_NUM_REGIONS;ix++) in init_fortunet()259 for(ix=0;ix<MAX_NUM_REGIONS;ix++) in cleanup_fortunet()