Home
last modified time | relevance | path

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

12345

/arch/m68knommu/mm/
Dinit.c165 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
166 init_page_count(virt_to_page(start)); in free_initrd_mem()
188 ClearPageReserved(virt_to_page(addr)); in free_initmem()
189 init_page_count(virt_to_page(addr)); in free_initmem()
/arch/h8300/mm/
Dinit.c167 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
168 init_page_count(virt_to_page(start)); in free_initrd_mem()
190 ClearPageReserved(virt_to_page(addr)); in free_initmem()
191 init_page_count(virt_to_page(addr)); in free_initmem()
/arch/frv/mm/
Dinit.c180 ClearPageReserved(virt_to_page(addr)); in free_initmem()
181 init_page_count(virt_to_page(addr)); in free_initmem()
200 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
201 init_page_count(virt_to_page(start)); in free_initrd_mem()
Dpgalloc.c87 struct page *page = virt_to_page(pgd); in pgd_list_add()
97 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del()
/arch/sparc/kernel/
Dsun4m_smp.c200 ClearPageReserved(virt_to_page(trapbase_cpu1)); in smp4m_smp_done()
201 init_page_count(virt_to_page(trapbase_cpu1)); in smp4m_smp_done()
207 ClearPageReserved(virt_to_page(trapbase_cpu2)); in smp4m_smp_done()
208 init_page_count(virt_to_page(trapbase_cpu2)); in smp4m_smp_done()
214 ClearPageReserved(virt_to_page(trapbase_cpu3)); in smp4m_smp_done()
215 init_page_count(virt_to_page(trapbase_cpu3)); in smp4m_smp_done()
Dsun4d_smp.c240 ClearPageReserved(virt_to_page(trapbase_cpu1)); in smp4d_smp_done()
241 init_page_count(virt_to_page(trapbase_cpu1)); in smp4d_smp_done()
246 ClearPageReserved(virt_to_page(trapbase_cpu2)); in smp4d_smp_done()
247 init_page_count(virt_to_page(trapbase_cpu2)); in smp4d_smp_done()
252 ClearPageReserved(virt_to_page(trapbase_cpu3)); in smp4d_smp_done()
253 init_page_count(virt_to_page(trapbase_cpu3)); in smp4d_smp_done()
/arch/m32r/mm/
Dinit.c192 ClearPageReserved(virt_to_page(addr)); in free_initmem()
193 init_page_count(virt_to_page(addr)); in free_initmem()
210 ClearPageReserved(virt_to_page(p)); in free_initrd_mem()
211 init_page_count(virt_to_page(p)); in free_initrd_mem()
Dioremap.c72 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()
/arch/powerpc/mm/
Dinit_64.c87 ClearPageReserved(virt_to_page(addr)); in free_initmem()
88 init_page_count(virt_to_page(addr)); in free_initmem()
102 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
103 init_page_count(virt_to_page(start)); in free_initrd_mem()
Dinit_32.c211 ClearPageReserved(virt_to_page(start)); in free_sec()
212 init_page_count(virt_to_page(start)); in free_sec()
243 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
244 init_page_count(virt_to_page(start)); in free_initrd_mem()
/arch/s390/mm/
Dinit.c150 ClearPageReserved(virt_to_page(addr)); in free_initmem()
151 init_page_count(virt_to_page(addr)); in free_initmem()
166 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
167 init_page_count(virt_to_page(start)); in free_initrd_mem()
/arch/cris/mm/
Dinit.c76 ClearPageReserved(virt_to_page(addr)); in free_initmem()
77 init_page_count(virt_to_page(addr)); in free_initmem()
/arch/s390/kernel/
Dvdso.c298 struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); in vdso_init()
303 vdso32_pagelist[vdso32_pages - 1] = virt_to_page(vdso_data); in vdso_init()
317 struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); in vdso_init()
322 vdso64_pagelist[vdso64_pages - 1] = virt_to_page(vdso_data); in vdso_init()
331 get_page(virt_to_page(vdso_data)); in vdso_init()
/arch/parisc/mm/
Dioremap.c59 for (page = virt_to_page(t_addr); in __ioremap()
60 page <= virt_to_page(t_end); page++) { in __ioremap()
/arch/alpha/mm/
Dinit.c57 = pte_val(mk_pte(virt_to_page(ret), PAGE_KERNEL)); in pgd_alloc()
87 return pte_mkdirty(mk_pte(virt_to_page(EMPTY_PGE), PAGE_SHARED)); in __bad_page()
320 ClearPageReserved(virt_to_page(__start)); in free_reserved_mem()
321 init_page_count(virt_to_page(__start)); in free_reserved_mem()
/arch/sh/mm/
Dinit.c250 ClearPageReserved(virt_to_page(addr)); in free_initmem()
251 init_page_count(virt_to_page(addr)); in free_initmem()
265 ClearPageReserved(virt_to_page(p)); in free_initrd_mem()
266 init_page_count(virt_to_page(p)); in free_initrd_mem()
Dpg-sh7705.c78 struct page *page = virt_to_page(to); in clear_user_page()
101 struct page *page = virt_to_page(to); in copy_user_page()
/arch/x86/mm/
Dpgtable.c37 tlb_remove_page(tlb, virt_to_page(pmd)); in __pmd_free_tlb()
44 tlb_remove_page(tlb, virt_to_page(pud)); in __pud_free_tlb()
51 struct page *page = virt_to_page(pgd); in pgd_list_add()
58 struct page *page = virt_to_page(pgd); in pgd_list_del()
/arch/mn10300/mm/
Dinit.c133 ClearPageReserved(virt_to_page(addr)); in free_init_pages()
134 init_page_count(virt_to_page(addr)); in free_init_pages()
Dpgtable.c106 struct page *page = virt_to_page(pgd); in pgd_list_add()
116 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del()
/arch/m68k/include/asm/
Dpage_no.h63 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) macro
66 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
/arch/um/kernel/skas/
Dmmu.c37 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); in init_stub_pte()
129 pages[0] = virt_to_page(&__syscall_stub_start); in arch_dup_mmap()
130 pages[1] = virt_to_page(mm->context.id.stack); in arch_dup_mmap()
/arch/blackfin/include/asm/
Dpage.h73 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) macro
77 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
/arch/alpha/include/asm/
Dmmzone.h73 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) macro
98 __xx = virt_to_page(kvirt); \
/arch/m68k/mm/
Dinit.c141 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
142 init_page_count(virt_to_page(start)); in free_initrd_mem()

12345