Home
last modified time | relevance | path

Searched refs:virt_addr (Results 1 – 25 of 26) sorted by relevance

12

/arch/powerpc/include/asm/
Dedac.h21 unsigned int *virt_addr = va; in edac_atomic_scrub() local
25 for (i = 0; i < size / sizeof(*virt_addr); i++, virt_addr++) { in edac_atomic_scrub()
35 : "r"(virt_addr) in edac_atomic_scrub()
Dps3.h113 unsigned long virt_addr,
135 int ps3_dma_map(struct ps3_dma_region *r, unsigned long virt_addr,
/arch/arm/include/asm/
Dedac.h29 unsigned int *virt_addr = va; in edac_atomic_scrub() local
33 for (i = 0; i < size / sizeof(*virt_addr); i++, virt_addr++) { in edac_atomic_scrub()
43 : "r"(virt_addr) in edac_atomic_scrub()
/arch/mips/include/asm/
Dedac.h10 unsigned long *virt_addr = va; in edac_atomic_scrub() local
29 : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*virt_addr) in edac_atomic_scrub()
30 : GCC_OFF_SMALL_ASM() (*virt_addr)); in edac_atomic_scrub()
32 virt_addr++; in edac_atomic_scrub()
/arch/x86/include/asm/
Dedac.h8 u32 i, *virt_addr = va; in edac_atomic_scrub() local
14 for (i = 0; i < size / 4; i++, virt_addr++) in edac_atomic_scrub()
15 asm volatile("lock; addl $0, %0"::"m" (*virt_addr)); in edac_atomic_scrub()
/arch/x86/boot/compressed/
Dmisc.c174 unsigned long virt_addr) in handle_relocations() argument
202 delta = virt_addr - LOAD_PHYSICAL_ADDR; in handle_relocations()
264 unsigned long virt_addr) in handle_relocations() argument
345 unsigned long virt_addr = LOAD_PHYSICAL_ADDR; in extract_kernel() local
387 &virt_addr); in extract_kernel()
392 if (virt_addr & (MIN_KERNEL_ALIGN - 1)) in extract_kernel()
404 if (virt_addr != LOAD_PHYSICAL_ADDR) in extract_kernel()
412 handle_relocations(output, output_len, virt_addr); in extract_kernel()
Dmisc.h75 unsigned long *virt_addr);
83 unsigned long *virt_addr) in choose_random_location() argument
Dkaslr.c429 unsigned long *virt_addr) in choose_random_location() argument
478 *virt_addr = random_addr; in choose_random_location()
/arch/powerpc/platforms/ps3/
Dmm.c783 static int dma_sb_map_area(struct ps3_dma_region *r, unsigned long virt_addr, in dma_sb_map_area() argument
790 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area()
791 : virt_addr; in dma_sb_map_area()
801 virt_addr); in dma_sb_map_area()
838 static int dma_ioc0_map_area(struct ps3_dma_region *r, unsigned long virt_addr, in dma_ioc0_map_area() argument
845 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_ioc0_map_area()
846 : virt_addr; in dma_ioc0_map_area()
852 virt_addr, len); in dma_ioc0_map_area()
880 virt_addr, phys_addr, aligned_phys, *bus_addr); in dma_ioc0_map_area()
982 unsigned long virt_addr, len; in dma_sb_region_create_linear() local
[all …]
Dsystem-bus.c523 unsigned long virt_addr; in ps3_alloc_coherent() local
528 virt_addr = __get_free_pages(flag, get_order(size)); in ps3_alloc_coherent()
530 if (!virt_addr) { in ps3_alloc_coherent()
535 result = ps3_dma_map(dev->d_region, virt_addr, size, dma_handle, in ps3_alloc_coherent()
546 return (void*)virt_addr; in ps3_alloc_coherent()
549 free_pages(virt_addr, get_order(size)); in ps3_alloc_coherent()
/arch/m68k/include/asm/
Doplib.h59 extern void prom_unmapio(char *virt_addr, unsigned int num_bytes);
200 extern void prom_free(char *virt_addr, unsigned int size);
207 extern void prom_putsegment(int context, unsigned long virt_addr,
/arch/powerpc/mm/
Dinit_64.c239 vmem_back->virt_addr = start; in vmemmap_list_populate()
291 if (vmem_back->virt_addr == start) in vmemmap_list_free()
389 if (pg_va < vmem_back->virt_addr) in realmode_pfn_to_page()
394 (vmem_back->virt_addr + page_size)) { in realmode_pfn_to_page()
396 vmem_back->virt_addr); in realmode_pfn_to_page()
/arch/arm/kernel/
Defi.c33 base = md->virt_addr; in efi_set_mapping_permissions()
52 .virtual = md->virt_addr, in efi_create_mapping()
/arch/arm64/kernel/
Defi.c82 create_pgd_mapping(mm, md->phys_addr, md->virt_addr, in efi_create_mapping()
115 return apply_to_page_range(mm, md->virt_addr, in efi_set_mapping_permissions()
/arch/ia64/kernel/
Derr_inject.c142 u64 virt_addr=simple_strtoull(buf, NULL, 16); in store_virtual_to_phys() local
145 ret = get_user_pages(virt_addr, 1, FOLL_WRITE, NULL, NULL); in store_virtual_to_phys()
148 printk("Virtual address %lx is not existing.\n",virt_addr); in store_virtual_to_phys()
153 phys_addr[cpu] = ia64_tpa(virt_addr); in store_virtual_to_phys()
Defi.c620 md->virt_addr = (u64) __va(md->phys_addr); in efi_enter_virtual_mode()
622 md->virt_addr = (u64) ioremap(md->phys_addr, 0); in efi_enter_virtual_mode()
625 md->virt_addr = ia64_remap(md->phys_addr, in efi_enter_virtual_mode()
634 md->virt_addr = (u64) ioremap(md->phys_addr, 0); in efi_enter_virtual_mode()
638 md->virt_addr = ia64_remap(md->phys_addr, in efi_enter_virtual_mode()
647 md->virt_addr = (u64) ioremap(md->phys_addr, 0); in efi_enter_virtual_mode()
/arch/x86/platform/efi/
Defi_64.c351 md->virt_addr = md->phys_addr; in efi_map_region()
378 md->virt_addr = efi_va; in efi_map_region()
389 __map_region(md, md->virt_addr); in efi_map_region_fixed()
453 md->phys_addr, md->virt_addr); in efi_runtime_update_mappings()
455 if (kernel_map_pages_in_pgd(pgd, pfn, md->virt_addr, md->num_pages, pf)) in efi_runtime_update_mappings()
457 md->phys_addr, md->virt_addr); in efi_runtime_update_mappings()
Defi.c554 addr = md->virt_addr; in efi_set_executable()
608 md->virt_addr = (u64) (unsigned long) va; in old_map_region()
654 systab += md->virt_addr - md->phys_addr; in get_systab_virt_addr()
/arch/sparc/mm/
Dsrmmu.c489 unsigned long virt_addr, int bus_type) in srmmu_mapioaddr() argument
497 pgdp = pgd_offset_k(virt_addr); in srmmu_mapioaddr()
498 pmdp = pmd_offset(pgdp, virt_addr); in srmmu_mapioaddr()
499 ptep = pte_offset_kernel(pmdp, virt_addr); in srmmu_mapioaddr()
508 __flush_page_to_ram(virt_addr); in srmmu_mapioaddr()
524 static inline void srmmu_unmapioaddr(unsigned long virt_addr) in srmmu_unmapioaddr() argument
530 pgdp = pgd_offset_k(virt_addr); in srmmu_unmapioaddr()
531 pmdp = pmd_offset(pgdp, virt_addr); in srmmu_unmapioaddr()
532 ptep = pte_offset_kernel(pmdp, virt_addr); in srmmu_unmapioaddr()
538 void srmmu_unmapiorange(unsigned long virt_addr, unsigned int len) in srmmu_unmapiorange() argument
[all …]
/arch/arm/kvm/
Dmmu.c679 unsigned long virt_addr; in create_hyp_mappings() local
689 for (virt_addr = start; virt_addr < end; virt_addr += PAGE_SIZE) { in create_hyp_mappings()
692 phys_addr = kvm_kaddr_to_phys(from + virt_addr - start); in create_hyp_mappings()
693 err = __create_hyp_mappings(hyp_pgd, virt_addr, in create_hyp_mappings()
694 virt_addr + PAGE_SIZE, in create_hyp_mappings()
/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h17 unsigned long virt_addr; member
/arch/powerpc/include/asm/nohash/64/
Dpgalloc.h17 unsigned long virt_addr; member
/arch/powerpc/kernel/
Dmachine_kexec.c86 VMCOREINFO_OFFSET(vmemmap_backing, virt_addr); in arch_crash_save_vmcoreinfo()
/arch/x86/mm/
Dpageattr.c423 unsigned long virt_addr = (unsigned long)__virt_addr; in slow_virt_to_phys() local
429 pte = lookup_address(virt_addr, &level); in slow_virt_to_phys()
440 offset = virt_addr & ~PUD_PAGE_MASK; in slow_virt_to_phys()
444 offset = virt_addr & ~PMD_PAGE_MASK; in slow_virt_to_phys()
448 offset = virt_addr & ~PAGE_MASK; in slow_virt_to_phys()
/arch/ia64/hp/sim/boot/
Dfw-emu.c251 md->virt_addr = 0; \ in sys_fw_init()

12