Home
last modified time | relevance | path

Searched refs:virt (Results 1 – 25 of 64) sorted by relevance

123

/arch/m68k/mm/
Dsun3kmap.c30 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument
40 sun3_put_pte(virt, pte); in do_page_mapin()
43 print_pte_vaddr(virt); in do_page_mapin()
48 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, in do_pmeg_mapin() argument
52 if(sun3_get_segmap(virt & ~SUN3_PMEG_MASK) == SUN3_INVALID_PMEG) in do_pmeg_mapin()
53 mmu_emu_map_pmeg(sun3_get_context(), virt); in do_pmeg_mapin()
56 do_page_mapin(phys, virt, type); in do_pmeg_mapin()
58 virt += PAGE_SIZE; in do_pmeg_mapin()
67 unsigned long offset, virt, ret; in sun3_ioremap() local
88 virt = (unsigned long)area->addr; in sun3_ioremap()
[all …]
/arch/arm/mm/
Dmm.h9 static inline pmd_t *pmd_off(pgd_t *pgd, unsigned long virt) in pmd_off() argument
11 return pmd_offset(pgd, virt); in pmd_off()
14 static inline pmd_t *pmd_off_k(unsigned long virt) in pmd_off_k() argument
16 return pmd_off(pgd_offset_k(virt), virt); in pmd_off_k()
Dioremap.c139 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections() argument
141 unsigned long addr = virt, end = virt + (size & ~(SZ_1M - 1)); in unmap_area_sections()
179 flush_tlb_kernel_range(virt, end); in unmap_area_sections()
183 remap_area_sections(unsigned long virt, unsigned long pfn, in remap_area_sections() argument
186 unsigned long addr = virt, end = virt + size; in remap_area_sections()
193 unmap_area_sections(virt, size); in remap_area_sections()
213 remap_area_supersections(unsigned long virt, unsigned long pfn, in remap_area_supersections() argument
216 unsigned long addr = virt, end = virt + size; in remap_area_supersections()
223 unmap_area_sections(virt, size); in remap_area_supersections()
225 pgd = pgd_offset_k(virt); in remap_area_supersections()
/arch/ia64/include/asm/xen/
Dpage.h45 static inline unsigned long virt_to_mfn(void *virt) in virt_to_mfn() argument
47 return __pa(virt) >> PAGE_SHIFT; in virt_to_mfn()
51 static inline unsigned long virt_to_machine(void *virt) in virt_to_machine() argument
53 return __pa(virt); in virt_to_machine()
/arch/ia64/xen/
Dgrant-table.c36 unsigned long virt; in xen_alloc_vm_area() local
41 virt = __get_free_pages(GFP_KERNEL, order); in xen_alloc_vm_area()
42 if (virt == 0) in xen_alloc_vm_area()
45 scrub_pages(virt, nr_pages); in xen_alloc_vm_area()
52 area->addr = (void *)virt; in xen_alloc_vm_area()
61 free_pages(virt, order); in xen_alloc_vm_area()
/arch/x86/pci/
Dmmconfig_64.c18 char __iomem *virt; member
32 return pci_mmcfg_virt[cfg_num].virt; in get_virt()
138 pci_mmcfg_virt[i].virt = mcfg_ioremap(&pci_mmcfg_config[i]); in pci_mmcfg_arch_init()
139 if (!pci_mmcfg_virt[i].virt) { in pci_mmcfg_arch_init()
159 if (pci_mmcfg_virt[i].virt) { in pci_mmcfg_arch_free()
160 iounmap(pci_mmcfg_virt[i].virt); in pci_mmcfg_arch_free()
161 pci_mmcfg_virt[i].virt = NULL; in pci_mmcfg_arch_free()
/arch/xtensa/mm/
Dcache.c90 unsigned long virt; in flush_dcache_page() local
104 virt = TLBTEMP_BASE_1 + (temp & DCACHE_ALIAS_MASK); in flush_dcache_page()
107 __flush_invalidate_dcache_page_alias(virt, phys); in flush_dcache_page()
110 __invalidate_icache_page_alias(virt, phys); in flush_dcache_page()
141 unsigned long virt = TLBTEMP_BASE_1 + (address & DCACHE_ALIAS_MASK); in flush_cache_page() local
143 __flush_invalidate_dcache_page_alias(virt, phys); in flush_cache_page()
144 __invalidate_icache_page_alias(virt, phys); in flush_cache_page()
/arch/x86/crypto/
Dsalsa20_glue.c69 salsa20_encrypt_bytes(ctx, walk.src.virt.addr, in encrypt()
70 walk.dst.virt.addr, nbytes); in encrypt()
75 salsa20_encrypt_bytes(ctx, walk.src.virt.addr, in encrypt()
76 walk.dst.virt.addr, in encrypt()
82 salsa20_encrypt_bytes(ctx, walk.src.virt.addr, in encrypt()
83 walk.dst.virt.addr, walk.nbytes); in encrypt()
/arch/powerpc/boot/
Doflib.c147 void *of_claim(unsigned long virt, unsigned long size, unsigned long align) in of_claim() argument
155 return (void *) of_call_prom("claim", 3, 1, virt, size, align); in of_claim()
158 align, size, virt); in of_claim()
162 align, size, virt); in of_claim()
165 0x12, size, virt, virt); in of_claim()
166 return (void *) virt; in of_claim()
/arch/um/kernel/
Dphysmem.c58 void map_memory(unsigned long virt, unsigned long phys, unsigned long len, in map_memory() argument
65 err = os_map_memory((void *) virt, fd, offset, len, r, w, x); in map_memory()
72 "err = %d\n", virt, fd, offset, len, r, w, x, err); in map_memory()
179 return region->virt; in find_iomem()
201 region->virt = iomem_start; in setup_iomem()
202 region->phys = __pa(region->virt); in setup_iomem()
/arch/x86/kvm/
DMakefile5 common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
8 common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
11 common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
/arch/um/include/shared/
Dmem.h12 static inline unsigned long to_phys(void *virt) in to_phys() argument
14 return(((unsigned long) virt) - uml_physmem); in to_phys()
Dmem_user.h41 unsigned long virt; member
59 extern void map_memory(unsigned long virt, unsigned long phys,
/arch/blackfin/include/asm/
Dirq.h112 static inline unsigned long raw_mangle_irq_bits(int virt, unsigned long real) in raw_mangle_irq_bits() argument
116 return (real & ~(1 << 31)) | ((virt != 0) << 31); in raw_mangle_irq_bits()
121 int virt = (*x & (1 << 31)) != 0; in raw_demangle_irq_bits() local
123 return virt; in raw_demangle_irq_bits()
/arch/powerpc/kvm/
DMakefile7 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
9 common-objs-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
/arch/sh/mm/
Dpg-sh7705.c29 static inline void __flush_purge_virtual_region(void *p1, void *virt, int size) in __flush_purge_virtual_region() argument
36 begin = L1_CACHE_ALIGN((unsigned long)virt); in __flush_purge_virtual_region()
37 end = L1_CACHE_ALIGN((unsigned long)virt + size); in __flush_purge_virtual_region()
/arch/powerpc/mm/
D44x_mmu.c64 static void __init ppc44x_pin_tlb(unsigned int virt, unsigned int phys) in ppc44x_pin_tlb() argument
77 "r" (virt | PPC44x_TLB_VALID | PPC44x_TLB_256M), in ppc44x_pin_tlb()
Dppc_mmu_32.c119 void __init setbat(int index, unsigned long virt, phys_addr_t phys, in setbat() argument
137 bat[1].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ in setbat()
158 bat->batu = virt | wimgxpp | 4; /* Ks=0, Ku=1 */ in setbat()
162 bat_addrs[index].start = virt; in setbat()
163 bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; in setbat()
Dfsl_booke_mmu.c104 void settlbcam(int index, unsigned long virt, phys_addr_t phys, in settlbcam() argument
119 TLBCAM[index].MAS2 = virt & PAGE_MASK; in settlbcam()
140 tlbcam_addrs[index].start = virt; in settlbcam()
141 tlbcam_addrs[index].limit = virt + size - 1; in settlbcam()
Dmmu_decl.h89 extern void setbat(int index, unsigned long virt, phys_addr_t phys,
91 extern void settlbcam(int index, unsigned long virt, phys_addr_t phys,
/arch/x86/include/asm/
Dhighmem.h54 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) argument
/arch/mips/include/asm/
Dhighmem.h44 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) argument
/arch/sparc/include/asm/
Dhighmem.h49 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) argument
/arch/arm/kernel/
Dhead-common.S98 sub r4, r3, r4 @ get offset between virt&phys
99 add r5, r5, r4 @ convert virt addresses to
159 sub r3, r3, r7 @ get offset between virt&phys
160 add r5, r5, r3 @ convert virt addresses to
208 sub r3, r3, r4 @ get offset between virt&phys
209 add r5, r5, r3 @ convert virt addresses to
/arch/powerpc/sysdev/
Dfsl_rio.c138 void *virt; member
143 void *virt; member
153 void *virt; member
358 struct rio_tx_desc *desc = (struct rio_tx_desc *)priv->msg_tx_ring.virt in rio_hw_add_outb_message()
504 priv->msg_tx_ring.virt = dma_alloc_coherent(NULL, in rio_open_outb_mbox()
507 if (!priv->msg_tx_ring.virt) { in rio_open_outb_mbox()
511 memset(priv->msg_tx_ring.virt, 0, in rio_open_outb_mbox()
553 priv->msg_tx_ring.virt, priv->msg_tx_ring.phys); in rio_open_outb_mbox()
580 priv->msg_tx_ring.virt, priv->msg_tx_ring.phys); in rio_close_outb_mbox()
657 priv->msg_rx_ring.virt = dma_alloc_coherent(NULL, in rio_open_inb_mbox()
[all …]

123