/linux/mm/ |
H A D | bootmem_info.c | 60 page = virt_to_page(memmap); in register_page_bootmem_info_section() 69 page = virt_to_page(usage); in register_page_bootmem_info_section() 93 page = virt_to_page(usage); in register_page_bootmem_info_section() 109 page = virt_to_page(pgdat); in register_page_bootmem_info_node()
|
H A D | ptdump.c | 37 if (pgd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_p4d))) in ptdump_pgd_entry() 60 if (p4d_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pud))) in ptdump_p4d_entry() 83 if (pud_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pmd))) in ptdump_pud_entry() 105 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
|
H A D | z3fold.c | 273 struct page *page = virt_to_page(zhdr); in put_z3fold_header() 440 struct page *page = virt_to_page(zhdr); in __release_z3fold_page() 500 struct page *page = virt_to_page(zhdr); in free_pages_work() 690 struct page *page = virt_to_page(zhdr); in z3fold_compact_page() 740 page = virt_to_page(zhdr); in do_compact_page() 823 page = virt_to_page(zhdr); in __z3fold_alloc() 868 page = virt_to_page(zhdr); in __z3fold_alloc() 1030 page = virt_to_page(zhdr); in z3fold_alloc() 1101 page = virt_to_page(zhdr); in z3fold_free() 1184 page = virt_to_page(zhdr); in z3fold_map() [all …]
|
/linux/arch/powerpc/mm/ |
H A D | pgtable_64.c | 108 return virt_to_page(p4d_pgtable(p4d)); in p4d_page() 119 return virt_to_page(pud_pgtable(pud)); in pud_page() 138 return virt_to_page(pmd_page_vaddr(pmd)); in pmd_page()
|
/linux/arch/parisc/mm/ |
H A D | ioremap.c | 37 for (page = virt_to_page(t_addr); in ioremap_prot() 38 page <= virt_to_page(t_end); page++) { in ioremap_prot()
|
/linux/arch/loongarch/include/asm/ |
H A D | page.h | 90 #define virt_to_page(kaddr) phys_to_page(__pa(kaddr)) macro 102 #define virt_to_page(kaddr) \ macro 111 #define virt_to_pfn(kaddr) page_to_pfn(virt_to_page(kaddr))
|
/linux/Documentation/arch/powerpc/ |
H A D | vmemmap_dedup.rst | 23 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+ 52 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+ 81 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+
|
/linux/arch/powerpc/mm/kasan/ |
H A D | init_book3e_64.c | 19 return p4d_page(p4d) == virt_to_page(lm_alias(kasan_early_shadow_pud)); in kasan_pud_table() 24 return pud_page(pud) == virt_to_page(lm_alias(kasan_early_shadow_pmd)); in kasan_pmd_table() 29 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
|
/linux/arch/arc/include/asm/ |
H A D | pgtable-levels.h | 112 #define p4d_page(p4d) virt_to_page(p4d_pgtable(p4d)) 134 #define pud_page(pud) virt_to_page(pud_pgtable(pud)) 162 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd))
|
H A D | pgtable.h | 25 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
|
/linux/fs/ubifs/ |
H A D | crypto.c | 53 err = fscrypt_encrypt_block_inplace(inode, virt_to_page(p), pad_len, in ubifs_encrypt() 78 err = fscrypt_decrypt_block_inplace(inode, virt_to_page(&dn->data), in ubifs_decrypt()
|
/linux/arch/xtensa/mm/ |
H A D | kasan_init.c | 26 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_early_init() 93 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init()
|
/linux/arch/csky/kernel/ |
H A D | vdso.c | 36 pg = virt_to_page(vdso_start + (i << PAGE_SHIFT)); in vdso_init() 39 vdso_pagelist[i] = virt_to_page(vdso_data); in vdso_init()
|
/linux/mm/kasan/ |
H A D | init.c | 35 return pgd_page(pgd) == virt_to_page(lm_alias(kasan_early_shadow_p4d)); in kasan_p4d_table() 47 return p4d_page(p4d) == virt_to_page(lm_alias(kasan_early_shadow_pud)); in kasan_pud_table() 59 return pud_page(pud) == virt_to_page(lm_alias(kasan_early_shadow_pmd)); in kasan_pmd_table() 72 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table() 77 return pte_page(pte) == virt_to_page(lm_alias(kasan_early_shadow_page)); in kasan_early_shadow_page_entry()
|
/linux/arch/sparc/kernel/ |
H A D | leon_smp.c | 248 free_reserved_page(virt_to_page(&trapbase_cpu1[0])); in leon_smp_done() 251 free_reserved_page(virt_to_page(&trapbase_cpu2[0])); in leon_smp_done() 254 free_reserved_page(virt_to_page(&trapbase_cpu3[0])); in leon_smp_done()
|
/linux/mm/kmsan/ |
H A D | shadow.c | 76 return virt_to_page(vaddr); in virt_to_page_or_null() 292 shadow_p = virt_to_page((char *)shadow + addr); in kmsan_init_alloc_meta_for_range() 295 origin_p = virt_to_page((char *)origin + addr); in kmsan_init_alloc_meta_for_range()
|
/linux/kernel/events/ |
H A D | ring_buffer.c | 643 struct page *page = virt_to_page(rb->aux_pages[idx]); in rb_free_aux_page() 748 struct page *page = virt_to_page(rb->aux_pages[0]); in rb_alloc_aux() 800 return virt_to_page(rb->user_page); in __perf_mmap_to_page() 802 return virt_to_page(rb->data_pages[pgoff - 1]); in __perf_mmap_to_page() 820 struct page *page = virt_to_page(addr); in perf_mmap_free_page() 975 return virt_to_page(rb->aux_pages[aux_pgoff]); in perf_mmap_to_page()
|
/linux/arch/nios2/mm/ |
H A D | ioremap.c | 139 for (page = virt_to_page(t_addr); in ioremap() 140 page <= virt_to_page(t_end); page++) in ioremap()
|
/linux/arch/arm/include/asm/vdso/ |
H A D | vsyscall.h | 27 flush_dcache_page(virt_to_page(vdata)); in __arm_sync_vdso_data()
|
/linux/arch/arm/kernel/ |
H A 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()
|
/linux/arch/s390/include/asm/ |
H A D | kfence.h | 38 __kernel_map_pages(virt_to_page((void *)addr), 1, !protect); in kfence_protect_page()
|
/linux/arch/m68k/include/asm/ |
H A D | pgtable_no.h | 38 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
|
H A D | sun3_pgtable.h | 113 #define pte_page(pte) virt_to_page(__pte_page(pte)) 115 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd))
|
/linux/lib/ |
H A D | test_free_pages.c | 20 struct page *page = virt_to_page((void *)addr); in test_free_pages()
|
/linux/arch/powerpc/include/asm/ |
H A D | kfence.h | 35 struct page *page = virt_to_page((void *)addr); in kfence_protect_page()
|