/Linux-v5.4/arch/x86/mm/ |
D | iomap_32.c | 57 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()
|
D | highmem_32.c | 47 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/ |
D | highmem.c | 59 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()
|
D | pgtable-32.c | 74 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in pagetable_init()
|
/Linux-v5.4/arch/arm/mm/ |
D | highmem.c | 20 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/ |
D | highmem.c | 45 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()
|
D | mem.c | 220 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/ |
D | highmem.c | 49 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/ |
D | highmem.c | 51 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/ |
D | highmem.c | 44 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/ |
D | fixmap.h | 53 #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/ |
D | fixmap.h | 51 #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/ |
D | kmap.c | 27 vaddr = __fix_to_virt(FIX_CMAP_BEGIN); in kmap_coherent_init() 45 vaddr = __fix_to_virt(idx); in kmap_coherent()
|
D | init.c | 104 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/ |
D | fixmap.c | 15 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/ |
D | highmem.c | 52 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic() 92 kmap_vstart = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
|
D | mmu.c | 56 init_pmd(__fix_to_virt(0), __end_of_fixed_addresses); in fixedrange_init()
|
/Linux-v5.4/include/asm-generic/ |
D | fixmap.h | 21 #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/ |
D | init.c | 162 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/ |
D | fixmap.h | 42 #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) macro
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | vaddrs.h | 54 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
|
/Linux-v5.4/arch/nds32/mm/ |
D | init.c | 112 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in fixedrange_init() 258 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
|
D | highmem.c | 50 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic()
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | fixmap.h | 68 #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT))
|
/Linux-v5.4/arch/arm64/mm/ |
D | mmu.c | 841 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()
|