Searched refs:vm_page_t (Results 1 – 7 of 7) sorted by relevance
/lk-master/kernel/vm/ |
A D | pmm.c | 41 paddr_t vm_page_to_paddr(const vm_page_t *page) { in vm_page_to_paddr() 51 vm_page_t *paddr_to_vm_page(paddr_t addr) { in paddr_to_vm_page() 96 vm_page_t *p = &arena->page_array[i]; in pmm_add_arena() 122 vm_page_t *page = list_remove_head_type(&a->free_list, vm_page_t, node); in pmm_alloc_pages() 140 vm_page_t *pmm_alloc_page(void) { in pmm_alloc_page() 208 vm_page_t *page = list_remove_head_type(list, vm_page_t, node); in pmm_free() 231 size_t pmm_free_page(vm_page_t *page) { in pmm_free_page() 246 vm_page_t *p = pmm_alloc_page(); in pmm_alloc_kpages() 431 vm_page_t *p; in cmd_pmm() 442 vm_page_t *page; in cmd_pmm() [all …]
|
A D | vmm.c | 441 vm_page_t *p; in vmm_alloc_contiguous() 442 while ((p = list_remove_head_type(&page_list, vm_page_t, node))) { in vmm_alloc_contiguous() 515 vm_page_t *p; in vmm_alloc() 518 while ((p = list_remove_head_type(&page_list, vm_page_t, node))) { in vmm_alloc()
|
/lk-master/arch/test/ |
A D | mmu.c | 44 vm_page_t *p; in map_user_pages() 45 list_for_every_entry(&pages, p, vm_page_t, node) { in map_user_pages() 53 list_for_every_entry(&pages, p, vm_page_t, node) { in map_user_pages() 86 vm_page_t *p = pmm_alloc_page(); in context_switch()
|
/lk-master/kernel/include/kernel/ |
A D | vm.h | 76 } vm_page_t; typedef 137 vm_page_t *pmm_alloc_page(void); 151 size_t pmm_free_page(vm_page_t *page) __NONNULL((1)); 179 paddr_t vm_page_to_paddr(const vm_page_t *page); 182 vm_page_t *paddr_to_vm_page(paddr_t addr);
|
/lk-master/arch/arm/arm/ |
A D | mmu.c | 422 vm_page_t *page = paddr_to_vm_page(l2_pa); in put_l2_table() 714 vm_page_t *p; in arch_mmu_destroy_aspace() 715 while ((p = list_remove_head_type(&aspace->pt_page_list, vm_page_t, node)) != NULL) { in arch_mmu_destroy_aspace()
|
/lk-master/arch/arm64/ |
A D | mmu.c | 197 vm_page_t *p = pmm_alloc_page(); in alloc_page_table() 226 vm_page_t *page; in free_page_table() 606 vm_page_t *page = paddr_to_vm_page(aspace->tt_phys); in arch_mmu_destroy_aspace()
|
/lk-master/arch/riscv/ |
A D | mmu.cpp | 154 vm_page_t *p = pmm_alloc_page(); in alloc_ptable()
|
Completed in 11 milliseconds