Lines Matching refs:count
28 void or1k_invalidate_tlb(vaddr_t vaddr, uint count) { in or1k_invalidate_tlb() argument
37 for (; count; count--) { in or1k_invalidate_tlb()
105 int arch_mmu_unmap(arch_aspace_t *aspace, vaddr_t vaddr, uint count) { in arch_mmu_unmap() argument
106 LTRACEF("vaddr = 0x%lx, count = %d\n", vaddr, count); in arch_mmu_unmap()
112 while (count) { in arch_mmu_unmap()
117 count--; in arch_mmu_unmap()
121 …if (!(pte & OR1K_MMU_PG_L) || !IS_ALIGNED(vaddr, SECTION_SIZE) || count < SECTION_SIZE / PAGE_SIZE) in arch_mmu_unmap()
127 count -= SECTION_SIZE / PAGE_SIZE; in arch_mmu_unmap()
134 int arch_mmu_map(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t paddr, uint count, uint flags) { in arch_mmu_map() argument
139 LTRACEF("vaddr = 0x%lx, paddr = 0x%lx, count = %d, flags = 0x%x\n", vaddr, paddr, count, flags); in arch_mmu_map()
154 while (count) { in arch_mmu_map()
156 …if (IS_ALIGNED(vaddr, SECTION_SIZE) && IS_ALIGNED(paddr, SECTION_SIZE) && count >= SECTION_SIZE / … in arch_mmu_map()
158 count -= SECTION_SIZE / PAGE_SIZE; in arch_mmu_map()
194 count--; in arch_mmu_map()