Home
last modified time | relevance | path

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

1234567

/linux-2.4.37.9/arch/s390x/mm/
Dinit.c116 set_bit(PG_arch_1, &virt_to_page(new)->flags); in pgd_populate()
117 set_bit(PG_arch_1, &virt_to_page(new+PTRS_PER_PMD)->flags); in pgd_populate()
143 clear_bit(PG_arch_1, &virt_to_page(pmd)->flags); in pmd_free_order2()
144 if (test_bit(PG_arch_1, &virt_to_page(pmd2)->flags) == 0) { in pmd_free_order2()
331 ClearPageReserved(virt_to_page(addr)); in free_initmem()
332 set_page_count(virt_to_page(addr), 1); in free_initmem()
346 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
347 set_page_count(virt_to_page(start), 1); in free_initrd_mem()
/linux-2.4.37.9/arch/m68k/mm/
Dinit.c146 clear_bit(PG_DMA, &virt_to_page(tmp)->flags); in mem_init()
149 if (PageReserved(virt_to_page(tmp))) { in mem_init()
161 set_page_count(virt_to_page(tmp), 1); in mem_init()
196 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
197 set_page_count(virt_to_page(start), 1); in free_initrd_mem()
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-buffer.c53 for (page = virt_to_page(addr); page < virt_to_page(addr+size); page++) in dmaalloc()
64 for (page = virt_to_page((unsigned long)addr); in dmafree()
65 page < virt_to_page((unsigned long)addr+size); page++) in dmafree()
/linux-2.4.37.9/arch/ppc/mm/
Dinit.c238 ClearPageReserved(virt_to_page(start)); in free_sec()
239 set_page_count(virt_to_page(start), 1); in free_sec()
277 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
278 set_page_count(virt_to_page(start), 1); in free_initrd_mem()
496 ClearPageReserved(virt_to_page(addr)); in mem_init()
506 SetPageReserved(virt_to_page(addr)); in mem_init()
508 SetPageReserved(virt_to_page(agp_special_page)); in mem_init()
514 SetPageReserved(virt_to_page(addr)); in mem_init()
518 if (!PageReserved(virt_to_page(addr))) in mem_init()
/linux-2.4.37.9/crypto/
Dhmac.c28 tmp.page = virt_to_page(key); in hash_key()
73 tmp.page = virt_to_page(ipad); in crypto_hmac_init()
107 tmp.page = virt_to_page(opad); in crypto_hmac_final()
114 tmp.page = virt_to_page(out); in crypto_hmac_final()
/linux-2.4.37.9/arch/mips64/mm/
Dinit.c136 page = virt_to_page(empty_zero_page); in setup_zero_pages()
137 while (page < virt_to_page(empty_zero_page + (PAGE_SIZE << order))) { in setup_zero_pages()
294 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
295 set_page_count(virt_to_page(start), 1); in free_initrd_mem()
315 ClearPageReserved(virt_to_page(page)); in free_initmem()
316 set_page_count(virt_to_page(page), 1); in free_initmem()
/linux-2.4.37.9/arch/sh/mm/
Dinit.c189 ClearPageReserved(virt_to_page(addr)); in free_initmem()
190 set_page_count(virt_to_page(addr), 1); in free_initmem()
202 ClearPageReserved(virt_to_page(p)); in free_initrd_mem()
203 set_page_count(virt_to_page(p), 1); in free_initrd_mem()
/linux-2.4.37.9/arch/s390/mm/
Dinit.c218 ClearPageReserved(virt_to_page(addr)); in free_initmem()
219 set_page_count(virt_to_page(addr), 1); in free_initmem()
233 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
234 set_page_count(virt_to_page(start), 1); in free_initrd_mem()
/linux-2.4.37.9/drivers/char/drm-4.0/
Dvm.c97 atomic_inc(&virt_to_page(physical)->count); /* Dec. by kernel */ in drm_vm_shm_nopage()
103 return virt_to_page(physical); in drm_vm_shm_nopage()
130 atomic_inc(&virt_to_page(physical)->count); /* Dec. by kernel */ in drm_vm_shm_nopage_lock()
136 return virt_to_page(physical); in drm_vm_shm_nopage_lock()
165 atomic_inc(&virt_to_page(physical)->count); /* Dec. by kernel */ in drm_vm_dma_nopage()
171 return virt_to_page(physical); in drm_vm_dma_nopage()
/linux-2.4.37.9/arch/mips/mm/
Dinit.c86 page = virt_to_page(empty_zero_page); in setup_zero_pages()
87 while (page < virt_to_page(empty_zero_page + (PAGE_SIZE << order))) { in setup_zero_pages()
371 ClearPageReserved(virt_to_page(start)); in free_initrd_mem()
372 set_page_count(virt_to_page(start), 1); in free_initrd_mem()
390 ClearPageReserved(virt_to_page(addr)); in free_initmem()
391 set_page_count(virt_to_page(addr), 1); in free_initmem()
/linux-2.4.37.9/arch/sparc/kernel/
Dsun4d_smp.c299 ClearPageReserved(virt_to_page(trapbase_cpu1)); in smp4d_boot_cpus()
300 set_page_count(virt_to_page(trapbase_cpu1), 1); in smp4d_boot_cpus()
305 ClearPageReserved(virt_to_page(trapbase_cpu2)); in smp4d_boot_cpus()
306 set_page_count(virt_to_page(trapbase_cpu2), 1); in smp4d_boot_cpus()
311 ClearPageReserved(virt_to_page(trapbase_cpu3)); in smp4d_boot_cpus()
312 set_page_count(virt_to_page(trapbase_cpu3), 1); in smp4d_boot_cpus()
Dsun4m_smp.c281 ClearPageReserved(virt_to_page(trapbase_cpu1)); in smp4m_boot_cpus()
282 set_page_count(virt_to_page(trapbase_cpu1), 1); in smp4m_boot_cpus()
288 ClearPageReserved(virt_to_page(trapbase_cpu2)); in smp4m_boot_cpus()
289 set_page_count(virt_to_page(trapbase_cpu2), 1); in smp4m_boot_cpus()
295 ClearPageReserved(virt_to_page(trapbase_cpu3)); in smp4m_boot_cpus()
296 set_page_count(virt_to_page(trapbase_cpu3), 1); in smp4m_boot_cpus()
/linux-2.4.37.9/drivers/media/video/
Dzr36120_mem.c54 mem_map_reserve(virt_to_page(phys_to_virt(adr))); in bmalloc()
68 mem_map_unreserve(virt_to_page(phys_to_virt(adr))); in bfree()
/linux-2.4.37.9/arch/ia64/mm/
Dinit.c145 clear_bit(PG_reserved, &virt_to_page((void *)addr)->flags); in free_initmem()
146 set_page_count(virt_to_page((void *)addr), 1); in free_initmem()
195 if (!VALID_PAGE(virt_to_page((void *)start))) in free_initrd_mem()
197 clear_bit(PG_reserved, &virt_to_page((void *)start)->flags); in free_initrd_mem()
198 set_page_count(virt_to_page((void *)start), 1); in free_initrd_mem()
626 zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page)); in paging_init()
635 for (pg = virt_to_page((void *)start); pg < virt_to_page((void *)end); ++pg) in count_reserved_pages()
695 put_gate_page(virt_to_page(ia64_imva(__start_gate_section)), GATE_ADDR); in mem_init()
/linux-2.4.37.9/include/asm-cris/
Dprocessor.h105 VALID_PAGE(virt_to_page(regs))) \
140 #define get_task_struct(tsk) atomic_inc(&virt_to_page(tsk)->count)
/linux-2.4.37.9/arch/mips/dec/prom/
Dmemory.c120 ClearPageReserved(virt_to_page(__va(addr))); in prom_free_prom_memory()
121 set_page_count(virt_to_page(__va(addr)), 1); in prom_free_prom_memory()
/linux-2.4.37.9/arch/alpha/mm/
Dinit.c67 = pte_val(mk_pte(virt_to_page(ret), PAGE_KERNEL)); in get_pgd_slow()
118 return pte_mkdirty(mk_pte(virt_to_page(EMPTY_PGE), PAGE_SHARED)); in __bad_page()
385 ClearPageReserved(virt_to_page(__start)); in free_reserved_mem()
386 set_page_count(virt_to_page(__start), 1); in free_reserved_mem()
/linux-2.4.37.9/include/asm-arm/
Dmemory.h74 #define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)) macro
102 #define virt_to_page(kaddr) \ macro
/linux-2.4.37.9/arch/mips/arc/
Dmemory.c160 ClearPageReserved(virt_to_page(__va(addr))); in prom_free_prom_memory()
161 set_page_count(virt_to_page(__va(addr)), 1); in prom_free_prom_memory()
/linux-2.4.37.9/include/asm-m68k/
Dprocessor.h144 (VALID_PAGE(virt_to_page((tsk)->thread.esp0)))) \
155 #define get_task_struct(tsk) atomic_inc(&virt_to_page(tsk)->count)
/linux-2.4.37.9/drivers/char/drm/
Dsavage_drv.c90 for (i = 0, p = virt_to_page(ret); i < size / PAGE_SIZE; i++, p++) in savage_alloc_continuous_mem()
112 for (i = 0, p = virt_to_page(ret); i < size / PAGE_SIZE; i++, p++) in savage_alloc_continuous_mem()
140 for (i = 0, p = virt_to_page(ret); i < size / PAGE_SIZE; i++, p++) in savage_alloc_continuous_mem()
/linux-2.4.37.9/arch/mips/mips-boards/generic/
Dmemory.c169 ClearPageReserved(virt_to_page(__va(addr))); in prom_free_prom_memory()
170 set_page_count(virt_to_page(__va(addr)), 1); in prom_free_prom_memory()
/linux-2.4.37.9/arch/parisc/mm/
Dioremap.c142 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()
/linux-2.4.37.9/arch/x86_64/mm/
Dioremap.c134 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()
/linux-2.4.37.9/arch/cris/mm/
Dioremap.c138 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()

1234567