Home
last modified time | relevance | path

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

1234567891011

/linux-3.4.99/arch/c6x/mm/
Dinit.c82 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
83 init_page_count(virt_to_page(start)); in free_initrd_mem()
106 ClearPageReserved(virt_to_page(addr)); in free_initmem()
107 init_page_count(virt_to_page(addr)); in free_initmem()
/linux-3.4.99/arch/m68k/mm/
Dinit_no.c112 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
113 init_page_count(virt_to_page(start)); in free_initrd_mem()
134 ClearPageReserved(virt_to_page(addr)); in free_initmem()
135 init_page_count(virt_to_page(addr)); in free_initmem()
/linux-3.4.99/arch/h8300/mm/
Dinit.c166 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
167 init_page_count(virt_to_page(start)); in free_initrd_mem()
189 ClearPageReserved(virt_to_page(addr)); in free_initmem()
190 init_page_count(virt_to_page(addr)); in free_initmem()
/linux-3.4.99/arch/frv/mm/
Dinit.c178 ClearPageReserved(virt_to_page(addr)); in free_initmem()
179 init_page_count(virt_to_page(addr)); in free_initmem()
198 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
199 init_page_count(virt_to_page(start)); in free_initrd_mem()
/linux-3.4.99/arch/m32r/mm/
Dinit.c191 ClearPageReserved(virt_to_page(addr)); in free_initmem()
192 init_page_count(virt_to_page(addr)); in free_initmem()
209 ClearPageReserved(virt_to_page(p)); in free_initrd_mem()
210 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()
/linux-3.4.99/arch/s390/kernel/
Dvdso.c281 struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); in vdso_init()
286 vdso32_pagelist[vdso32_pages - 1] = virt_to_page(vdso_data); in vdso_init()
300 struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); in vdso_init()
305 vdso64_pagelist[vdso64_pages - 1] = virt_to_page(vdso_data); in vdso_init()
312 get_page(virt_to_page(vdso_data)); in vdso_init()
/linux-3.4.99/arch/openrisc/mm/
Dinit.c259 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
260 init_page_count(virt_to_page(start)); in free_initrd_mem()
273 ClearPageReserved(virt_to_page(addr)); in free_initmem()
274 init_page_count(virt_to_page(addr)); in free_initmem()
/linux-3.4.99/arch/tile/include/asm/
Dpgalloc.h85 pte_free(mm, virt_to_page(pte)); in pte_free_kernel()
117 pte_free((mm), virt_to_page(pmdp))
119 __pte_free_tlb((tlb), virt_to_page(pmdp), (address))
/linux-3.4.99/arch/sparc/kernel/
Dleon_smp.c279 ClearPageReserved(virt_to_page(&trapbase_cpu1)); in leon_smp_done()
280 init_page_count(virt_to_page(&trapbase_cpu1)); in leon_smp_done()
286 ClearPageReserved(virt_to_page(&trapbase_cpu2)); in leon_smp_done()
287 init_page_count(virt_to_page(&trapbase_cpu2)); in leon_smp_done()
293 ClearPageReserved(virt_to_page(&trapbase_cpu3)); in leon_smp_done()
294 init_page_count(virt_to_page(&trapbase_cpu3)); in leon_smp_done()
/linux-3.4.99/arch/x86/mm/
Dpgtable.c61 tlb_remove_page(tlb, virt_to_page(pmd)); in ___pmd_free_tlb()
68 tlb_remove_page(tlb, virt_to_page(pud)); in ___pud_free_tlb()
75 struct page *page = virt_to_page(pgd); in pgd_list_add()
82 struct page *page = virt_to_page(pgd); in pgd_list_del()
93 BUILD_BUG_ON(sizeof(virt_to_page(pgd)->index) < sizeof(mm)); in pgd_set_mm()
94 virt_to_page(pgd)->index = (pgoff_t)mm; in pgd_set_mm()
Dinit_32.c888 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in set_kernel_text_rw()
902 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in set_kernel_text_ro()
919 set_pages_nx(virt_to_page(start), size >> PAGE_SHIFT); in mark_nxdata_nx()
927 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
936 set_pages_rw(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()
944 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
951 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
954 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
Dhugetlbpage.c92 get_page(virt_to_page(spte)); in huge_pmd_share()
105 put_page(virt_to_page(spte)); in huge_pmd_share()
130 BUG_ON(page_count(virt_to_page(ptep)) == 0); in huge_pmd_unshare()
131 if (page_count(virt_to_page(ptep)) == 1) in huge_pmd_unshare()
135 put_page(virt_to_page(ptep)); in huge_pmd_unshare()
/linux-3.4.99/arch/cris/mm/
Dinit.c74 ClearPageReserved(virt_to_page(addr)); in free_initmem()
75 init_page_count(virt_to_page(addr)); in free_initmem()
/linux-3.4.99/arch/alpha/mm/
Dinit.c56 = pte_val(mk_pte(virt_to_page(ret), PAGE_KERNEL)); in pgd_alloc()
86 return pte_mkdirty(mk_pte(virt_to_page(EMPTY_PGE), PAGE_SHARED)); in __bad_page()
325 ClearPageReserved(virt_to_page(__start)); in free_reserved_mem()
326 init_page_count(virt_to_page(__start)); in free_reserved_mem()
/linux-3.4.99/arch/m68k/include/asm/
Dpage_no.h28 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) macro
31 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
/linux-3.4.99/arch/parisc/mm/
Dioremap.c59 for (page = virt_to_page(t_addr); in __ioremap()
60 page <= virt_to_page(t_end); page++) { in __ioremap()
/linux-3.4.99/arch/um/kernel/skas/
Dmmu.c38 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); in init_stub_pte()
120 mm->context.stub_pages[0] = virt_to_page(&__syscall_stub_start); in uml_setup_stubs()
121 mm->context.stub_pages[1] = virt_to_page(mm->context.id.stack); in uml_setup_stubs()
/linux-3.4.99/kernel/power/
Dblock_io.c68 virt_to_page(addr), bio_chain); in hib_bio_read_page()
74 virt_to_page(addr), bio_chain); in hib_bio_write_page()
/linux-3.4.99/arch/ia64/mm/
Dinit.c82 struct page *page = virt_to_page(pg_addr); in dma_mark_clean()
161 ClearPageReserved(virt_to_page(addr)); in free_initmem()
162 init_page_count(virt_to_page(addr)); in free_initmem()
215 page = virt_to_page(start); in free_initrd_mem()
271 page = virt_to_page(ia64_imva(gate_section)); in setup_gate()
274 page = virt_to_page(ia64_imva(gate_section + PAGE_SIZE)); in setup_gate()
571 if (PageReserved(virt_to_page(start))) in count_reserved_pages()
/linux-3.4.99/arch/s390/mm/
Dinit.c77 page = virt_to_page((void *) empty_zero_page); in setup_zero_pages()
199 ClearPageReserved(virt_to_page(addr)); in free_init_pages()
200 init_page_count(virt_to_page(addr)); in free_init_pages()
/linux-3.4.99/arch/alpha/include/asm/
Dmmzone.h72 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) macro
97 __xx = virt_to_page(kvirt); \
/linux-3.4.99/arch/powerpc/kernel/
Dvdso.c163 struct page *pg = virt_to_page(vdso32_kbase + in dump_vdso_pages()
174 struct page *pg = virt_to_page(vdso64_kbase + in dump_vdso_pages()
784 struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); in vdso_init()
789 vdso32_pagelist[i++] = virt_to_page(vdso_data); in vdso_init()
797 struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); in vdso_init()
802 vdso64_pagelist[i++] = virt_to_page(vdso_data); in vdso_init()
806 get_page(virt_to_page(vdso_data)); in vdso_init()
/linux-3.4.99/arch/mn10300/mm/
Dinit.c149 ClearPageReserved(virt_to_page(addr)); in free_init_pages()
150 init_page_count(virt_to_page(addr)); in free_init_pages()
Dpgtable.c105 struct page *page = virt_to_page(pgd); in pgd_list_add()
115 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del()

1234567891011