/arch/cris/mm/ |
D | init.c | 43 ClearPageReserved(virt_to_page(addr)); in free_init_pages() 44 init_page_count(virt_to_page(addr)); in free_init_pages()
|
/arch/s390/include/asm/ |
D | pgalloc.h | 76 if (!pgtable_pmd_page_ctor(virt_to_page(table))) { in pmd_alloc_one() 85 pgtable_pmd_page_dtor(virt_to_page(pmd)); in pmd_free() 107 if (!pgtable_pmd_page_ctor(virt_to_page(table))) { in pgd_alloc() 118 pgtable_pmd_page_dtor(virt_to_page(pgd)); in pgd_free()
|
/arch/s390/kernel/ |
D | vdso.c | 279 struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); in vdso_init() 284 vdso32_pagelist[vdso32_pages - 1] = virt_to_page(vdso_data); in vdso_init() 297 struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); in vdso_init() 302 vdso64_pagelist[vdso64_pages - 1] = virt_to_page(vdso_data); in vdso_init() 308 get_page(virt_to_page(vdso_data)); in vdso_init()
|
/arch/arm64/include/asm/ |
D | tlb.h | 70 tlb_remove_entry(tlb, virt_to_page(pmdp)); in __pmd_free_tlb() 79 tlb_remove_entry(tlb, virt_to_page(pudp)); in __pud_free_tlb()
|
D | memory.h | 209 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) macro 216 #define virt_to_page(vaddr) ((struct page *)((__virt_to_pgoff(vaddr)) | VMEMMAP_START)) macro
|
/arch/m68k/include/asm/ |
D | page_no.h | 25 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) macro 28 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
|
D | pgtable_no.h | 44 #define ZERO_PAGE(vaddr) (virt_to_page(0))
|
/arch/x86/mm/ |
D | pgtable.c | 65 struct page *page = virt_to_page(pmd); in ___pmd_free_tlb() 82 tlb_remove_page(tlb, virt_to_page(pud)); in ___pud_free_tlb() 89 struct page *page = virt_to_page(pgd); in pgd_list_add() 96 struct page *page = virt_to_page(pgd); in pgd_list_del() 107 BUILD_BUG_ON(sizeof(virt_to_page(pgd)->index) < sizeof(mm)); in pgd_set_mm() 108 virt_to_page(pgd)->index = (pgoff_t)mm; in pgd_set_mm() 200 pgtable_pmd_page_dtor(virt_to_page(pmds[i])); in free_pmds() 219 if (pmd && !pgtable_pmd_page_ctor(virt_to_page(pmd))) { in preallocate_pmds()
|
D | init_32.c | 883 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in set_kernel_text_rw() 897 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in set_kernel_text_ro() 914 set_pages_nx(virt_to_page(start), size >> PAGE_SHIFT); in mark_nxdata_nx() 922 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro() 931 set_pages_rw(virt_to_page(start), size>>PAGE_SHIFT); in mark_rodata_ro() 934 set_pages_ro(virt_to_page(start), size>>PAGE_SHIFT); in mark_rodata_ro() 939 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro() 946 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro() 949 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
|
/arch/m32r/mm/ |
D | ioremap.c | 72 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()
|
/arch/parisc/mm/ |
D | ioremap.c | 59 for (page = virt_to_page(t_addr); in __ioremap() 60 page <= virt_to_page(t_end); page++) { in __ioremap()
|
/arch/tile/include/asm/ |
D | pgalloc.h | 97 pte_free(mm, virt_to_page(pte)); in pte_free_kernel() 152 pgtable_free(mm, virt_to_page(pmdp), L1_USER_PGTABLE_ORDER); in pmd_free() 158 __pgtable_free_tlb(tlb, virt_to_page(pmdp), address, in __pmd_free_tlb()
|
/arch/um/kernel/skas/ |
D | mmu.c | 38 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); in init_stub_pte() 106 mm->context.stub_pages[0] = virt_to_page(__syscall_stub_start); in uml_setup_stubs() 107 mm->context.stub_pages[1] = virt_to_page(mm->context.id.stack); in uml_setup_stubs()
|
/arch/arm/kernel/ |
D | vdso.c | 197 vdso_data_page = virt_to_page(vdso_data); in vdso_init() 203 page = virt_to_page(&vdso_start + i * PAGE_SIZE); in vdso_init() 329 flush_dcache_page(virt_to_page(vdso_data)); in update_vsyscall() 336 flush_dcache_page(virt_to_page(vdso_data)); in update_vsyscall_tz()
|
/arch/alpha/include/asm/ |
D | mmzone.h | 72 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) macro 95 __xx = virt_to_page(kvirt); \
|
/arch/arc/include/asm/ |
D | pgalloc.h | 114 page = virt_to_page(pte_pg); in pte_alloc_one() 130 pgtable_page_dtor(virt_to_page(ptep)); in pte_free()
|
/arch/arm64/mm/ |
D | copypage.c | 27 struct page *page = virt_to_page(kto); in __cpu_copy_user_page()
|
/arch/arm/kvm/ |
D | mmu.c | 112 put_page(virt_to_page(pmd)); in stage2_dissolve_pmd() 153 put_page(virt_to_page(pgd)); in clear_stage2_pgd_entry() 163 put_page(virt_to_page(pud)); in clear_stage2_pud_entry() 173 put_page(virt_to_page(pmd)); in clear_stage2_pmd_entry() 214 put_page(virt_to_page(pte)); in unmap_stage2_ptes() 240 put_page(virt_to_page(pmd)); in unmap_stage2_pmds() 267 put_page(virt_to_page(pud)); in unmap_stage2_puds() 402 put_page(virt_to_page(pgd)); in clear_hyp_pgd_entry() 411 put_page(virt_to_page(pud)); in clear_hyp_pud_entry() 420 put_page(virt_to_page(pmd)); in clear_hyp_pmd_entry() [all …]
|
/arch/frv/mm/ |
D | pgalloc.c | 91 struct page *page = virt_to_page(pgd); in pgd_list_add() 101 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del()
|
/arch/mn10300/mm/ |
D | pgtable.c | 110 struct page *page = virt_to_page(pgd); in pgd_list_add() 120 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del()
|
/arch/powerpc/mm/ |
D | pgtable_64.c | 308 return virt_to_page(pgd_page_vaddr(pgd)); in pgd_page() 316 return virt_to_page(pud_page_vaddr(pud)); in pud_page() 327 return virt_to_page(pmd_page_vaddr(pmd)); in pmd_page() 391 struct page *page = virt_to_page(table); in pte_fragment_free()
|
/arch/tile/kernel/ |
D | vdso.c | 60 struct page *pg = virt_to_page(vdso_kbase + i*PAGE_SIZE); in vdso_setup() 64 pagelist[pages - 1] = virt_to_page(vdso_data); in vdso_setup()
|
/arch/h8300/include/asm/ |
D | pgtable.h | 27 #define ZERO_PAGE(vaddr) (virt_to_page(0))
|
/arch/nios2/mm/ |
D | ioremap.c | 136 for (page = virt_to_page(t_addr); in __ioremap() 137 page <= virt_to_page(t_end); page++) in __ioremap()
|
/arch/microblaze/mm/ |
D | consistent.c | 129 page = virt_to_page(vaddr); in consistent_alloc() 195 page = virt_to_page(vaddr); in consistent_free()
|