Home
last modified time | relevance | path

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

12345678910>>...13

/linux/mm/
A Dbootmem_info.c59 page = virt_to_page(memmap); in register_page_bootmem_info_section()
68 page = virt_to_page(usage); in register_page_bootmem_info_section()
92 page = virt_to_page(usage); in register_page_bootmem_info_section()
108 page = virt_to_page(pgdat); in register_page_bootmem_info_node()
A Dptdump.c36 if (pgd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_p4d))) in ptdump_pgd_entry()
57 if (p4d_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pud))) in ptdump_p4d_entry()
78 if (pud_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pmd))) in ptdump_pud_entry()
98 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
A Dz3fold.c288 struct page *page = virt_to_page(zhdr); in put_z3fold_header()
506 struct page *page = virt_to_page(zhdr); in __release_z3fold_page()
757 struct page *page = virt_to_page(zhdr); in z3fold_compact_page()
807 page = virt_to_page(zhdr); in do_compact_page()
895 page = virt_to_page(zhdr); in __z3fold_alloc()
940 page = virt_to_page(zhdr); in __z3fold_alloc()
1106 page = virt_to_page(zhdr); in z3fold_alloc()
1126 page = virt_to_page(zhdr); in z3fold_alloc()
1205 page = virt_to_page(zhdr); in z3fold_free()
1496 page = virt_to_page(zhdr); in z3fold_map()
[all …]
A Dslob.c212 struct page *sp = virt_to_page(b); in slob_free_pages()
361 sp = virt_to_page(b); in slob_alloc()
394 sp = virt_to_page(block); in slob_free()
555 sp = virt_to_page(block); in kfree()
581 sp = virt_to_page(block); in __ksize()
/linux/arch/x86/mm/
A Dpgtable.c63 struct page *page = virt_to_page(pmd); in ___pmd_free_tlb()
80 paravirt_tlb_remove_table(tlb, virt_to_page(pud)); in ___pud_free_tlb()
87 paravirt_tlb_remove_table(tlb, virt_to_page(p4d)); in ___p4d_free_tlb()
95 struct page *page = virt_to_page(pgd); in pgd_list_add()
102 struct page *page = virt_to_page(pgd); in pgd_list_del()
115 virt_to_page(pgd)->pt_mm = mm; in pgd_set_mm()
219 pgtable_pmd_page_dtor(virt_to_page(pmds[i])); in free_pmds()
238 if (pmd && !pgtable_pmd_page_ctor(virt_to_page(pmd))) { in preallocate_pmds()
825 pgtable_pmd_page_dtor(virt_to_page(pmd)); in pud_free_pmd_page()
/linux/arch/powerpc/mm/
A Dpgtable_64.c108 return virt_to_page(p4d_pgtable(p4d)); in p4d_page()
118 return virt_to_page(pud_pgtable(pud)); in pud_page()
131 return virt_to_page(pmd_page_vaddr(pmd)); in pmd_page()
A Dpgtable-frag.c23 page = virt_to_page(pte_frag); in pte_frag_destroy()
111 struct page *page = virt_to_page(table); in pte_fragment_free()
/linux/arch/um/include/asm/
A Dpgalloc.h38 pgtable_pmd_page_dtor(virt_to_page(pmd)); \
39 tlb_remove_page((tlb),virt_to_page(pmd)); \
/linux/arch/arc/include/asm/
A Dpgtable-levels.h115 #define p4d_page(p4d) virt_to_page(p4d_pgtable(p4d))
137 #define pud_page(pud) virt_to_page(pud_pgtable(pud))
164 #define pmd_page(pmd) virt_to_page(pmd_page_vaddr(pmd))
/linux/arch/m68k/include/asm/
A Dpage_no.h26 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) macro
29 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
A Dmcf_pgalloc.h38 struct page *page = virt_to_page(pgtable); in __pte_free_tlb()
64 struct page *page = virt_to_page(pgtable); in pte_free()
/linux/arch/parisc/mm/
A Dioremap.c58 for (page = virt_to_page(t_addr); in ioremap()
59 page <= virt_to_page(t_end); page++) { in ioremap()
/linux/arch/arm64/include/asm/
A Dtlb.h86 struct page *page = virt_to_page(pmdp); in __pmd_free_tlb()
97 tlb_remove_table(tlb, virt_to_page(pudp)); in __pud_free_tlb()
/linux/mm/kasan/
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/fs/ubifs/
A Dcrypto.c42 err = fscrypt_encrypt_block_inplace(inode, virt_to_page(p), pad_len, in ubifs_encrypt()
67 err = fscrypt_decrypt_block_inplace(inode, virt_to_page(&dn->data), in ubifs_decrypt()
/linux/arch/nds32/mm/
A Dmm-nds32.c37 inc_lruvec_page_state(virt_to_page((unsigned long *)new_pgd), in pgd_alloc()
62 dec_lruvec_page_state(virt_to_page((unsigned long *)pgd), NR_PAGETABLE); in pgd_free()
/linux/arch/xtensa/mm/
A Dkasan_init.c27 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_early_init()
95 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init()
/linux/arch/csky/kernel/
A Dvdso.c46 pg = virt_to_page(vdso_start + (i << PAGE_SHIFT)); in vdso_init()
49 vdso_pagelist[i] = virt_to_page(vdso_data); in vdso_init()
/linux/kernel/events/
A Dring_buffer.c633 struct page *page = virt_to_page(rb->aux_pages[idx]); in rb_free_aux_page()
727 struct page *page = virt_to_page(rb->aux_pages[0]); in rb_alloc_aux()
779 return virt_to_page(rb->user_page); in __perf_mmap_to_page()
781 return virt_to_page(rb->data_pages[pgoff - 1]); in __perf_mmap_to_page()
799 struct page *page = virt_to_page(addr); in perf_mmap_free_page()
959 return virt_to_page(rb->aux_pages[aux_pgoff]); in perf_mmap_to_page()
/linux/arch/sparc/kernel/
A Dleon_smp.c248 free_reserved_page(virt_to_page(&trapbase_cpu1)); in leon_smp_done()
251 free_reserved_page(virt_to_page(&trapbase_cpu2)); in leon_smp_done()
254 free_reserved_page(virt_to_page(&trapbase_cpu3)); in leon_smp_done()
/linux/arch/s390/include/asm/
A Dpgalloc.h89 if (!pgtable_pmd_page_ctor(virt_to_page(table))) { in pmd_alloc_one()
100 pgtable_pmd_page_dtor(virt_to_page(pmd)); in pmd_free()
/linux/arch/nios2/mm/
A Dioremap.c139 for (page = virt_to_page(t_addr); in ioremap()
140 page <= virt_to_page(t_end); page++) in ioremap()
/linux/arch/ia64/include/asm/
A Dpgtable.h263 #define pte_page(pte) virt_to_page(((pte_val(pte) & _PFN_MASK) + PAGE_OFFSET))
270 #define pmd_page(pmd) virt_to_page((pmd_val(pmd) + PAGE_OFFSET))
277 #define pud_page(pud) virt_to_page((pud_val(pud) + PAGE_OFFSET))
285 #define p4d_page(p4d) virt_to_page((p4d_val(p4d) + PAGE_OFFSET))
/linux/arch/ia64/mm/
A Dinit.c193 free_reserved_page(virt_to_page(start)); in free_initrd_mem()
243 page = virt_to_page(ia64_imva(__start_gate_section)); in setup_gate()
246 page = virt_to_page(ia64_imva(__start_gate_section + PAGE_SIZE)); in setup_gate()
/linux/arch/arm/kernel/
A Dvdso.c201 vdso_data_page = virt_to_page(vdso_data); in vdso_init()
207 page = virt_to_page(vdso_start + i * PAGE_SIZE); in vdso_init()

Completed in 28 milliseconds

12345678910>>...13