Lines Matching refs:arch_mmu_flags

91         uint flags, uint arch_mmu_flags) {  in alloc_region_struct()  argument
102 r->arch_mmu_flags = arch_mmu_flags; in alloc_region_struct()
159 vaddr_t align, size_t size, uint arch_mmu_flags) { in arch_mmu_pick_spot() argument
170 uint arch_mmu_flags) { in check_gap() argument
191 …*pva = arch_mmu_pick_spot(&aspace->arch_aspace, gap_beg, prev ? prev->arch_mmu_flags : ARCH_MMU_FL… in check_gap()
192 gap_end, next ? next->arch_mmu_flags : ARCH_MMU_FLAG_INVALID, in check_gap()
193 align, size, arch_mmu_flags); in check_gap()
211 uint arch_mmu_flags, struct list_node **before) { in alloc_spot() argument
227 &spot, align, size, arch_mmu_flags)) in alloc_spot()
234 &spot, align, size, arch_mmu_flags)) in alloc_spot()
250 uint vmm_flags, uint region_flags, uint arch_mmu_flags) { in alloc_region() argument
252 vmm_region_t *r = alloc_region_struct(name, vaddr, size, region_flags, arch_mmu_flags); in alloc_region()
268 vaddr = alloc_spot(aspace, size, align_pow2, arch_mmu_flags, &before); in alloc_region()
314 uint arch_mmu_flags = 0; in vmm_reserve_space() local
315 arch_mmu_query(&aspace->arch_aspace, vaddr, NULL, &arch_mmu_flags); in vmm_reserve_space()
319 … VMM_FLAG_VALLOC_SPECIFIC, VMM_REGION_FLAG_RESERVED, arch_mmu_flags); in vmm_reserve_space()
326 … void **ptr, uint8_t align_log2, paddr_t paddr, uint vmm_flags, uint arch_mmu_flags) { in vmm_alloc_physical() argument
330 aspace, name, size, ptr ? *ptr : 0, paddr, vmm_flags, arch_mmu_flags); in vmm_alloc_physical()
361 VMM_REGION_FLAG_PHYSICAL, arch_mmu_flags); in vmm_alloc_physical()
372 int err = arch_mmu_map(&aspace->arch_aspace, r->base, paddr, size / PAGE_SIZE, arch_mmu_flags); in vmm_alloc_physical()
383 uint8_t align_pow2, uint vmm_flags, uint arch_mmu_flags) { in vmm_alloc_contiguous() argument
387 aspace, name, size, ptr ? *ptr : 0, align_pow2, vmm_flags, arch_mmu_flags); in vmm_alloc_contiguous()
427 VMM_REGION_FLAG_PHYSICAL, arch_mmu_flags); in vmm_alloc_contiguous()
438 arch_mmu_map(&aspace->arch_aspace, r->base, pa, size / PAGE_SIZE, arch_mmu_flags); in vmm_alloc_contiguous()
457 uint8_t align_pow2, uint vmm_flags, uint arch_mmu_flags) { in vmm_alloc() argument
461 aspace, name, size, ptr ? *ptr : 0, align_pow2, vmm_flags, arch_mmu_flags); in vmm_alloc()
503 VMM_REGION_FLAG_PHYSICAL, arch_mmu_flags); in vmm_alloc()
524 arch_mmu_map(&aspace->arch_aspace, va, pa, 1, arch_mmu_flags); in vmm_alloc()
701 r, r->name, r->base, r->base + r->size - 1, r->size, r->flags, r->arch_mmu_flags); in dump_region()