Lines Matching defs:start

125 X86VMTranslationMap32Bit::MaxPagesNeededToMap(addr_t start, addr_t end) const
127 // If start == 0, the actual base address is not yet known to the caller and
129 if (start == 0) {
131 start = 1023 * B_PAGE_SIZE;
135 return VADDR_TO_PDENT(end) + 1 - VADDR_TO_PDENT(start);
213 X86VMTranslationMap32Bit::Unmap(addr_t start, addr_t end)
215 start = ROUNDDOWN(start, B_PAGE_SIZE);
216 if (start >= end)
219 TRACE("unmap_tmap: asked to free pages 0x%lx to 0x%lx\n", start, end);
224 int index = VADDR_TO_PDENT(start);
226 // no page table here, move the start up to access the next page
228 start = ROUNDUP(start + 1, kPageTableAlignment);
238 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
239 index++, start += B_PAGE_SIZE) {
245 TRACE("unmap_tmap: removing page 0x%lx\n", start);
256 InvalidatePage(start);
259 } while (start != 0 && start < end);
266 X86VMTranslationMap32Bit::DebugMarkRangePresent(addr_t start, addr_t end,
269 start = ROUNDDOWN(start, B_PAGE_SIZE);
270 if (start >= end)
276 int index = VADDR_TO_PDENT(start);
278 // no page table here, move the start up to access the next page
280 start = ROUNDUP(start + 1, kPageTableAlignment);
290 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
291 index++, start += B_PAGE_SIZE) {
310 InvalidatePage(start);
314 } while (start != 0 && start < end);
394 addr_t start = base;
398 B_PRIxADDR ")\n", area, start, end);
407 int index = VADDR_TO_PDENT(start);
409 // no page table here, move the start up to access the next page
411 start = ROUNDUP(start + 1, kPageTableAlignment);
421 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
422 index++, start += B_PAGE_SIZE) {
434 InvalidatePage(start);
489 } while (start != 0 && start < end);
692 X86VMTranslationMap32Bit::Protect(addr_t start, addr_t end, uint32 attributes,
695 start = ROUNDDOWN(start, B_PAGE_SIZE);
696 if (start >= end)
699 TRACE("protect_tmap: pages 0x%lx to 0x%lx, attributes %lx\n", start, end,
714 int index = VADDR_TO_PDENT(start);
716 // no page table here, move the start up to access the next page
718 start = ROUNDUP(start + 1, kPageTableAlignment);
728 for (index = VADDR_TO_PTENT(start); index < 1024 && start < end;
729 index++, start += B_PAGE_SIZE) {
736 TRACE("protect_tmap: protect page 0x%lx\n", start);
759 InvalidatePage(start);
762 } while (start != 0 && start < end);