/linux-2.4.37.9/arch/s390x/mm/ |
D | init.c | 116 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/ |
D | init.c | 146 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/ |
D | ftape-buffer.c | 53 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/ |
D | init.c | 238 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/ |
D | hmac.c | 28 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/ |
D | init.c | 136 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/ |
D | init.c | 189 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/ |
D | init.c | 218 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/ |
D | vm.c | 97 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/ |
D | init.c | 86 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/ |
D | sun4d_smp.c | 299 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()
|
D | sun4m_smp.c | 281 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/ |
D | zr36120_mem.c | 54 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/ |
D | init.c | 145 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/ |
D | processor.h | 105 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/ |
D | memory.c | 120 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/ |
D | init.c | 67 = 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/ |
D | memory.h | 74 #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/ |
D | memory.c | 160 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/ |
D | processor.h | 144 (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/ |
D | savage_drv.c | 90 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/ |
D | memory.c | 169 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/ |
D | ioremap.c | 142 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/ |
D | ioremap.c | 134 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()
|
/linux-2.4.37.9/arch/cris/mm/ |
D | ioremap.c | 138 for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++) in __ioremap()
|