/arch/x86/kernel/ |
D | efi_64.c | 53 set_memory_x((unsigned long)__va(start), num_pages); in early_mapping_set_exec() 55 set_memory_nx((unsigned long)__va(start), num_pages); in early_mapping_set_exec() 83 vaddress = (unsigned long)__va(0x0UL); in efi_call_phys_prelog() 108 return (void __iomem *)__va(phys_addr); in efi_ioremap()
|
D | head64.c | 71 command_line = __va(boot_params.hdr.cmd_line_ptr); in copy_bootdata() 122 copy_bootdata(__va(real_mode_data)); in x86_64_start_reservations()
|
D | check.c | 101 memset(__va(addr), 0, size); in setup_bios_corruption_check() 121 unsigned long *addr = __va(scan_areas[i].addr); in check_for_bios_corruption()
|
/arch/ia64/include/asm/uv/ |
D | uv_hub.h | 168 return __va(gpa & uv_hub_info->gpa_mask); in uv_va() 174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr() 185 return __va(UV_GLOBAL_MMR32_BASE | in uv_global_mmr32_address() 208 return __va(UV_GLOBAL_MMR64_BASE | in uv_global_mmr64_address() 230 return __va(UV_LOCAL_MMR_BASE | offset); in uv_local_mmr_address()
|
/arch/powerpc/kernel/ |
D | setup_32.c | 125 early_init_devtree(__va(dt_ptr)); in machine_init() 243 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 245 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 261 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 264 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 266 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
|
/arch/cris/include/arch-v10/arch/ |
D | page.h | 22 #define __va(x) ((void *)((unsigned long)(x) | 0x20000000)) macro 26 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000)) macro
|
/arch/cris/include/arch-v32/arch/ |
D | page.h | 16 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000)) macro 19 #define __va(x) ((void *)((unsigned long)(x) | 0xc0000000)) macro
|
/arch/ia64/kernel/ |
D | efi.c | 64 ret = efi_call_##prefix((efi_get_time_t *) __va(runtime->get_time), \ 78 ret = efi_call_##prefix((efi_set_time_t *) __va(runtime->set_time), \ 94 (efi_get_wakeup_time_t *) __va(runtime->get_wakeup_time), \ 112 (efi_set_wakeup_time_t *) __va(runtime->set_wakeup_time), \ 131 (efi_get_variable_t *) __va(runtime->get_variable), \ 148 (efi_get_next_variable_t *) __va(runtime->get_next_variable), \ 165 (efi_set_variable_t *) __va(runtime->set_variable), \ 181 __va(runtime->get_next_high_mono_count), \ 200 (efi_reset_system_t *) __va(runtime->reset_system), \ 348 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_get_pal_addr() [all …]
|
D | esi.c | 58 config_tables = __va(efi.systab->tables); in esi_init() 70 systab = __va(esi); in esi_init() 121 pdesc.addr = __va(esi->esi_proc); in ia64_esi_call() 122 pdesc.gp = __va(esi->gp); in ia64_esi_call()
|
D | setup.c | 299 (unsigned long)__va(base); in setup_crashkernel() 301 (unsigned long)__va(base + size); in setup_crashkernel() 339 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in reserve_memory() 343 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory() 345 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory() 356 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in reserve_memory() 396 initrd_start = (unsigned long)__va(ia64_boot_param->initrd_start); in find_initrd() 525 *start = (unsigned long)__va(elfcorehdr_addr); in reserve_elfcorehdr() 541 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch() 583 ia64_sal_init(__va(efi.sal_systab)); in setup_arch()
|
/arch/um/include/asm/ |
D | io.h | 22 return __va(address); in phys_to_virt() 29 #define xlate_dev_mem_ptr(p) __va(p)
|
/arch/x86/include/asm/uv/ |
D | uv_hub.h | 227 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr() 246 return __va(UV_GLOBAL_MMR32_BASE | in uv_global_mmr32_address() 269 return __va(UV_GLOBAL_MMR64_BASE | in uv_global_mmr64_address() 291 return __va(UV_LOCAL_MMR_BASE | offset); in uv_local_mmr_address()
|
/arch/powerpc/mm/ |
D | init_32.c | 199 p = __va(lmb_alloc_base(PAGE_SIZE, PAGE_SIZE, in early_get_page() 271 if ( 0xfffffffful - (unsigned long)__va(base) < size) { in setup_kcore() 272 size = 0xfffffffful - (unsigned long)(__va(base)); in setup_kcore() 277 kclist_add(kcore_mem, __va(base), size); in setup_kcore()
|
/arch/sparc/include/asm/ |
D | page_64.h | 119 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) macro 121 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) 128 #define phys_to_virt __va
|
/arch/m68k/include/asm/ |
D | motorola_pgtable.h | 124 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) 125 #define __pmd_page(pmd) ((unsigned long)__va(pmd_val(pmd) & _TABLE_MASK)) 126 #define __pgd_page(pgd) ((unsigned long)__va(pgd_val(pgd) & _TABLE_MASK)) 133 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) 146 #define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd))) 153 #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT))
|
D | page_mm.h | 131 static inline void *__va(unsigned long paddr) in __va() function 155 static inline void *__va(unsigned long x) in __va() function 174 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|
D | page_no.h | 58 #define __va(paddr) phys_to_virt((unsigned long)(paddr)) macro 61 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/sh/include/asm/ |
D | page.h | 134 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET-__MEMORY_START)) macro 137 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro 140 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/x86/include/asm/ |
D | page.h | 186 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro 188 #define __boot_va(x) __va(x) 196 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/h8300/include/asm/ |
D | page.h | 58 #define __va(paddr) phys_to_virt((unsigned long)paddr) macro 61 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/x86/kernel/cpu/ |
D | bugs_64.c | 32 set_memory_4k((unsigned long)__va(0), 1); in check_bugs()
|
/arch/blackfin/include/asm/ |
D | page.h | 67 #define __va(paddr) phys_to_virt((unsigned long)(paddr)) macro 72 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/alpha/include/asm/ |
D | mmzone.h | 67 ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \ 97 kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \
|
/arch/ia64/sn/kernel/ |
D | setup.c | 170 efi_systab = (efi_system_table_t *) __va(ia64_boot_param->efi_systab); in early_sn_setup() 171 config_tables = __va(efi_systab->tables); in early_sn_setup() 175 sal_systab = __va(config_tables[i].table); in early_sn_setup() 181 ia64_sal_handler_init(__va in early_sn_setup() 183 __va(ep->gp)); in early_sn_setup() 329 pcdp = __va(efi.hcdp); in sn_scan_pcdp()
|
/arch/arm/mm/ |
D | mmu.c | 675 if (__va(bank->start) < VMALLOC_MIN && in sanity_check_meminfo() 676 bank->size > VMALLOC_MIN - __va(bank->start)) { in sanity_check_meminfo() 685 bank[1].size -= VMALLOC_MIN - __va(bank->start); in sanity_check_meminfo() 689 bank->size = VMALLOC_MIN - __va(bank->start); in sanity_check_meminfo() 696 if (__va(bank->start) >= VMALLOC_MIN || in sanity_check_meminfo() 697 __va(bank->start) < PAGE_OFFSET) { in sanity_check_meminfo() 708 if (__va(bank->start + bank->size) > VMALLOC_MIN || in sanity_check_meminfo() 709 __va(bank->start + bank->size) < __va(bank->start)) { in sanity_check_meminfo() 710 unsigned long newsize = VMALLOC_MIN - __va(bank->start); in sanity_check_meminfo()
|