Lines Matching refs:dram_ranges
65 hibernate_bitmap_t dram_ranges[MAX_BANKS];
100 if (dram_ranges[bank].first_page <= base)
102 if ((base + num) == dram_ranges[bank].first_page)
104 dram_ranges[bank].first_page = base;
111 if (bank && (base == (1 + dram_ranges[bank - 1].last_page)))
117 bcopy(&dram_ranges[bank],
118 &dram_ranges[bank + 1],
120 dram_ranges[bank].first_page = base;
122 dram_ranges[bank].last_page = base + num - 1;
148 pages = dram_ranges[bank].last_page + 1 - dram_ranges[bank].first_page;
166 bitmap->first_page = dram_ranges[bank].first_page;
167 bitmap->last_page = dram_ranges[bank].last_page;