Home
last modified time | relevance | path

Searched refs:virt_to_page (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/linux/mm/
H A Dbootmem_info.c60 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 Dptdump.c37 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 Dz3fold.c273 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 Dpgtable_64.c108 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 Dioremap.c37 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 Dpage.h90 #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 Dvmemmap_dedup.rst23 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+
52 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+
81 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+
/linux/arch/powerpc/mm/kasan/
H A Dinit_book3e_64.c19 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 Dpgtable-levels.h112 #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 Dpgtable.h25 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
/linux/fs/ubifs/
H A Dcrypto.c53 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 Dkasan_init.c26 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 Dvdso.c36 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 Dinit.c35 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 Dleon_smp.c248 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 Dshadow.c76 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 Dring_buffer.c643 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 Dioremap.c139 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 Dvsyscall.h27 flush_dcache_page(virt_to_page(vdata)); in __arm_sync_vdso_data()
/linux/arch/arm/kernel/
H A Dvdso.c197 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 Dkfence.h38 __kernel_map_pages(virt_to_page((void *)addr), 1, !protect); in kfence_protect_page()
/linux/arch/m68k/include/asm/
H A Dpgtable_no.h38 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
H A Dsun3_pgtable.h113 #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 Dtest_free_pages.c20 struct page *page = virt_to_page((void *)addr); in test_free_pages()
/linux/arch/powerpc/include/asm/
H A Dkfence.h35 struct page *page = virt_to_page((void *)addr); in kfence_protect_page()

12345678910>>...13