Lines Matching refs:start

142 ARMVMTranslationMap32Bit::MaxPagesNeededToMap(addr_t start, addr_t end) const
144 // If start == 0, the actual base address is not yet known to the caller and
146 if (start == 0) {
148 start = 1023 * B_PAGE_SIZE;
152 return VADDR_TO_PDENT(end) + 1 - VADDR_TO_PDENT(start);
228 ARMVMTranslationMap32Bit::Unmap(addr_t start, addr_t end)
230 start = ROUNDDOWN(start, B_PAGE_SIZE);
231 if (start >= end)
234 TRACE("unmap_tmap: asked to free pages 0x%lx to 0x%lx\n", start, end);
239 int index = VADDR_TO_PDENT(start);
241 // no page table here, move the start up to access the next page
243 start = ROUNDUP(start + 1, kPageTableAlignment);
253 for (index = VADDR_TO_PTENT(start); (index < 256) && (start < end);
254 index++, start += B_PAGE_SIZE) {
260 TRACE("unmap_tmap: removing page 0x%lx\n", start);
271 InvalidatePage(start);
274 } while (start != 0 && start < end);
281 ARMVMTranslationMap32Bit::DebugMarkRangePresent(addr_t start, addr_t end,
285 start = ROUNDDOWN(start, B_PAGE_SIZE);
286 if (start >= end)
292 int index = VADDR_TO_PDENT(start);
294 // no page table here, move the start up to access the next page
296 start = ROUNDUP(start + 1, kPageTableAlignment);
306 for (index = VADDR_TO_PTENT(start); (index < 1024) && (start < end);
307 index++, start += B_PAGE_SIZE) {
326 InvalidatePage(start);
330 } while (start != 0 && start < end);
411 addr_t start = base;
415 B_PRIxADDR ")\n", area, start, end);
424 int index = VADDR_TO_PDENT(start);
426 // no page table here, move the start up to access the next page
428 start = ROUNDUP(start + 1, kPageTableAlignment);
438 for (index = VADDR_TO_PTENT(start); (index < 256) && (start < end);
439 index++, start += B_PAGE_SIZE) {
451 InvalidatePage(start);
506 } while (start != 0 && start < end);
695 ARMVMTranslationMap32Bit::Protect(addr_t start, addr_t end, uint32 attributes,
698 start = ROUNDDOWN(start, B_PAGE_SIZE);
699 if (start >= end)
702 TRACE("protect_tmap: pages 0x%lx to 0x%lx, attributes %lx\n", start, end,
711 int index = VADDR_TO_PDENT(start);
713 // no page table here, move the start up to access the next page
715 start = ROUNDUP(start + 1, kPageTableAlignment);
725 for (index = VADDR_TO_PTENT(start); index < 256 && start < end;
726 index++, start += B_PAGE_SIZE) {
733 TRACE("protect_tmap: protect page 0x%lx\n", start);
754 InvalidatePage(start);
757 } while (start != 0 && start < end);