Home
last modified time | relevance | path

Searched refs:__fix_to_virt (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v5.4/arch/x86/mm/
Diomap_32.c57 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_prot_pfn()
93 if (vaddr >= __fix_to_virt(FIX_KMAP_END) && in iounmap_atomic()
94 vaddr <= __fix_to_virt(FIX_KMAP_BEGIN)) { in iounmap_atomic()
101 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in iounmap_atomic()
Dhighmem_32.c47 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_prot()
76 if (vaddr >= __fix_to_virt(FIX_KMAP_END) && in __kunmap_atomic()
77 vaddr <= __fix_to_virt(FIX_KMAP_BEGIN)) { in __kunmap_atomic()
84 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
/Linux-v5.4/arch/mips/mm/
Dhighmem.c59 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic()
86 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
116 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_pfn()
128 kmap_vstart = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
Dpgtable-32.c74 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in pagetable_init()
/Linux-v5.4/arch/arm/mm/
Dhighmem.c20 unsigned long vaddr = __fix_to_virt(idx); in set_fixmap_pte()
80 vaddr = __fix_to_virt(idx); in kmap_atomic()
111 BUG_ON(vaddr != __fix_to_virt(idx)); in __kunmap_atomic()
139 vaddr = __fix_to_virt(idx); in kmap_atomic_pfn()
/Linux-v5.4/arch/powerpc/mm/
Dhighmem.c45 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_prot()
58 if (vaddr < __fix_to_virt(FIX_KMAP_END)) { in __kunmap_atomic()
69 WARN_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
Dmem.c220 unsigned long v = __fix_to_virt(__end_of_fixed_addresses - 1); in paging_init()
221 unsigned long end = __fix_to_virt(FIX_HOLE); in paging_init()
231 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in paging_init()
/Linux-v5.4/arch/microblaze/mm/
Dhighmem.c49 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_prot()
66 if (vaddr < __fix_to_virt(FIX_KMAP_END)) { in __kunmap_atomic()
76 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
/Linux-v5.4/arch/csky/mm/
Dhighmem.c51 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic()
73 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
100 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_pfn()
176 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in fixaddr_kmap_pages_init()
200 vaddr = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
/Linux-v5.4/arch/sparc/mm/
Dhighmem.c44 address = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
64 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic()
106 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN+idx)); in __kunmap_atomic()
/Linux-v5.4/arch/openrisc/include/asm/
Dfixmap.h53 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
75 return __fix_to_virt(idx); in fix_to_virt()
/Linux-v5.4/arch/xtensa/include/asm/
Dfixmap.h51 #define __fix_to_virt(x) (FIXADDR_START + ((x) << PAGE_SHIFT)) macro
68 return __fix_to_virt(idx); in fix_to_virt()
/Linux-v5.4/arch/sh/mm/
Dkmap.c27 vaddr = __fix_to_virt(FIX_CMAP_BEGIN); in kmap_coherent_init()
45 vaddr = __fix_to_virt(idx); in kmap_coherent()
Dinit.c104 unsigned long address = __fix_to_virt(idx); in __set_fixmap()
116 unsigned long address = __fix_to_virt(idx); in __clear_fixmap()
329 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in paging_init()
/Linux-v5.4/arch/parisc/mm/
Dfixmap.c15 unsigned long vaddr = __fix_to_virt(idx); in set_fixmap()
33 unsigned long vaddr = __fix_to_virt(idx); in clear_fixmap()
/Linux-v5.4/arch/xtensa/mm/
Dhighmem.c52 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic()
92 kmap_vstart = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
Dmmu.c56 init_pmd(__fix_to_virt(0), __end_of_fixed_addresses); in fixedrange_init()
/Linux-v5.4/include/asm-generic/
Dfixmap.h21 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
33 return __fix_to_virt(idx); in fix_to_virt()
/Linux-v5.4/arch/riscv/mm/
Dinit.c162 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
397 end_va = __fix_to_virt(FIX_FDT) + FIX_FDT_SIZE; in setup_vm()
398 for (va = __fix_to_virt(FIX_FDT); va < end_va; va += PAGE_SIZE) in setup_vm()
400 dtb_pa + (va - __fix_to_virt(FIX_FDT)), in setup_vm()
/Linux-v5.4/arch/parisc/include/asm/
Dfixmap.h42 #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) macro
/Linux-v5.4/arch/sparc/include/asm/
Dvaddrs.h54 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
/Linux-v5.4/arch/nds32/mm/
Dinit.c112 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in fixedrange_init()
258 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
Dhighmem.c50 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic()
/Linux-v5.4/arch/arm64/include/asm/
Dfixmap.h68 #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT))
/Linux-v5.4/arch/arm64/mm/
Dmmu.c841 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_fixmap_init()
842 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in early_fixmap_init()
867 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
884 const u64 dt_virt_base = __fix_to_virt(FIX_FDT); in fixmap_remap_fdt()
911 BUILD_BUG_ON(__fix_to_virt(FIX_FDT_END) >> SWAPPER_TABLE_SHIFT != in fixmap_remap_fdt()
912 __fix_to_virt(FIX_BTMAP_BEGIN) >> SWAPPER_TABLE_SHIFT); in fixmap_remap_fdt()

123