kaddr 80 arch/alpha/boot/bootpz.c unsigned long vaddr, kaddr; kaddr 89 arch/alpha/boot/bootpz.c kaddr = (find_pa(vaddr) | PAGE_OFFSET); kaddr 90 arch/alpha/boot/bootpz.c if (kaddr >= kstart && kaddr <= kend) kaddr 95 arch/alpha/boot/bootpz.c vaddr, kaddr, kstart, kend); kaddr 59 arch/alpha/include/asm/mmzone.h #define kvaddr_to_nid(kaddr) pa_to_nid(__pa(kaddr)) kaddr 66 arch/alpha/include/asm/mmzone.h #define LOCAL_BASE_ADDR(kaddr) \ kaddr 67 arch/alpha/include/asm/mmzone.h ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \ kaddr 71 arch/alpha/include/asm/mmzone.h #define kern_addr_valid(kaddr) (0) kaddr 73 arch/alpha/include/asm/mmzone.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 109 arch/alpha/include/asm/mmzone.h #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT)) kaddr 87 arch/alpha/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 90 arch/alpha/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 83 arch/arc/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 101 arch/arc/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) kaddr 102 arch/arc/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr)) kaddr 477 arch/arm/include/asm/cacheflush.h void *kaddr, unsigned long len); kaddr 48 arch/arm/include/asm/kvm_mmu.h void __iomem **kaddr, kaddr 259 arch/arm/include/asm/memory.h #define virt_to_pfn(kaddr) \ kaddr 260 arch/arm/include/asm/memory.h ((((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT) + \ kaddr 364 arch/arm/include/asm/memory.h #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) kaddr 365 arch/arm/include/asm/memory.h #define virt_addr_valid(kaddr) (((unsigned long)(kaddr) >= PAGE_OFFSET && (unsigned long)(kaddr) < (unsigned long)high_memory) \ kaddr 366 arch/arm/include/asm/memory.h && pfn_valid(virt_to_pfn(kaddr))) kaddr 479 arch/arm/include/asm/tlbflush.h static inline void __local_flush_tlb_kernel_page(unsigned long kaddr) kaddr 484 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V4_U_PAGE, "c8, c7, 1", kaddr); kaddr 485 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V4_D_PAGE, "c8, c6, 1", kaddr); kaddr 486 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V4_I_PAGE, "c8, c5, 1", kaddr); kaddr 490 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V6_U_PAGE, "c8, c7, 1", kaddr); kaddr 491 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V6_D_PAGE, "c8, c6, 1", kaddr); kaddr 492 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V6_I_PAGE, "c8, c5, 1", kaddr); kaddr 495 arch/arm/include/asm/tlbflush.h static inline void local_flush_tlb_kernel_page(unsigned long kaddr) kaddr 499 arch/arm/include/asm/tlbflush.h kaddr &= PAGE_MASK; kaddr 504 arch/arm/include/asm/tlbflush.h __local_flush_tlb_kernel_page(kaddr); kaddr 505 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V7_UIS_PAGE, "c8, c7, 1", kaddr); kaddr 513 arch/arm/include/asm/tlbflush.h static inline void __flush_tlb_kernel_page(unsigned long kaddr) kaddr 517 arch/arm/include/asm/tlbflush.h kaddr &= PAGE_MASK; kaddr 522 arch/arm/include/asm/tlbflush.h __local_flush_tlb_kernel_page(kaddr); kaddr 523 arch/arm/include/asm/tlbflush.h tlb_op(TLB_V7_UIS_PAGE, "c8, c3, 1", kaddr); kaddr 619 arch/arm/include/asm/tlbflush.h extern void flush_tlb_kernel_page(unsigned long kaddr); kaddr 651 arch/arm/include/asm/tlbflush.h static inline void local_flush_tlb_kernel_page(unsigned long kaddr) { } kaddr 659 arch/arm/include/asm/tlbflush.h extern void flush_tlb_kernel_page(unsigned long kaddr); kaddr 209 arch/arm/kernel/smp_tlb.c void flush_tlb_kernel_page(unsigned long kaddr) kaddr 213 arch/arm/kernel/smp_tlb.c ta.ta_start = kaddr; kaddr 216 arch/arm/kernel/smp_tlb.c __flush_tlb_kernel_page(kaddr); kaddr 57 arch/arm/mm/copypage-fa.c void *ptr, *kaddr = kmap_atomic(page); kaddr 74 arch/arm/mm/copypage-fa.c : "0" (kaddr), "I" (PAGE_SIZE / 32) kaddr 76 arch/arm/mm/copypage-fa.c kunmap_atomic(kaddr); kaddr 80 arch/arm/mm/copypage-feroceon.c void *ptr, *kaddr = kmap_atomic(page); kaddr 98 arch/arm/mm/copypage-feroceon.c : "0" (kaddr), "I" (PAGE_SIZE / 32) kaddr 100 arch/arm/mm/copypage-feroceon.c kunmap_atomic(kaddr); kaddr 88 arch/arm/mm/copypage-v4mc.c void *ptr, *kaddr = kmap_atomic(page); kaddr 104 arch/arm/mm/copypage-v4mc.c : "0" (kaddr), "I" (PAGE_SIZE / 64) kaddr 106 arch/arm/mm/copypage-v4mc.c kunmap_atomic(kaddr); kaddr 67 arch/arm/mm/copypage-v4wb.c void *ptr, *kaddr = kmap_atomic(page); kaddr 84 arch/arm/mm/copypage-v4wb.c : "0" (kaddr), "I" (PAGE_SIZE / 64) kaddr 86 arch/arm/mm/copypage-v4wb.c kunmap_atomic(kaddr); kaddr 62 arch/arm/mm/copypage-v4wt.c void *ptr, *kaddr = kmap_atomic(page); kaddr 77 arch/arm/mm/copypage-v4wt.c : "0" (kaddr), "I" (PAGE_SIZE / 64) kaddr 79 arch/arm/mm/copypage-v4wt.c kunmap_atomic(kaddr); kaddr 48 arch/arm/mm/copypage-v6.c void *kaddr = kmap_atomic(page); kaddr 49 arch/arm/mm/copypage-v6.c clear_page(kaddr); kaddr 50 arch/arm/mm/copypage-v6.c kunmap_atomic(kaddr); kaddr 81 arch/arm/mm/copypage-xsc3.c void *ptr, *kaddr = kmap_atomic(page); kaddr 94 arch/arm/mm/copypage-xsc3.c : "0" (kaddr), "I" (PAGE_SIZE / 32) kaddr 96 arch/arm/mm/copypage-xsc3.c kunmap_atomic(kaddr); kaddr 109 arch/arm/mm/copypage-xscale.c void *ptr, *kaddr = kmap_atomic(page); kaddr 125 arch/arm/mm/copypage-xscale.c : "0" (kaddr), "I" (PAGE_SIZE / 32) kaddr 127 arch/arm/mm/copypage-xscale.c kunmap_atomic(kaddr); kaddr 128 arch/arm/mm/flush.c void __flush_ptrace_access(struct page *page, unsigned long uaddr, void *kaddr, kaddr 133 arch/arm/mm/flush.c unsigned long addr = (unsigned long)kaddr; kaddr 147 arch/arm/mm/flush.c unsigned long addr = (unsigned long)kaddr; kaddr 160 arch/arm/mm/flush.c unsigned long uaddr, void *kaddr, unsigned long len) kaddr 167 arch/arm/mm/flush.c __flush_ptrace_access(page, uaddr, kaddr, len, flags); kaddr 171 arch/arm/mm/flush.c void *kaddr, unsigned long len) kaddr 175 arch/arm/mm/flush.c __flush_ptrace_access(page, uaddr, kaddr, len, flags); kaddr 376 arch/arm64/include/asm/assembler.h .macro __dcache_op_workaround_clean_cache, op, kaddr kaddr 384 arch/arm64/include/asm/assembler.h .macro dcache_by_line_op op, domain, kaddr, size, tmp1, tmp2 kaddr 72 arch/arm64/include/asm/cacheflush.h extern void sync_icache_aliases(void *kaddr, unsigned long len); kaddr 149 arch/arm64/include/asm/kvm_mmu.h void __iomem **kaddr, kaddr 247 arch/arm64/include/asm/tlbflush.h static inline void __flush_tlb_kernel_pgtable(unsigned long kaddr) kaddr 249 arch/arm64/include/asm/tlbflush.h unsigned long addr = __TLBI_VADDR(kaddr, 0); kaddr 22 arch/arm64/mm/copypage.c void __cpu_clear_user_page(void *kaddr, unsigned long vaddr) kaddr 24 arch/arm64/mm/copypage.c clear_page(kaddr); kaddr 17 arch/arm64/mm/flush.c void sync_icache_aliases(void *kaddr, unsigned long len) kaddr 19 arch/arm64/mm/flush.c unsigned long addr = (unsigned long)kaddr; kaddr 22 arch/arm64/mm/flush.c __clean_dcache_area_pou(kaddr, len); kaddr 34 arch/arm64/mm/flush.c unsigned long uaddr, void *kaddr, kaddr 38 arch/arm64/mm/flush.c sync_icache_aliases(kaddr, len); kaddr 23 arch/csky/abiv2/cacheflush.c unsigned long kaddr; kaddr 25 arch/csky/abiv2/cacheflush.c kaddr = (unsigned long) kmap_atomic(page) + (vaddr & ~PAGE_MASK); kaddr 27 arch/csky/abiv2/cacheflush.c cache_wbinv_range(kaddr, kaddr + len); kaddr 29 arch/csky/abiv2/cacheflush.c kunmap_atomic((void *)kaddr); kaddr 37 arch/csky/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 40 arch/csky/include/asm/page.h #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && \ kaddr 41 arch/csky/include/asm/page.h (void *)(kaddr) < high_memory) kaddr 93 arch/hexagon/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(__pa(kaddr))) kaddr 100 arch/hexagon/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 130 arch/hexagon/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 96 arch/ia64/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 126 arch/ia64/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 20 arch/m68k/include/asm/dvma.h extern int dvma_map_iommu(unsigned long kaddr, unsigned long baddr, kaddr 27 arch/m68k/include/asm/dvma.h extern unsigned long dvma_map_align(unsigned long kaddr, int len, kaddr 61 arch/m68k/include/asm/dvma.h static inline int dvma_map_cpu(unsigned long kaddr, unsigned long vaddr, kaddr 81 arch/m68k/include/asm/dvma.h extern int dvma_map_cpu(unsigned long kaddr, unsigned long vaddr, int len); kaddr 124 arch/m68k/include/asm/page_mm.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 169 arch/m68k/include/asm/page_mm.h #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) kaddr 23 arch/m68k/include/asm/page_no.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 33 arch/m68k/include/asm/page_no.h #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \ kaddr 34 arch/m68k/include/asm/page_no.h ((void *)(kaddr) < (void *)memory_end)) kaddr 24 arch/m68k/sun3/dvma.c static unsigned long dvma_page(unsigned long kaddr, unsigned long vaddr) kaddr 30 arch/m68k/sun3/dvma.c j = *(volatile unsigned long *)kaddr; kaddr 31 arch/m68k/sun3/dvma.c *(volatile unsigned long *)kaddr = j; kaddr 33 arch/m68k/sun3/dvma.c ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); kaddr 41 arch/m68k/sun3/dvma.c return (vaddr + (kaddr & ~PAGE_MASK)); kaddr 45 arch/m68k/sun3/dvma.c int dvma_map_iommu(unsigned long kaddr, unsigned long baddr, kaddr 57 arch/m68k/sun3/dvma.c dvma_page(kaddr, vaddr); kaddr 58 arch/m68k/sun3/dvma.c kaddr += PAGE_SIZE; kaddr 284 arch/m68k/sun3/sun3dvma.c unsigned long dvma_map_align(unsigned long kaddr, int len, int align) kaddr 293 arch/m68k/sun3/sun3dvma.c if(!kaddr || !len) { kaddr 299 arch/m68k/sun3/sun3dvma.c pr_debug("dvma_map request %08x bytes from %08lx\n", len, kaddr); kaddr 300 arch/m68k/sun3/sun3dvma.c off = kaddr & ~DVMA_PAGE_MASK; kaddr 301 arch/m68k/sun3/sun3dvma.c kaddr &= PAGE_MASK; kaddr 313 arch/m68k/sun3/sun3dvma.c if(!dvma_map_iommu(kaddr, baddr, len)) kaddr 316 arch/m68k/sun3/sun3dvma.c pr_crit("dvma_map failed kaddr %lx baddr %lx len %x\n", kaddr, baddr, kaddr 341 arch/m68k/sun3/sun3dvma.c unsigned long kaddr; kaddr 351 arch/m68k/sun3/sun3dvma.c if((kaddr = __get_free_pages(GFP_ATOMIC, get_order(len))) == 0) kaddr 354 arch/m68k/sun3/sun3dvma.c if((baddr = (unsigned long)dvma_map_align(kaddr, len, align)) == 0) { kaddr 355 arch/m68k/sun3/sun3dvma.c free_pages(kaddr, get_order(len)); kaddr 361 arch/m68k/sun3/sun3dvma.c if(dvma_map_cpu(kaddr, vaddr, len) < 0) { kaddr 363 arch/m68k/sun3/sun3dvma.c free_pages(kaddr, get_order(len)); kaddr 367 arch/m68k/sun3/sun3dvma.c pr_debug("mapped %08lx bytes %08lx kern -> %08lx bus\n", len, kaddr, kaddr 79 arch/m68k/sun3x/dvma.c inline int dvma_map_cpu(unsigned long kaddr, kaddr 86 arch/m68k/sun3x/dvma.c kaddr &= PAGE_MASK; kaddr 91 arch/m68k/sun3x/dvma.c pr_debug("dvma: mapping kern %08lx to virt %08lx\n", kaddr, vaddr); kaddr 124 arch/m68k/sun3x/dvma.c __pa(kaddr), vaddr); kaddr 125 arch/m68k/sun3x/dvma.c set_pte(pte, pfn_pte(virt_to_pfn(kaddr), kaddr 128 arch/m68k/sun3x/dvma.c kaddr += PAGE_SIZE; kaddr 143 arch/m68k/sun3x/dvma.c inline int dvma_map_iommu(unsigned long kaddr, unsigned long baddr, kaddr 160 arch/m68k/sun3x/dvma.c dvma_entry_set(index, __pa(kaddr)); kaddr 165 arch/m68k/sun3x/dvma.c kaddr += DVMA_PAGE_SIZE; kaddr 153 arch/microblaze/include/asm/page.h # define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)) kaddr 249 arch/mips/include/asm/page.h #define virt_to_pfn(kaddr) PFN_DOWN(virt_to_phys((void *)(kaddr))) kaddr 250 arch/mips/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) kaddr 252 arch/mips/include/asm/page.h extern bool __virt_addr_valid(const volatile void *kaddr); kaddr 253 arch/mips/include/asm/page.h #define virt_addr_valid(kaddr) \ kaddr 254 arch/mips/include/asm/page.h __virt_addr_valid((const volatile void *) (kaddr)) kaddr 230 arch/mips/kernel/uprobes.c unsigned long kaddr, kstart; kaddr 233 arch/mips/kernel/uprobes.c kaddr = (unsigned long)kmap_atomic(page); kaddr 234 arch/mips/kernel/uprobes.c kstart = kaddr + (vaddr & ~PAGE_MASK); kaddr 237 arch/mips/kernel/uprobes.c kunmap_atomic((void *)kaddr); kaddr 240 arch/mips/mm/c-r3k.c unsigned long kaddr = KSEG0ADDR(pfn << PAGE_SHIFT); kaddr 264 arch/mips/mm/c-r3k.c r3k_flush_dcache_range(kaddr, kaddr + PAGE_SIZE); kaddr 266 arch/mips/mm/c-r3k.c r3k_flush_icache_range(kaddr, kaddr + PAGE_SIZE); kaddr 118 arch/mips/mm/cache.c void *kaddr; kaddr 120 arch/mips/mm/cache.c kaddr = kmap_coherent(page, vmaddr); kaddr 121 arch/mips/mm/cache.c flush_data_cache_page((unsigned long)kaddr); kaddr 120 arch/mips/mm/mmap.c bool __virt_addr_valid(const volatile void *kaddr) kaddr 122 arch/mips/mm/mmap.c unsigned long vaddr = (unsigned long)kaddr; kaddr 127 arch/mips/mm/mmap.c return pfn_valid(PFN_DOWN(virt_to_phys(kaddr))); kaddr 84 arch/nds32/include/asm/memory.h #define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)) kaddr 85 arch/nds32/include/asm/memory.h #define virt_addr_valid(kaddr) ((unsigned long)(kaddr) >= PAGE_OFFSET && (unsigned long)(kaddr) < (unsigned long)high_memory) kaddr 31 arch/nds32/mm/cacheflush.c unsigned long kaddr; kaddr 33 arch/nds32/mm/cacheflush.c kaddr = (unsigned long)kmap_atomic(page); kaddr 34 arch/nds32/mm/cacheflush.c cpu_cache_wbinval_page(kaddr, vma->vm_flags & VM_EXEC); kaddr 35 arch/nds32/mm/cacheflush.c kunmap_atomic((void *)kaddr); kaddr 43 arch/nds32/mm/cacheflush.c unsigned long kaddr; kaddr 44 arch/nds32/mm/cacheflush.c kaddr = (unsigned long)kmap_atomic(page) + (addr & ~PAGE_MASK); kaddr 45 arch/nds32/mm/cacheflush.c flush_icache_range(kaddr, kaddr + len); kaddr 46 arch/nds32/mm/cacheflush.c kunmap_atomic((void *)kaddr); kaddr 70 arch/nds32/mm/cacheflush.c unsigned long kaddr; kaddr 72 arch/nds32/mm/cacheflush.c kaddr = (unsigned long)kmap_atomic(page); kaddr 73 arch/nds32/mm/cacheflush.c cpu_cache_wbinval_page(kaddr, vma->vm_flags & VM_EXEC); kaddr 74 arch/nds32/mm/cacheflush.c kunmap_atomic((void *)kaddr); kaddr 88 arch/nds32/mm/cacheflush.c unsigned long kaddr, pte; kaddr 91 arch/nds32/mm/cacheflush.c kaddr = BASE_ADDR0 | (uaddr & L1_cache_info[DCACHE].aliasing_mask); kaddr 93 arch/nds32/mm/cacheflush.c __nds32__mtsr_dsb(kaddr, NDS32_SR_TLB_VPN); kaddr 96 arch/nds32/mm/cacheflush.c return kaddr; kaddr 99 arch/nds32/mm/cacheflush.c static inline void kunmap01(unsigned long kaddr) kaddr 101 arch/nds32/mm/cacheflush.c __nds32__tlbop_unlk(kaddr); kaddr 102 arch/nds32/mm/cacheflush.c __nds32__tlbop_inv(kaddr); kaddr 108 arch/nds32/mm/cacheflush.c unsigned long kaddr, pte; kaddr 111 arch/nds32/mm/cacheflush.c kaddr = BASE_ADDR1 | (uaddr & L1_cache_info[DCACHE].aliasing_mask); kaddr 113 arch/nds32/mm/cacheflush.c __nds32__mtsr_dsb(kaddr, NDS32_SR_TLB_VPN); kaddr 116 arch/nds32/mm/cacheflush.c return kaddr; kaddr 246 arch/nds32/mm/cacheflush.c unsigned long kaddr, flags; kaddr 248 arch/nds32/mm/cacheflush.c kaddr = (unsigned long)page_address(page); kaddr 250 arch/nds32/mm/cacheflush.c cpu_dcache_wbinval_page(kaddr); kaddr 255 arch/nds32/mm/cacheflush.c if (aliasing(vaddr, kaddr)) { kaddr 303 arch/nds32/mm/cacheflush.c unsigned long kaddr, flags, ktmp; kaddr 313 arch/nds32/mm/cacheflush.c kaddr = (unsigned long)page_address(page); kaddr 314 arch/nds32/mm/cacheflush.c if (aliasing(vaddr, kaddr)) { kaddr 75 arch/openrisc/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 85 arch/openrisc/include/asm/page.h #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr))) kaddr 172 arch/parisc/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 175 arch/parisc/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 131 arch/powerpc/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 132 arch/powerpc/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) kaddr 135 arch/powerpc/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr)) kaddr 192 arch/powerpc/include/asm/uaccess.h #define __get_user_atomic_128_aligned(kaddr, uaddr, err) \ kaddr 203 arch/powerpc/include/asm/uaccess.h : "b" (uaddr), "b" (kaddr), "i" (-EFAULT), "0" (err)) kaddr 145 arch/powerpc/lib/code-patching.c unsigned long kaddr = (unsigned long)addr; kaddr 164 arch/powerpc/lib/code-patching.c ((kaddr & ~PAGE_MASK) / sizeof(unsigned int)); kaddr 121 arch/powerpc/mm/dma-noncoherent.c unsigned long kaddr = (unsigned long)page_address(page); kaddr 123 arch/powerpc/mm/dma-noncoherent.c flush_dcache_range(kaddr, kaddr + size); kaddr 120 arch/powerpc/perf/callchain.c void *kaddr; kaddr 144 arch/powerpc/perf/callchain.c kaddr = pfn_to_kaddr(pfn); kaddr 145 arch/powerpc/perf/callchain.c memcpy(buf, kaddr + offset, nb); kaddr 164 arch/s390/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 168 arch/s390/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) kaddr 171 arch/s390/include/asm/page.h #define phys_to_pfn(kaddr) ((kaddr) >> PAGE_SHIFT) kaddr 174 arch/s390/include/asm/page.h #define phys_to_page(kaddr) pfn_to_page(phys_to_pfn(kaddr)) kaddr 177 arch/s390/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 179 arch/sh/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 183 arch/sh/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 12 arch/sh/include/asm/uncached.h extern int virt_addr_uncached(unsigned long kaddr); kaddr 52 arch/sh/include/asm/uncached.h #define virt_addr_uncached(kaddr) (0) kaddr 125 arch/sh/mm/cache.c void *kaddr = kmap_atomic(page); kaddr 127 arch/sh/mm/cache.c clear_page(kaddr); kaddr 129 arch/sh/mm/cache.c if (pages_do_alias((unsigned long)kaddr, vaddr & PAGE_MASK)) kaddr 130 arch/sh/mm/cache.c __flush_purge_region(kaddr, PAGE_SIZE); kaddr 132 arch/sh/mm/cache.c kunmap_atomic(kaddr); kaddr 160 arch/sh/mm/cache.c void *kaddr; kaddr 162 arch/sh/mm/cache.c kaddr = kmap_coherent(page, vmaddr); kaddr 165 arch/sh/mm/cache.c kunmap_coherent(kaddr); kaddr 24 arch/sh/mm/uncached.c int virt_addr_uncached(unsigned long kaddr) kaddr 26 arch/sh/mm/uncached.c return (kaddr >= uncached_start) && (kaddr < uncached_end); kaddr 55 arch/sparc/include/asm/cacheflush_64.h unsigned long uaddr, void *kaddr, kaddr 131 arch/sparc/include/asm/page_32.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 134 arch/sparc/include/asm/page_32.h #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr) kaddr 152 arch/sparc/include/asm/page_64.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr)>>PAGE_SHIFT) kaddr 154 arch/sparc/include/asm/page_64.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 109 arch/sparc/kernel/ptrace_64.c unsigned long uaddr, void *kaddr, kaddr 125 arch/sparc/kernel/ptrace_64.c if ((uaddr ^ (unsigned long) kaddr) & (1UL << 13)) { kaddr 126 arch/sparc/kernel/ptrace_64.c unsigned long start = __pa(kaddr); kaddr 148 arch/sparc/kernel/ptrace_64.c unsigned long start = (unsigned long) kaddr; kaddr 34 arch/sparc/kernel/uprobes.c void *kaddr = kmap_atomic(page); kaddr 36 arch/sparc/kernel/uprobes.c memcpy(kaddr + (vaddr & ~PAGE_MASK), src, len); kaddr 37 arch/sparc/kernel/uprobes.c kunmap_atomic(kaddr); kaddr 521 arch/sparc/mm/init_64.c unsigned long kaddr; kaddr 526 arch/sparc/mm/init_64.c for (kaddr = start; kaddr < end; kaddr += PAGE_SIZE) { kaddr 529 arch/sparc/mm/init_64.c if (kaddr >= PAGE_OFFSET) kaddr 530 arch/sparc/mm/init_64.c paddr = kaddr & mask; kaddr 532 arch/sparc/mm/init_64.c pgd_t *pgdp = pgd_offset_k(kaddr); kaddr 533 arch/sparc/mm/init_64.c pud_t *pudp = pud_offset(pgdp, kaddr); kaddr 534 arch/sparc/mm/init_64.c pmd_t *pmdp = pmd_offset(pudp, kaddr); kaddr 535 arch/sparc/mm/init_64.c pte_t *ptep = pte_offset_kernel(pmdp, kaddr); kaddr 94 arch/unicore32/include/asm/memory.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 95 arch/unicore32/include/asm/memory.h #define virt_addr_valid(kaddr) ((unsigned long)(kaddr) >= PAGE_OFFSET && \ kaddr 96 arch/unicore32/include/asm/memory.h (unsigned long)(kaddr) < (unsigned long)high_memory) kaddr 103 arch/unicore32/include/asm/tlbflush.h static inline void local_flush_tlb_kernel_page(unsigned long kaddr) kaddr 108 arch/unicore32/include/asm/tlbflush.h : : "r" (kaddr & PAGE_MASK) : "cc"); kaddr 111 arch/unicore32/include/asm/tlbflush.h : : "r" (kaddr & PAGE_MASK) : "cc"); kaddr 115 arch/unicore32/include/asm/tlbflush.h : : "r" (kaddr & PAGE_MASK) : "cc"); kaddr 33 arch/unicore32/mm/flush.c unsigned long uaddr, void *kaddr, unsigned long len) kaddr 37 arch/unicore32/mm/flush.c unsigned long addr = (unsigned long)kaddr; kaddr 1206 arch/x86/events/intel/ds.c void *kaddr; kaddr 1252 arch/x86/events/intel/ds.c kaddr = buf; kaddr 1254 arch/x86/events/intel/ds.c kaddr = (void *)to; kaddr 1265 arch/x86/events/intel/ds.c insn_init(&insn, kaddr, size, is_64bit); kaddr 1277 arch/x86/events/intel/ds.c kaddr += insn.length; kaddr 54 arch/x86/include/asm/insn.h const insn_byte_t *kaddr; /* kernel address of insn to analyze */ kaddr 88 arch/x86/include/asm/insn.h extern void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64); kaddr 108 arch/x86/include/asm/insn.h const void *kaddr, int buf_len) kaddr 111 arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 1); kaddr 113 arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 0); kaddr 69 arch/x86/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 71 arch/x86/include/asm/page.h extern bool __virt_addr_valid(unsigned long kaddr); kaddr 72 arch/x86/include/asm/page.h #define virt_addr_valid(kaddr) __virt_addr_valid((unsigned long) (kaddr)) kaddr 75 arch/x86/include/asm/pgtable_32.h #define kern_addr_valid(kaddr) (0) kaddr 296 arch/x86/kernel/kprobes/opt.c insn.kaddr = (void *)addr; kaddr 5839 arch/x86/kvm/x86.c char *kaddr; kaddr 5858 arch/x86/kvm/x86.c kaddr = map.hva + offset_in_page(gpa); kaddr 5862 arch/x86/kvm/x86.c exchanged = CMPXCHG_TYPE(u8, kaddr, old, new); kaddr 5865 arch/x86/kvm/x86.c exchanged = CMPXCHG_TYPE(u16, kaddr, old, new); kaddr 5868 arch/x86/kvm/x86.c exchanged = CMPXCHG_TYPE(u32, kaddr, old, new); kaddr 5871 arch/x86/kvm/x86.c exchanged = CMPXCHG64(kaddr, old, new); kaddr 40 arch/x86/lib/insn.c void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) kaddr 50 arch/x86/lib/insn.c insn->kaddr = kaddr; kaddr 51 arch/x86/lib/insn.c insn->end_kaddr = kaddr + buf_len; kaddr 52 arch/x86/lib/insn.c insn->next_byte = kaddr; kaddr 592 arch/x86/lib/insn.c - (unsigned long)insn->kaddr); kaddr 85 arch/x86/tools/insn_decoder_test.c insn->length, insn->x86_64, insn->kaddr); kaddr 82 arch/x86/tools/insn_sanity.c insn->length, insn->x86_64, insn->kaddr); kaddr 247 arch/x86/tools/insn_sanity.c if (insn.next_byte <= insn.kaddr || kaddr 248 arch/x86/tools/insn_sanity.c insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { kaddr 188 arch/xtensa/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) kaddr 190 arch/xtensa/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) kaddr 171 block/bio-integrity.c void *kaddr = kmap_atomic(bv.bv_page); kaddr 173 block/bio-integrity.c iter.data_buf = kaddr + bv.bv_offset; kaddr 178 block/bio-integrity.c kunmap_atomic(kaddr); kaddr 182 block/bio-integrity.c kunmap_atomic(kaddr); kaddr 1520 block/bio.c unsigned long kaddr = (unsigned long)data; kaddr 1521 block/bio.c unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; kaddr 1522 block/bio.c unsigned long start = kaddr >> PAGE_SHIFT; kaddr 1538 block/bio.c offset = offset_in_page(kaddr); kaddr 1602 block/bio.c unsigned long kaddr = (unsigned long)data; kaddr 1603 block/bio.c unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; kaddr 1604 block/bio.c unsigned long start = kaddr >> PAGE_SHIFT; kaddr 76 drivers/acpi/nvs.c void *kaddr; kaddr 136 drivers/acpi/nvs.c if (entry->kaddr) { kaddr 138 drivers/acpi/nvs.c iounmap(entry->kaddr); kaddr 141 drivers/acpi/nvs.c acpi_os_unmap_iomem(entry->kaddr, kaddr 144 drivers/acpi/nvs.c entry->kaddr = NULL; kaddr 180 drivers/acpi/nvs.c entry->kaddr = acpi_os_get_iomem(phys, size); kaddr 181 drivers/acpi/nvs.c if (!entry->kaddr) { kaddr 182 drivers/acpi/nvs.c entry->kaddr = acpi_os_ioremap(phys, size); kaddr 183 drivers/acpi/nvs.c entry->unmap = !!entry->kaddr; kaddr 185 drivers/acpi/nvs.c if (!entry->kaddr) { kaddr 189 drivers/acpi/nvs.c memcpy(entry->data, entry->kaddr, entry->size); kaddr 209 drivers/acpi/nvs.c memcpy(entry->kaddr, entry->data, entry->size); kaddr 300 drivers/crypto/chelsio/chtls/chtls_hw.c int kaddr; kaddr 328 drivers/crypto/chelsio/chtls/chtls_hw.c kaddr = keyid_to_addr(cdev->kmap.start, keyid); kaddr 347 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(kaddr)); kaddr 284 drivers/crypto/chelsio/chtls/chtls_io.c int kaddr; kaddr 291 drivers/crypto/chelsio/chtls/chtls_io.c kaddr = keyid_to_addr(cdev->kmap.start, hws->txkey); kaddr 301 drivers/crypto/chelsio/chtls/chtls_io.c sc_memrd->addr = htonl(kaddr); kaddr 76 drivers/dax/super.c void *kaddr, *end_kaddr; kaddr 104 drivers/dax/super.c len = dax_direct_access(dax_dev, pgoff, 1, &kaddr, &pfn); kaddr 133 drivers/dax/super.c && pfn_t_to_pfn(pfn) == PHYS_PFN(__pa(kaddr)) kaddr 297 drivers/dax/super.c void **kaddr, pfn_t *pfn) kaddr 311 drivers/dax/super.c kaddr, pfn); kaddr 934 drivers/firmware/stratix10-svc.c void stratix10_svc_free_memory(struct stratix10_svc_chan *chan, void *kaddr) kaddr 940 drivers/firmware/stratix10-svc.c if (pmem->vaddr == kaddr) { kaddr 945 drivers/firmware/stratix10-svc.c gen_pool_free(chan->ctrl->genpool, (unsigned long)kaddr, size); kaddr 119 drivers/fpga/stratix10-soc.c static void s10_unlock_bufs(struct s10_priv *priv, void *kaddr) kaddr 123 drivers/fpga/stratix10-soc.c if (!kaddr) kaddr 127 drivers/fpga/stratix10-soc.c if (priv->svc_bufs[i].buf == kaddr) { kaddr 133 drivers/fpga/stratix10-soc.c WARN(1, "Unknown buffer returned from service layer %p\n", kaddr); kaddr 230 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c info->kptr = ucode->kaddr; kaddr 456 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c ucode->kaddr = kptr; kaddr 477 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data + kaddr 485 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data + kaddr 492 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data + kaddr 500 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data + kaddr 506 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, (void *)((uint8_t *)ucode->fw->data + kaddr 512 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, adev->gfx.rlc.save_restore_list_cntl, kaddr 516 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, adev->gfx.rlc.save_restore_list_gpm, kaddr 520 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memcpy(ucode->kaddr, adev->gfx.rlc.save_restore_list_srm, kaddr 540 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c dst_addr = ucode->kaddr + kaddr 340 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h void *kaddr; kaddr 346 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c ucode_mem = (uint32_t *)ucode->kaddr; kaddr 680 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c ucode_mem = (uint32_t *)ucode->kaddr; kaddr 500 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c ucode_mem = (uint32_t *)ucode->kaddr; kaddr 578 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c ucode_mem = (uint32_t *)ucode->kaddr; kaddr 250 drivers/gpu/drm/amd/amdkfd/kfd_process.c void *kaddr; kaddr 258 drivers/gpu/drm/amd/amdkfd/kfd_process.c &kaddr); kaddr 262 drivers/gpu/drm/amd/amdkfd/kfd_process.c qpd->ib_kaddr = kaddr; kaddr 594 drivers/gpu/drm/amd/amdkfd/kfd_process.c void *kaddr; kaddr 602 drivers/gpu/drm/amd/amdkfd/kfd_process.c KFD_CWSR_TBA_TMA_SIZE, flags, &kaddr); kaddr 606 drivers/gpu/drm/amd/amdkfd/kfd_process.c qpd->cwsr_kaddr = kaddr; kaddr 424 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c memcpy_toio(smu_data->header_buffer.kaddr, smu_data->toc, kaddr 560 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c &smu_data->header_buffer.kaddr); kaddr 575 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c &smu_data->smu_buffer.kaddr); kaddr 580 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c &smu_data->header_buffer.kaddr); kaddr 598 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c &smu_data->header_buffer.kaddr); kaddr 603 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c &smu_data->smu_buffer.kaddr); kaddr 35 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.h void *kaddr; kaddr 335 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; kaddr 357 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c (struct smu8_ih_meta_data *)smu8_smu->scratch_buffer[i].kaddr; kaddr 372 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; kaddr 411 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; kaddr 422 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; kaddr 440 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c struct TOC *toc = (struct TOC *)smu8_smu->toc_buffer.kaddr; kaddr 592 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c entry->kaddr = (char *) smu8_smu->smu_buffer.kaddr + kaddr 613 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c *table = (struct SMU8_Fusion_ClkTable *)smu8_smu->scratch_buffer[i].kaddr; kaddr 772 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c &smu8_smu->toc_buffer.kaddr); kaddr 782 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c &smu8_smu->smu_buffer.kaddr); kaddr 830 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c &smu8_smu->smu_buffer.kaddr); kaddr 834 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c &smu8_smu->toc_buffer.kaddr); kaddr 851 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c &smu8_smu->toc_buffer.kaddr); kaddr 854 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c &smu8_smu->smu_buffer.kaddr); kaddr 64 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.h void *kaddr; kaddr 116 drivers/lightnvm/pblk-rb.c void *kaddr; kaddr 136 drivers/lightnvm/pblk-rb.c kaddr = page_address(page_set->pages); kaddr 139 drivers/lightnvm/pblk-rb.c entry->data = kaddr; kaddr 147 drivers/lightnvm/pblk-rb.c entry->data = kaddr + (i * rb->seg_size); kaddr 167 drivers/md/dm-linear.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 179 drivers/md/dm-linear.c return dax_direct_access(dax_dev, pgoff, nr_pages, kaddr, pfn); kaddr 949 drivers/md/dm-log-writes.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 958 drivers/md/dm-log-writes.c return dax_direct_access(lc->dev->dax_dev, pgoff, nr_pages, kaddr, pfn); kaddr 318 drivers/md/dm-stripe.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 335 drivers/md/dm-stripe.c return dax_direct_access(dax_dev, pgoff, nr_pages, kaddr, pfn); kaddr 145 drivers/md/dm-target.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 1082 drivers/md/dm.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 1100 drivers/md/dm.c ret = ti->type->direct_access(ti, pgoff, nr_pages, kaddr, pfn); kaddr 931 drivers/md/md-bitmap.c void *kaddr; kaddr 945 drivers/md/md-bitmap.c kaddr = kmap_atomic(page); kaddr 947 drivers/md/md-bitmap.c set_bit(bit, kaddr); kaddr 949 drivers/md/md-bitmap.c set_bit_le(bit, kaddr); kaddr 950 drivers/md/md-bitmap.c kunmap_atomic(kaddr); kaddr 244 drivers/nvdimm/pmem.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 252 drivers/nvdimm/pmem.c if (kaddr) kaddr 253 drivers/nvdimm/pmem.c *kaddr = pmem->virt_addr + offset; kaddr 273 drivers/nvdimm/pmem.c pgoff_t pgoff, long nr_pages, void **kaddr, pfn_t *pfn) kaddr 277 drivers/nvdimm/pmem.c return __pmem_direct_access(pmem, pgoff, nr_pages, kaddr, pfn); kaddr 30 drivers/nvdimm/pmem.h long nr_pages, void **kaddr, pfn_t *pfn); kaddr 37 drivers/s390/block/dcssblk.c long nr_pages, void **kaddr, pfn_t *pfn); kaddr 920 drivers/s390/block/dcssblk.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 926 drivers/s390/block/dcssblk.c if (kaddr) kaddr 927 drivers/s390/block/dcssblk.c *kaddr = (void *) dev_info->start + offset; kaddr 937 drivers/s390/block/dcssblk.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 941 drivers/s390/block/dcssblk.c return __dcssblk_direct_access(dev_info, pgoff, nr_pages, kaddr, pfn); kaddr 3905 drivers/scsi/ipr.c void *kaddr; kaddr 3916 drivers/scsi/ipr.c kaddr = kmap(page); kaddr 3917 drivers/scsi/ipr.c memcpy(kaddr, buffer, bsize_elem); kaddr 3931 drivers/scsi/ipr.c kaddr = kmap(page); kaddr 3932 drivers/scsi/ipr.c memcpy(kaddr, buffer, len % bsize_elem); kaddr 1416 drivers/scsi/isci/request.c void *kaddr; kaddr 1430 drivers/scsi/isci/request.c kaddr = kmap_atomic(page); kaddr 1431 drivers/scsi/isci/request.c memcpy(kaddr + sg->offset, src_addr, copy_len); kaddr 1432 drivers/scsi/isci/request.c kunmap_atomic(kaddr); kaddr 1774 drivers/scsi/isci/request.c void *frame_header, *kaddr; kaddr 1780 drivers/scsi/isci/request.c kaddr = kmap_atomic(sg_page(sg)); kaddr 1781 drivers/scsi/isci/request.c rsp = kaddr + sg->offset; kaddr 1817 drivers/scsi/isci/request.c kunmap_atomic(kaddr); kaddr 2922 drivers/scsi/isci/request.c void *kaddr; kaddr 2927 drivers/scsi/isci/request.c kaddr = kmap_atomic(sg_page(sg)); kaddr 2928 drivers/scsi/isci/request.c smp_req = kaddr + sg->offset; kaddr 2930 drivers/scsi/isci/request.c kunmap_atomic(kaddr); kaddr 3193 drivers/scsi/isci/request.c void *kaddr; kaddr 3197 drivers/scsi/isci/request.c kaddr = kmap_atomic(sg_page(sg)); kaddr 3198 drivers/scsi/isci/request.c smp_req = kaddr + sg->offset; kaddr 3223 drivers/scsi/isci/request.c kunmap_atomic(kaddr); kaddr 3259 drivers/scsi/pmcraid.c void *kaddr; kaddr 3272 drivers/scsi/pmcraid.c kaddr = kmap(page); kaddr 3274 drivers/scsi/pmcraid.c rc = copy_from_user(kaddr, buffer, bsize_elem); kaddr 3276 drivers/scsi/pmcraid.c rc = copy_to_user(buffer, kaddr, bsize_elem); kaddr 3291 drivers/scsi/pmcraid.c kaddr = kmap(page); kaddr 3294 drivers/scsi/pmcraid.c rc = copy_from_user(kaddr, buffer, len % bsize_elem); kaddr 3296 drivers/scsi/pmcraid.c rc = copy_to_user(buffer, kaddr, len % bsize_elem); kaddr 26 drivers/tee/optee/shm_pool.c shm->kaddr = page_address(page); kaddr 45 drivers/tee/optee/shm_pool.c (unsigned long)shm->kaddr); kaddr 58 drivers/tee/optee/shm_pool.c free_pages((unsigned long)shm->kaddr, get_order(shm->size)); kaddr 59 drivers/tee/optee/shm_pool.c shm->kaddr = NULL; kaddr 388 drivers/tee/tee_shm.c if ((char *)va < (char *)shm->kaddr) kaddr 390 drivers/tee/tee_shm.c if ((char *)va >= ((char *)shm->kaddr + shm->size)) kaddr 394 drivers/tee/tee_shm.c shm, (unsigned long)va - (unsigned long)shm->kaddr, pa); kaddr 439 drivers/tee/tee_shm.c return (char *)shm->kaddr + offs; kaddr 24 drivers/tee/tee_shm_pool.c shm->kaddr = (void *)va; kaddr 33 drivers/tee/tee_shm_pool.c gen_pool_free(poolm->private_data, (unsigned long)shm->kaddr, kaddr 35 drivers/tee/tee_shm_pool.c shm->kaddr = NULL; kaddr 2351 fs/binfmt_elf.c void *kaddr = kmap(page); kaddr 2352 fs/binfmt_elf.c stop = !dump_emit(cprm, kaddr, PAGE_SIZE); kaddr 1511 fs/binfmt_elf_fdpic.c void *kaddr = kmap(page); kaddr 1512 fs/binfmt_elf_fdpic.c res = dump_emit(cprm, kaddr, PAGE_SIZE); kaddr 1205 fs/btrfs/check-integrity.c char *kaddr; kaddr 1216 fs/btrfs/check-integrity.c kaddr = block_ctx->datav[i]; kaddr 1217 fs/btrfs/check-integrity.c memcpy(dst, kaddr + pgoff, cur); kaddr 84 fs/btrfs/compression.c char *kaddr; kaddr 97 fs/btrfs/compression.c kaddr = kmap_atomic(page); kaddr 98 fs/btrfs/compression.c crypto_shash_update(shash, kaddr, PAGE_SIZE); kaddr 99 fs/btrfs/compression.c kunmap_atomic(kaddr); kaddr 1133 fs/btrfs/compression.c char *kaddr; kaddr 1164 fs/btrfs/compression.c kaddr = kmap_atomic(bvec.bv_page); kaddr 1165 fs/btrfs/compression.c memcpy(kaddr + bvec.bv_offset, buf + buf_offset, bytes); kaddr 1166 fs/btrfs/compression.c kunmap_atomic(kaddr); kaddr 1718 fs/btrfs/ctree.c char *kaddr = NULL; kaddr 1735 fs/btrfs/ctree.c if (!kaddr || offset < map_start || kaddr 1741 fs/btrfs/ctree.c &kaddr, &map_start, &map_len); kaddr 1744 fs/btrfs/ctree.c tmp = (struct btrfs_disk_key *)(kaddr + offset - kaddr 1755 fs/btrfs/ctree.c tmp = (struct btrfs_disk_key *)(kaddr + offset - kaddr 1291 fs/btrfs/ctree.h char *kaddr; kaddr 1302 fs/btrfs/ctree.h token->kaddr = NULL; kaddr 262 fs/btrfs/disk-io.c char *kaddr; kaddr 280 fs/btrfs/disk-io.c &kaddr, &map_start, &map_len); kaddr 284 fs/btrfs/disk-io.c crypto_shash_update(shash, kaddr + offset - map_start, cur_len); kaddr 5561 fs/btrfs/extent_io.c char *kaddr; kaddr 5579 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5580 fs/btrfs/extent_io.c memcpy(dst, kaddr + offset, cur); kaddr 5596 fs/btrfs/extent_io.c char *kaddr; kaddr 5611 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5612 fs/btrfs/extent_io.c if (copy_to_user(dst, kaddr + offset, cur)) { kaddr 5637 fs/btrfs/extent_io.c char *kaddr; kaddr 5662 fs/btrfs/extent_io.c kaddr = page_address(p); kaddr 5663 fs/btrfs/extent_io.c *map = kaddr + offset; kaddr 5674 fs/btrfs/extent_io.c char *kaddr; kaddr 5690 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5691 fs/btrfs/extent_io.c ret = memcmp(ptr, kaddr + offset, cur); kaddr 5706 fs/btrfs/extent_io.c char *kaddr; kaddr 5709 fs/btrfs/extent_io.c kaddr = page_address(eb->pages[0]); kaddr 5710 fs/btrfs/extent_io.c memcpy(kaddr + offsetof(struct btrfs_header, chunk_tree_uuid), srcv, kaddr 5716 fs/btrfs/extent_io.c char *kaddr; kaddr 5719 fs/btrfs/extent_io.c kaddr = page_address(eb->pages[0]); kaddr 5720 fs/btrfs/extent_io.c memcpy(kaddr + offsetof(struct btrfs_header, fsid), srcv, kaddr 5730 fs/btrfs/extent_io.c char *kaddr; kaddr 5745 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5746 fs/btrfs/extent_io.c memcpy(kaddr + offset, src, cur); kaddr 5761 fs/btrfs/extent_io.c char *kaddr; kaddr 5775 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5776 fs/btrfs/extent_io.c memset(kaddr + offset, 0, cur); kaddr 5806 fs/btrfs/extent_io.c char *kaddr; kaddr 5820 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5821 fs/btrfs/extent_io.c read_extent_buffer(src, kaddr + offset, src_offset, cur); kaddr 5872 fs/btrfs/extent_io.c u8 *kaddr; kaddr 5880 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5881 fs/btrfs/extent_io.c return 1U & (kaddr[offset] >> (nr & (BITS_PER_BYTE - 1))); kaddr 5894 fs/btrfs/extent_io.c u8 *kaddr; kaddr 5905 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5908 fs/btrfs/extent_io.c kaddr[offset] |= mask_to_set; kaddr 5916 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5921 fs/btrfs/extent_io.c kaddr[offset] |= mask_to_set; kaddr 5936 fs/btrfs/extent_io.c u8 *kaddr; kaddr 5947 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5950 fs/btrfs/extent_io.c kaddr[offset] &= ~mask_to_clear; kaddr 5958 fs/btrfs/extent_io.c kaddr = page_address(page); kaddr 5963 fs/btrfs/extent_io.c kaddr[offset] &= ~mask_to_clear; kaddr 175 fs/btrfs/inode.c char *kaddr; kaddr 223 fs/btrfs/inode.c kaddr = kmap_atomic(cpage); kaddr 224 fs/btrfs/inode.c write_extent_buffer(leaf, kaddr, ptr, cur_size); kaddr 225 fs/btrfs/inode.c kunmap_atomic(kaddr); kaddr 237 fs/btrfs/inode.c kaddr = kmap_atomic(page); kaddr 239 fs/btrfs/inode.c write_extent_buffer(leaf, kaddr + offset, ptr, size); kaddr 240 fs/btrfs/inode.c kunmap_atomic(kaddr); kaddr 588 fs/btrfs/inode.c char *kaddr; kaddr 594 fs/btrfs/inode.c kaddr = kmap_atomic(page); kaddr 595 fs/btrfs/inode.c memset(kaddr + offset, 0, kaddr 597 fs/btrfs/inode.c kunmap_atomic(kaddr); kaddr 3370 fs/btrfs/inode.c char *kaddr; kaddr 3377 fs/btrfs/inode.c kaddr = kmap_atomic(page); kaddr 3381 fs/btrfs/inode.c crypto_shash_update(shash, kaddr + pgoff, len); kaddr 3387 fs/btrfs/inode.c kunmap_atomic(kaddr); kaddr 3392 fs/btrfs/inode.c memset(kaddr + pgoff, 1, len); kaddr 3394 fs/btrfs/inode.c kunmap_atomic(kaddr); kaddr 5049 fs/btrfs/inode.c char *kaddr; kaddr 5125 fs/btrfs/inode.c kaddr = kmap(page); kaddr 5127 fs/btrfs/inode.c memset(kaddr + (block_start - page_offset(page)), kaddr 5130 fs/btrfs/inode.c memset(kaddr + (block_start - page_offset(page)) + offset, kaddr 9055 fs/btrfs/inode.c char *kaddr; kaddr 9163 fs/btrfs/inode.c kaddr = kmap(page); kaddr 9164 fs/btrfs/inode.c memset(kaddr + zero_start, 0, PAGE_SIZE - zero_start); kaddr 457 fs/btrfs/lzo.c char *kaddr; kaddr 495 fs/btrfs/lzo.c kaddr = kmap_atomic(dest_page); kaddr 496 fs/btrfs/lzo.c memcpy(kaddr, workspace->buf + start_byte, bytes); kaddr 504 fs/btrfs/lzo.c memset(kaddr+bytes, 0, destlen-bytes); kaddr 505 fs/btrfs/lzo.c kunmap_atomic(kaddr); kaddr 49 fs/btrfs/struct-funcs.c char *kaddr; \ kaddr 58 fs/btrfs/struct-funcs.c if (token->kaddr && token->offset <= offset && \ kaddr 60 fs/btrfs/struct-funcs.c kaddr = token->kaddr; \ kaddr 61 fs/btrfs/struct-funcs.c p = kaddr + part_offset - token->offset; \ kaddr 66 fs/btrfs/struct-funcs.c &kaddr, &map_start, &map_len); \ kaddr 73 fs/btrfs/struct-funcs.c p = kaddr + part_offset - map_start; \ kaddr 75 fs/btrfs/struct-funcs.c token->kaddr = kaddr; \ kaddr 86 fs/btrfs/struct-funcs.c char *kaddr; \ kaddr 93 fs/btrfs/struct-funcs.c &kaddr, &map_start, &map_len); \ kaddr 100 fs/btrfs/struct-funcs.c p = kaddr + part_offset - map_start; \ kaddr 113 fs/btrfs/struct-funcs.c char *kaddr; \ kaddr 121 fs/btrfs/struct-funcs.c if (token->kaddr && token->offset <= offset && \ kaddr 123 fs/btrfs/struct-funcs.c kaddr = token->kaddr; \ kaddr 124 fs/btrfs/struct-funcs.c p = kaddr + part_offset - token->offset; \ kaddr 129 fs/btrfs/struct-funcs.c &kaddr, &map_start, &map_len); \ kaddr 137 fs/btrfs/struct-funcs.c p = kaddr + part_offset - map_start; \ kaddr 139 fs/btrfs/struct-funcs.c token->kaddr = kaddr; \ kaddr 149 fs/btrfs/struct-funcs.c char *kaddr; \ kaddr 155 fs/btrfs/struct-funcs.c &kaddr, &map_start, &map_len); \ kaddr 163 fs/btrfs/struct-funcs.c p = kaddr + part_offset - map_start; \ kaddr 333 fs/btrfs/zlib.c char *kaddr; kaddr 390 fs/btrfs/zlib.c kaddr = kmap_atomic(dest_page); kaddr 391 fs/btrfs/zlib.c memcpy(kaddr + pg_offset, workspace->buf + buf_offset, bytes); kaddr 392 fs/btrfs/zlib.c kunmap_atomic(kaddr); kaddr 414 fs/btrfs/zlib.c kaddr = kmap_atomic(dest_page); kaddr 415 fs/btrfs/zlib.c memset(kaddr + pg_offset, 0, destlen - pg_offset); kaddr 416 fs/btrfs/zlib.c kunmap_atomic(kaddr); kaddr 640 fs/btrfs/zstd.c char *kaddr; kaddr 697 fs/btrfs/zstd.c kaddr = kmap_atomic(dest_page); kaddr 698 fs/btrfs/zstd.c memcpy(kaddr + pg_offset, workspace->out_buf.dst + buf_offset, kaddr 700 fs/btrfs/zstd.c kunmap_atomic(kaddr); kaddr 707 fs/btrfs/zstd.c kaddr = kmap_atomic(dest_page); kaddr 708 fs/btrfs/zstd.c memset(kaddr + pg_offset, 0, destlen - pg_offset); kaddr 709 fs/btrfs/zstd.c kunmap_atomic(kaddr); kaddr 1643 fs/ceph/addr.c void *kaddr = kmap_atomic(page); kaddr 1644 fs/ceph/addr.c memcpy(kaddr, data, len); kaddr 1645 fs/ceph/addr.c kunmap_atomic(kaddr); kaddr 80 fs/cifs/cifsencrypt.c void *kaddr; kaddr 85 fs/cifs/cifsencrypt.c kaddr = (char *) kmap(rqst->rq_pages[i]) + offset; kaddr 87 fs/cifs/cifsencrypt.c rc = crypto_shash_update(shash, kaddr, len); kaddr 687 fs/dax.c void *vto, *kaddr; kaddr 697 fs/dax.c rc = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), &kaddr, NULL); kaddr 703 fs/dax.c copy_user_page(vto, (void __force *)kaddr, vaddr, to); kaddr 1072 fs/dax.c void *kaddr; kaddr 1079 fs/dax.c rc = dax_direct_access(dax_dev, pgoff, 1, &kaddr, NULL); kaddr 1084 fs/dax.c memset(kaddr + offset, 0, size); kaddr 1085 fs/dax.c dax_flush(dax_dev, kaddr + offset, size); kaddr 1134 fs/dax.c void *kaddr; kaddr 1146 fs/dax.c &kaddr, NULL); kaddr 1153 fs/dax.c kaddr += offset; kaddr 1164 fs/dax.c xfer = dax_copy_from_iter(dax_dev, pgoff, kaddr, kaddr 1167 fs/dax.c xfer = dax_copy_to_iter(dax_dev, pgoff, kaddr, kaddr 39 fs/erofs/decompressor.c void *kaddr = NULL; kaddr 59 fs/erofs/decompressor.c if (kaddr) { kaddr 60 fs/erofs/decompressor.c if (kaddr + PAGE_SIZE == page_address(page)) kaddr 61 fs/erofs/decompressor.c kaddr += PAGE_SIZE; kaddr 63 fs/erofs/decompressor.c kaddr = NULL; kaddr 65 fs/erofs/decompressor.c kaddr = page_address(page); kaddr 69 fs/erofs/decompressor.c kaddr = NULL; kaddr 83 fs/erofs/decompressor.c return kaddr ? 1 : 0; kaddr 13 fs/erofs/xattr.c void *kaddr; kaddr 25 fs/erofs/xattr.c kunmap_atomic(it->kaddr); kaddr 99 fs/erofs/xattr.c it.kaddr = kmap(it.page); kaddr 102 fs/erofs/xattr.c ih = (struct erofs_xattr_ibody_header *)(it.kaddr + it.ofs); kaddr 130 fs/erofs/xattr.c it.kaddr = kmap_atomic(it.page); kaddr 135 fs/erofs/xattr.c le32_to_cpu(*(__le32 *)(it.kaddr + it.ofs)); kaddr 180 fs/erofs/xattr.c it->kaddr = kmap_atomic(it->page); kaddr 207 fs/erofs/xattr.c it->kaddr = kmap_atomic(it->page); kaddr 233 fs/erofs/xattr.c entry = *(struct erofs_xattr_entry *)(it->kaddr + it->ofs); kaddr 272 fs/erofs/xattr.c err = op->name(it, processed, it->kaddr + it->ofs, slice); kaddr 305 fs/erofs/xattr.c op->value(it, processed, it->kaddr + it->ofs, slice); kaddr 409 fs/erofs/xattr.c it->it.kaddr = kmap_atomic(it->it.page); kaddr 631 fs/erofs/xattr.c it->it.kaddr = kmap_atomic(it->it.page); kaddr 36 fs/erofs/zmap.c void *kaddr; kaddr 59 fs/erofs/zmap.c kaddr = kmap_atomic(page); kaddr 61 fs/erofs/zmap.c h = kaddr + erofs_blkoff(pos); kaddr 88 fs/erofs/zmap.c kunmap_atomic(kaddr); kaddr 99 fs/erofs/zmap.c void *kaddr; kaddr 118 fs/erofs/zmap.c if (!m->kaddr) kaddr 119 fs/erofs/zmap.c m->kaddr = kmap_atomic(mpage); kaddr 123 fs/erofs/zmap.c if (m->kaddr) { kaddr 124 fs/erofs/zmap.c kunmap_atomic(m->kaddr); kaddr 125 fs/erofs/zmap.c m->kaddr = NULL; kaddr 135 fs/erofs/zmap.c m->kaddr = kmap_atomic(mpage); kaddr 160 fs/erofs/zmap.c di = m->kaddr + erofs_blkoff(pos); kaddr 215 fs/erofs/zmap.c in = m->kaddr + base; kaddr 457 fs/erofs/zmap.c if (m.kaddr) kaddr 458 fs/erofs/zmap.c kunmap_atomic(m.kaddr); kaddr 504 fs/exec.c char *kaddr = NULL; kaddr 572 fs/exec.c kaddr = kmap(kmapped_page); kaddr 576 fs/exec.c if (copy_from_user(kaddr+offset, str, bytes_to_copy)) { kaddr 1602 fs/exec.c char *kaddr; kaddr 1615 fs/exec.c kaddr = kmap_atomic(page); kaddr 1617 fs/exec.c for (; offset < PAGE_SIZE && kaddr[offset]; kaddr 1621 fs/exec.c kunmap_atomic(kaddr); kaddr 120 fs/ext2/dir.c char *kaddr = page_address(page); kaddr 135 fs/ext2/dir.c p = (ext2_dirent *)(kaddr + offs); kaddr 187 fs/ext2/dir.c p = (ext2_dirent *)(kaddr + offs); kaddr 283 fs/ext2/dir.c char *kaddr, *limit; kaddr 294 fs/ext2/dir.c kaddr = page_address(page); kaddr 297 fs/ext2/dir.c offset = ext2_validate_entry(kaddr, offset, chunk_mask); kaddr 303 fs/ext2/dir.c de = (ext2_dirent *)(kaddr+offset); kaddr 304 fs/ext2/dir.c limit = kaddr + ext2_last_byte(inode, n) - EXT2_DIR_REC_LEN(1); kaddr 364 fs/ext2/dir.c char *kaddr; kaddr 367 fs/ext2/dir.c kaddr = page_address(page); kaddr 368 fs/ext2/dir.c de = (ext2_dirent *) kaddr; kaddr 369 fs/ext2/dir.c kaddr += ext2_last_byte(dir, n) - reclen; kaddr 370 fs/ext2/dir.c while ((char *) de <= kaddr) { kaddr 473 fs/ext2/dir.c char *kaddr; kaddr 490 fs/ext2/dir.c kaddr = page_address(page); kaddr 491 fs/ext2/dir.c dir_end = kaddr + ext2_last_byte(dir, n); kaddr 492 fs/ext2/dir.c de = (ext2_dirent *)kaddr; kaddr 493 fs/ext2/dir.c kaddr += PAGE_SIZE - reclen; kaddr 494 fs/ext2/dir.c while ((char *)de <= kaddr) { kaddr 563 fs/ext2/dir.c char *kaddr = page_address(page); kaddr 564 fs/ext2/dir.c unsigned from = ((char*)dir - kaddr) & ~(ext2_chunk_size(inode)-1); kaddr 565 fs/ext2/dir.c unsigned to = ((char *)dir - kaddr) + kaddr 569 fs/ext2/dir.c ext2_dirent * de = (ext2_dirent *) (kaddr + from); kaddr 609 fs/ext2/dir.c void *kaddr; kaddr 619 fs/ext2/dir.c kaddr = kmap_atomic(page); kaddr 620 fs/ext2/dir.c memset(kaddr, 0, chunk_size); kaddr 621 fs/ext2/dir.c de = (struct ext2_dir_entry_2 *)kaddr; kaddr 628 fs/ext2/dir.c de = (struct ext2_dir_entry_2 *)(kaddr + EXT2_DIR_REC_LEN(1)); kaddr 634 fs/ext2/dir.c kunmap_atomic(kaddr); kaddr 651 fs/ext2/dir.c char *kaddr; kaddr 660 fs/ext2/dir.c kaddr = page_address(page); kaddr 661 fs/ext2/dir.c de = (ext2_dirent *)kaddr; kaddr 662 fs/ext2/dir.c kaddr += ext2_last_byte(inode, i) - EXT2_DIR_REC_LEN(1); kaddr 664 fs/ext2/dir.c while ((char *)de <= kaddr) { kaddr 668 fs/ext2/dir.c printk("kaddr=%p, de=%p\n", kaddr, de); kaddr 466 fs/ext4/inline.c void *kaddr; kaddr 486 fs/ext4/inline.c kaddr = kmap_atomic(page); kaddr 487 fs/ext4/inline.c ret = ext4_read_inline_data(inode, kaddr, len, &iloc); kaddr 489 fs/ext4/inline.c kunmap_atomic(kaddr); kaddr 733 fs/ext4/inline.c void *kaddr; kaddr 753 fs/ext4/inline.c kaddr = kmap_atomic(page); kaddr 754 fs/ext4/inline.c ext4_write_inline_data(inode, &iloc, kaddr, pos, len); kaddr 755 fs/ext4/inline.c kunmap_atomic(kaddr); kaddr 773 fs/ext4/inline.c void *kaddr; kaddr 783 fs/ext4/inline.c kaddr = kmap_atomic(page); kaddr 784 fs/ext4/inline.c ext4_write_inline_data(inode, &iloc, kaddr, 0, len); kaddr 785 fs/ext4/inline.c kunmap_atomic(kaddr); kaddr 3432 fs/f2fs/segment.c unsigned char *kaddr; kaddr 3442 fs/f2fs/segment.c kaddr = (unsigned char *)page_address(page); kaddr 3446 fs/f2fs/segment.c memcpy(seg_i->journal, kaddr, SUM_JOURNAL_SIZE); kaddr 3450 fs/f2fs/segment.c memcpy(seg_i->journal, kaddr + SUM_JOURNAL_SIZE, SUM_JOURNAL_SIZE); kaddr 3471 fs/f2fs/segment.c s = (struct f2fs_summary *)(kaddr + offset); kaddr 3484 fs/f2fs/segment.c kaddr = (unsigned char *)page_address(page); kaddr 3610 fs/f2fs/segment.c unsigned char *kaddr; kaddr 3617 fs/f2fs/segment.c kaddr = (unsigned char *)page_address(page); kaddr 3618 fs/f2fs/segment.c memset(kaddr, 0, PAGE_SIZE); kaddr 3622 fs/f2fs/segment.c memcpy(kaddr, seg_i->journal, SUM_JOURNAL_SIZE); kaddr 3627 fs/f2fs/segment.c memcpy(kaddr + written_size, seg_i->journal, SUM_JOURNAL_SIZE); kaddr 3642 fs/f2fs/segment.c kaddr = (unsigned char *)page_address(page); kaddr 3643 fs/f2fs/segment.c memset(kaddr, 0, PAGE_SIZE); kaddr 3646 fs/f2fs/segment.c summary = (struct f2fs_summary *)(kaddr + written_size); kaddr 1773 fs/f2fs/super.c char *kaddr; kaddr 1806 fs/f2fs/super.c kaddr = kmap_atomic(page); kaddr 1807 fs/f2fs/super.c memcpy(data, kaddr + offset, tocopy); kaddr 1808 fs/f2fs/super.c kunmap_atomic(kaddr); kaddr 1830 fs/f2fs/super.c char *kaddr; kaddr 1849 fs/f2fs/super.c kaddr = kmap_atomic(page); kaddr 1850 fs/f2fs/super.c memcpy(kaddr + offset, data, tocopy); kaddr 1851 fs/f2fs/super.c kunmap_atomic(kaddr); kaddr 70 fs/freevxfs/vxfs_immed.c caddr_t kaddr; kaddr 72 fs/freevxfs/vxfs_immed.c kaddr = kmap(pp); kaddr 73 fs/freevxfs/vxfs_immed.c memcpy(kaddr, vip->vii_immed.vi_immed + offset, PAGE_SIZE); kaddr 221 fs/freevxfs/vxfs_inode.c caddr_t kaddr = (char *)page_address(pp); kaddr 223 fs/freevxfs/vxfs_inode.c dip = (struct vxfs_dinode *)(kaddr + offset); kaddr 93 fs/freevxfs/vxfs_lookup.c char *kaddr; kaddr 99 fs/freevxfs/vxfs_lookup.c kaddr = (char *)page_address(pp); kaddr 107 fs/freevxfs/vxfs_lookup.c (kaddr + (pos & ~PAGE_MASK)); kaddr 113 fs/freevxfs/vxfs_lookup.c de = (struct vxfs_direct *)(kaddr + pg_ofs); kaddr 242 fs/freevxfs/vxfs_lookup.c char *kaddr; kaddr 250 fs/freevxfs/vxfs_lookup.c kaddr = (char *)page_address(pp); kaddr 258 fs/freevxfs/vxfs_lookup.c (kaddr + (pos & ~PAGE_MASK)); kaddr 264 fs/freevxfs/vxfs_lookup.c de = (struct vxfs_direct *)(kaddr + pg_ofs); kaddr 441 fs/gfs2/aops.c void *kaddr; kaddr 459 fs/gfs2/aops.c kaddr = kmap_atomic(page); kaddr 462 fs/gfs2/aops.c memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); kaddr 463 fs/gfs2/aops.c memset(kaddr + dsize, 0, PAGE_SIZE - dsize); kaddr 464 fs/gfs2/aops.c kunmap_atomic(kaddr); kaddr 70 fs/gfs2/bmap.c void *kaddr = kmap(page); kaddr 76 fs/gfs2/bmap.c memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); kaddr 77 fs/gfs2/bmap.c memset(kaddr + dsize, 0, PAGE_SIZE - dsize); kaddr 418 fs/gfs2/lops.c void *kaddr = kmap_atomic(page); kaddr 423 fs/gfs2/lops.c if (!__get_log_header(sdp, kaddr + offset, 0, &lh)) { kaddr 432 fs/gfs2/lops.c kunmap_atomic(kaddr); kaddr 613 fs/gfs2/lops.c void *kaddr; kaddr 617 fs/gfs2/lops.c kaddr = kmap_atomic(bh->b_page); kaddr 618 fs/gfs2/lops.c ptr = kaddr + bh_offset(bh); kaddr 621 fs/gfs2/lops.c kunmap_atomic(kaddr); kaddr 686 fs/gfs2/lops.c void *kaddr; kaddr 689 fs/gfs2/lops.c kaddr = kmap_atomic(bd2->bd_bh->b_page); kaddr 690 fs/gfs2/lops.c memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), kaddr 692 fs/gfs2/lops.c kunmap_atomic(kaddr); kaddr 695 fs/gfs2/quota.c void *kaddr; kaddr 751 fs/gfs2/quota.c kaddr = kmap_atomic(page); kaddr 752 fs/gfs2/quota.c memcpy(kaddr + off, buf, bytes); kaddr 754 fs/gfs2/quota.c kunmap_atomic(kaddr); kaddr 219 fs/hfsplus/xattr.c void *kaddr; kaddr 227 fs/hfsplus/xattr.c kaddr = kmap_atomic(page); kaddr 228 fs/hfsplus/xattr.c memcpy(kaddr, buf + written, kaddr 230 fs/hfsplus/xattr.c kunmap_atomic(kaddr); kaddr 100 fs/minix/dir.c char *p, *kaddr, *limit; kaddr 105 fs/minix/dir.c kaddr = (char *)page_address(page); kaddr 106 fs/minix/dir.c p = kaddr+offset; kaddr 107 fs/minix/dir.c limit = kaddr + minix_last_byte(inode, n) - chunk_size; kaddr 168 fs/minix/dir.c char *kaddr, *limit; kaddr 174 fs/minix/dir.c kaddr = (char*)page_address(page); kaddr 175 fs/minix/dir.c limit = kaddr + minix_last_byte(dir, n) - sbi->s_dirsize; kaddr 176 fs/minix/dir.c for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { kaddr 210 fs/minix/dir.c char *kaddr, *p; kaddr 231 fs/minix/dir.c kaddr = (char*)page_address(page); kaddr 232 fs/minix/dir.c dir_end = kaddr + minix_last_byte(dir, n); kaddr 233 fs/minix/dir.c limit = kaddr + PAGE_SIZE - sbi->s_dirsize; kaddr 234 fs/minix/dir.c for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { kaddr 292 fs/minix/dir.c char *kaddr = page_address(page); kaddr 293 fs/minix/dir.c loff_t pos = page_offset(page) + (char*)de - kaddr; kaddr 319 fs/minix/dir.c char *kaddr; kaddr 330 fs/minix/dir.c kaddr = kmap_atomic(page); kaddr 331 fs/minix/dir.c memset(kaddr, 0, PAGE_SIZE); kaddr 334 fs/minix/dir.c minix3_dirent *de3 = (minix3_dirent *)kaddr; kaddr 342 fs/minix/dir.c minix_dirent *de = (minix_dirent *)kaddr; kaddr 350 fs/minix/dir.c kunmap_atomic(kaddr); kaddr 370 fs/minix/dir.c char *p, *kaddr, *limit; kaddr 376 fs/minix/dir.c kaddr = (char *)page_address(page); kaddr 377 fs/minix/dir.c limit = kaddr + minix_last_byte(inode, i) - sbi->s_dirsize; kaddr 378 fs/minix/dir.c for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { kaddr 4770 fs/namei.c char *kaddr; kaddr 4789 fs/namei.c kaddr = page_address(page); kaddr 4790 fs/namei.c nd_terminate_link(kaddr, inode->i_size, PAGE_SIZE - 1); kaddr 4791 fs/namei.c return kaddr; kaddr 1959 fs/nfs/dir.c char *kaddr; kaddr 1977 fs/nfs/dir.c kaddr = page_address(page); kaddr 1978 fs/nfs/dir.c memcpy(kaddr, symname, pathlen); kaddr 1980 fs/nfs/dir.c memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); kaddr 183 fs/nilfs2/alloc.c struct buffer_head *bh, void *kaddr) kaddr 185 fs/nilfs2/alloc.c struct nilfs_palloc_group_desc *desc = kaddr + bh_offset(bh); kaddr 348 fs/nilfs2/alloc.c const struct buffer_head *bh, void *kaddr) kaddr 350 fs/nilfs2/alloc.c return (struct nilfs_palloc_group_desc *)(kaddr + bh_offset(bh)) + kaddr 362 fs/nilfs2/alloc.c const struct buffer_head *bh, void *kaddr) kaddr 369 fs/nilfs2/alloc.c return kaddr + bh_offset(bh) + kaddr 71 fs/nilfs2/cpfile.c void *kaddr, kaddr 74 fs/nilfs2/cpfile.c struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); kaddr 85 fs/nilfs2/cpfile.c void *kaddr, kaddr 88 fs/nilfs2/cpfile.c struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); kaddr 100 fs/nilfs2/cpfile.c void *kaddr) kaddr 102 fs/nilfs2/cpfile.c return kaddr + bh_offset(bh); kaddr 108 fs/nilfs2/cpfile.c void *kaddr) kaddr 110 fs/nilfs2/cpfile.c return kaddr + bh_offset(bh) + nilfs_cpfile_get_offset(cpfile, cno) * kaddr 116 fs/nilfs2/cpfile.c void *kaddr) kaddr 118 fs/nilfs2/cpfile.c struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); kaddr 223 fs/nilfs2/cpfile.c void *kaddr; kaddr 238 fs/nilfs2/cpfile.c kaddr = kmap(cp_bh->b_page); kaddr 239 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); kaddr 251 fs/nilfs2/cpfile.c kaddr, 1); kaddr 254 fs/nilfs2/cpfile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 256 fs/nilfs2/cpfile.c kaddr); kaddr 258 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 320 fs/nilfs2/cpfile.c void *kaddr; kaddr 350 fs/nilfs2/cpfile.c kaddr = kmap_atomic(cp_bh->b_page); kaddr 352 fs/nilfs2/cpfile.c cpfile, cno, cp_bh, kaddr); kaddr 369 fs/nilfs2/cpfile.c cpfile, cp_bh, kaddr, nicps); kaddr 372 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 387 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 392 fs/nilfs2/cpfile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 394 fs/nilfs2/cpfile.c kaddr); kaddr 398 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 432 fs/nilfs2/cpfile.c void *kaddr; kaddr 450 fs/nilfs2/cpfile.c kaddr = kmap_atomic(bh->b_page); kaddr 451 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, bh, kaddr); kaddr 460 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 485 fs/nilfs2/cpfile.c void *kaddr; kaddr 494 fs/nilfs2/cpfile.c kaddr = kmap_atomic(bh->b_page); kaddr 495 fs/nilfs2/cpfile.c header = nilfs_cpfile_block_get_header(cpfile, bh, kaddr); kaddr 497 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 515 fs/nilfs2/cpfile.c kaddr = kmap_atomic(bh->b_page); kaddr 517 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, curr, bh, kaddr); kaddr 531 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 539 fs/nilfs2/cpfile.c kaddr = kmap_atomic(bh->b_page); kaddr 544 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 601 fs/nilfs2/cpfile.c void *kaddr) kaddr 608 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, bh, kaddr); kaddr 611 fs/nilfs2/cpfile.c header = nilfs_cpfile_block_get_header(cpfile, bh, kaddr); kaddr 625 fs/nilfs2/cpfile.c void *kaddr; kaddr 635 fs/nilfs2/cpfile.c kaddr = kmap_atomic(cp_bh->b_page); kaddr 636 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); kaddr 639 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 644 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 647 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 652 fs/nilfs2/cpfile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 653 fs/nilfs2/cpfile.c header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); kaddr 664 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 670 fs/nilfs2/cpfile.c kaddr = kmap_atomic(curr_bh->b_page); kaddr 674 fs/nilfs2/cpfile.c cpfile, curr, curr_bh, kaddr); kaddr 678 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 690 fs/nilfs2/cpfile.c kaddr = kmap_atomic(curr_bh->b_page); kaddr 692 fs/nilfs2/cpfile.c cpfile, curr, curr_bh, kaddr); kaddr 694 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 696 fs/nilfs2/cpfile.c kaddr = kmap_atomic(cp_bh->b_page); kaddr 697 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); kaddr 701 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 703 fs/nilfs2/cpfile.c kaddr = kmap_atomic(prev_bh->b_page); kaddr 705 fs/nilfs2/cpfile.c cpfile, prev, prev_bh, kaddr); kaddr 707 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 709 fs/nilfs2/cpfile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 710 fs/nilfs2/cpfile.c header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); kaddr 712 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 743 fs/nilfs2/cpfile.c void *kaddr; kaddr 753 fs/nilfs2/cpfile.c kaddr = kmap_atomic(cp_bh->b_page); kaddr 754 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); kaddr 757 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 762 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 769 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 793 fs/nilfs2/cpfile.c kaddr = kmap_atomic(next_bh->b_page); kaddr 795 fs/nilfs2/cpfile.c cpfile, next, next_bh, kaddr); kaddr 797 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 799 fs/nilfs2/cpfile.c kaddr = kmap_atomic(prev_bh->b_page); kaddr 801 fs/nilfs2/cpfile.c cpfile, prev, prev_bh, kaddr); kaddr 803 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 805 fs/nilfs2/cpfile.c kaddr = kmap_atomic(cp_bh->b_page); kaddr 806 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); kaddr 810 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 812 fs/nilfs2/cpfile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 813 fs/nilfs2/cpfile.c header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); kaddr 815 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 860 fs/nilfs2/cpfile.c void *kaddr; kaddr 874 fs/nilfs2/cpfile.c kaddr = kmap_atomic(bh->b_page); kaddr 875 fs/nilfs2/cpfile.c cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, bh, kaddr); kaddr 880 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 949 fs/nilfs2/cpfile.c void *kaddr; kaddr 957 fs/nilfs2/cpfile.c kaddr = kmap_atomic(bh->b_page); kaddr 958 fs/nilfs2/cpfile.c header = nilfs_cpfile_block_get_header(cpfile, bh, kaddr); kaddr 962 fs/nilfs2/cpfile.c kunmap_atomic(kaddr); kaddr 79 fs/nilfs2/dat.c void *kaddr; kaddr 81 fs/nilfs2/dat.c kaddr = kmap_atomic(req->pr_entry_bh->b_page); kaddr 83 fs/nilfs2/dat.c req->pr_entry_bh, kaddr); kaddr 87 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 103 fs/nilfs2/dat.c void *kaddr; kaddr 105 fs/nilfs2/dat.c kaddr = kmap_atomic(req->pr_entry_bh->b_page); kaddr 107 fs/nilfs2/dat.c req->pr_entry_bh, kaddr); kaddr 111 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 130 fs/nilfs2/dat.c void *kaddr; kaddr 132 fs/nilfs2/dat.c kaddr = kmap_atomic(req->pr_entry_bh->b_page); kaddr 134 fs/nilfs2/dat.c req->pr_entry_bh, kaddr); kaddr 137 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 146 fs/nilfs2/dat.c void *kaddr; kaddr 155 fs/nilfs2/dat.c kaddr = kmap_atomic(req->pr_entry_bh->b_page); kaddr 157 fs/nilfs2/dat.c req->pr_entry_bh, kaddr); kaddr 159 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 178 fs/nilfs2/dat.c void *kaddr; kaddr 180 fs/nilfs2/dat.c kaddr = kmap_atomic(req->pr_entry_bh->b_page); kaddr 182 fs/nilfs2/dat.c req->pr_entry_bh, kaddr); kaddr 190 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 203 fs/nilfs2/dat.c void *kaddr; kaddr 205 fs/nilfs2/dat.c kaddr = kmap_atomic(req->pr_entry_bh->b_page); kaddr 207 fs/nilfs2/dat.c req->pr_entry_bh, kaddr); kaddr 210 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 317 fs/nilfs2/dat.c void *kaddr; kaddr 340 fs/nilfs2/dat.c kaddr = kmap_atomic(entry_bh->b_page); kaddr 341 fs/nilfs2/dat.c entry = nilfs_palloc_block_get_entry(dat, vblocknr, entry_bh, kaddr); kaddr 348 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 354 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 388 fs/nilfs2/dat.c void *kaddr; kaddr 404 fs/nilfs2/dat.c kaddr = kmap_atomic(entry_bh->b_page); kaddr 405 fs/nilfs2/dat.c entry = nilfs_palloc_block_get_entry(dat, vblocknr, entry_bh, kaddr); kaddr 414 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 426 fs/nilfs2/dat.c void *kaddr; kaddr 435 fs/nilfs2/dat.c kaddr = kmap_atomic(entry_bh->b_page); kaddr 446 fs/nilfs2/dat.c dat, vinfo->vi_vblocknr, entry_bh, kaddr); kaddr 451 fs/nilfs2/dat.c kunmap_atomic(kaddr); kaddr 121 fs/nilfs2/dir.c char *kaddr = page_address(page); kaddr 135 fs/nilfs2/dir.c p = (struct nilfs_dir_entry *)(kaddr + offs); kaddr 179 fs/nilfs2/dir.c p = (struct nilfs_dir_entry *)(kaddr + offs); kaddr 276 fs/nilfs2/dir.c char *kaddr, *limit; kaddr 285 fs/nilfs2/dir.c kaddr = page_address(page); kaddr 286 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)(kaddr + offset); kaddr 287 fs/nilfs2/dir.c limit = kaddr + nilfs_last_byte(inode, n) - kaddr 348 fs/nilfs2/dir.c char *kaddr; kaddr 352 fs/nilfs2/dir.c kaddr = page_address(page); kaddr 353 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)kaddr; kaddr 354 fs/nilfs2/dir.c kaddr += nilfs_last_byte(dir, n) - reclen; kaddr 355 fs/nilfs2/dir.c while ((char *) de <= kaddr) { kaddr 450 fs/nilfs2/dir.c char *kaddr; kaddr 467 fs/nilfs2/dir.c kaddr = page_address(page); kaddr 468 fs/nilfs2/dir.c dir_end = kaddr + nilfs_last_byte(dir, n); kaddr 469 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)kaddr; kaddr 470 fs/nilfs2/dir.c kaddr += PAGE_SIZE - reclen; kaddr 471 fs/nilfs2/dir.c while ((char *)de <= kaddr) { kaddr 542 fs/nilfs2/dir.c char *kaddr = page_address(page); kaddr 547 fs/nilfs2/dir.c from = ((char *)dir - kaddr) & ~(nilfs_chunk_size(inode) - 1); kaddr 548 fs/nilfs2/dir.c to = ((char *)dir - kaddr) + nilfs_rec_len_from_disk(dir->rec_len); kaddr 549 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)(kaddr + from); kaddr 586 fs/nilfs2/dir.c void *kaddr; kaddr 596 fs/nilfs2/dir.c kaddr = kmap_atomic(page); kaddr 597 fs/nilfs2/dir.c memset(kaddr, 0, chunk_size); kaddr 598 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)kaddr; kaddr 605 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)(kaddr + NILFS_DIR_REC_LEN(1)); kaddr 611 fs/nilfs2/dir.c kunmap_atomic(kaddr); kaddr 627 fs/nilfs2/dir.c char *kaddr; kaddr 634 fs/nilfs2/dir.c kaddr = page_address(page); kaddr 635 fs/nilfs2/dir.c de = (struct nilfs_dir_entry *)kaddr; kaddr 636 fs/nilfs2/dir.c kaddr += nilfs_last_byte(inode, i) - NILFS_DIR_REC_LEN(1); kaddr 638 fs/nilfs2/dir.c while ((char *)de <= kaddr) { kaddr 642 fs/nilfs2/dir.c kaddr, de); kaddr 103 fs/nilfs2/ifile.c void *kaddr; kaddr 118 fs/nilfs2/ifile.c kaddr = kmap_atomic(req.pr_entry_bh->b_page); kaddr 120 fs/nilfs2/ifile.c req.pr_entry_bh, kaddr); kaddr 122 fs/nilfs2/ifile.c kunmap_atomic(kaddr); kaddr 24 fs/nilfs2/ifile.h void *kaddr = kmap(ibh->b_page); kaddr 26 fs/nilfs2/ifile.h return nilfs_palloc_block_get_entry(ifile, ino, ibh, kaddr); kaddr 36 fs/nilfs2/mdt.c void *kaddr; kaddr 50 fs/nilfs2/mdt.c kaddr = kmap_atomic(bh->b_page); kaddr 51 fs/nilfs2/mdt.c memset(kaddr + bh_offset(bh), 0, i_blocksize(inode)); kaddr 53 fs/nilfs2/mdt.c init_block(inode, bh, kaddr); kaddr 55 fs/nilfs2/mdt.c kunmap_atomic(kaddr); kaddr 478 fs/nilfs2/recovery.c void *kaddr; kaddr 484 fs/nilfs2/recovery.c kaddr = kmap_atomic(page); kaddr 485 fs/nilfs2/recovery.c memcpy(kaddr + bh_offset(bh_org), bh_org->b_data, bh_org->b_size); kaddr 486 fs/nilfs2/recovery.c kunmap_atomic(kaddr); kaddr 202 fs/nilfs2/segbuf.c void *kaddr; kaddr 217 fs/nilfs2/segbuf.c kaddr = kmap_atomic(bh->b_page); kaddr 218 fs/nilfs2/segbuf.c crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); kaddr 219 fs/nilfs2/segbuf.c kunmap_atomic(kaddr); kaddr 75 fs/nilfs2/sufile.c struct buffer_head *bh, void *kaddr) kaddr 77 fs/nilfs2/sufile.c return kaddr + bh_offset(bh) + kaddr 108 fs/nilfs2/sufile.c void *kaddr; kaddr 110 fs/nilfs2/sufile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 111 fs/nilfs2/sufile.c header = kaddr + bh_offset(header_bh); kaddr 114 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 310 fs/nilfs2/sufile.c void *kaddr; kaddr 319 fs/nilfs2/sufile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 320 fs/nilfs2/sufile.c header = kaddr + bh_offset(header_bh); kaddr 322 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 356 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 358 fs/nilfs2/sufile.c sufile, segnum, su_bh, kaddr); kaddr 367 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 369 fs/nilfs2/sufile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 370 fs/nilfs2/sufile.c header = kaddr + bh_offset(header_bh); kaddr 374 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 388 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 408 fs/nilfs2/sufile.c void *kaddr; kaddr 410 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 411 fs/nilfs2/sufile.c su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); kaddr 416 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 420 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 434 fs/nilfs2/sufile.c void *kaddr; kaddr 437 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 438 fs/nilfs2/sufile.c su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); kaddr 441 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 451 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 465 fs/nilfs2/sufile.c void *kaddr; kaddr 468 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 469 fs/nilfs2/sufile.c su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); kaddr 474 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 482 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 524 fs/nilfs2/sufile.c void *kaddr; kaddr 532 fs/nilfs2/sufile.c kaddr = kmap_atomic(bh->b_page); kaddr 533 fs/nilfs2/sufile.c su = nilfs_sufile_block_get_segment_usage(sufile, segnum, bh, kaddr); kaddr 538 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 570 fs/nilfs2/sufile.c void *kaddr; kaddr 579 fs/nilfs2/sufile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 580 fs/nilfs2/sufile.c header = kaddr + bh_offset(header_bh); kaddr 589 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 602 fs/nilfs2/sufile.c void *kaddr; kaddr 605 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 606 fs/nilfs2/sufile.c su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); kaddr 608 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 613 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 651 fs/nilfs2/sufile.c void *kaddr; kaddr 682 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 684 fs/nilfs2/sufile.c sufile, segnum, su_bh, kaddr); kaddr 691 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 703 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 750 fs/nilfs2/sufile.c void *kaddr; kaddr 779 fs/nilfs2/sufile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 780 fs/nilfs2/sufile.c header = kaddr + bh_offset(header_bh); kaddr 782 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 820 fs/nilfs2/sufile.c void *kaddr; kaddr 847 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 849 fs/nilfs2/sufile.c sufile, segnum, su_bh, kaddr); kaddr 860 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 897 fs/nilfs2/sufile.c void *kaddr; kaddr 929 fs/nilfs2/sufile.c kaddr = kmap_atomic(bh->b_page); kaddr 931 fs/nilfs2/sufile.c sufile, sup->sup_segnum, bh, kaddr); kaddr 966 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 1022 fs/nilfs2/sufile.c void *kaddr; kaddr 1071 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 1073 fs/nilfs2/sufile.c su_bh, kaddr); kaddr 1101 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 1113 fs/nilfs2/sufile.c kaddr = kmap_atomic(su_bh->b_page); kaddr 1115 fs/nilfs2/sufile.c sufile, segnum, su_bh, kaddr); kaddr 1122 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 1167 fs/nilfs2/sufile.c void *kaddr; kaddr 1202 fs/nilfs2/sufile.c kaddr = kmap_atomic(header_bh->b_page); kaddr 1203 fs/nilfs2/sufile.c header = kaddr + bh_offset(header_bh); kaddr 1205 fs/nilfs2/sufile.c kunmap_atomic(kaddr); kaddr 77 fs/ntfs/aops.c void *kaddr; kaddr 82 fs/ntfs/aops.c kaddr = kmap_atomic(page); kaddr 83 fs/ntfs/aops.c memset(kaddr + bh_offset(bh) + ofs, 0, kaddr 86 fs/ntfs/aops.c kunmap_atomic(kaddr); kaddr 125 fs/ntfs/aops.c u8 *kaddr; kaddr 133 fs/ntfs/aops.c kaddr = kmap_atomic(page); kaddr 135 fs/ntfs/aops.c post_read_mst_fixup((NTFS_RECORD*)(kaddr + kaddr 137 fs/ntfs/aops.c kunmap_atomic(kaddr); kaddr 727 fs/ntfs/aops.c u8 *kaddr; kaddr 731 fs/ntfs/aops.c kaddr = kmap_atomic(page); kaddr 732 fs/ntfs/aops.c bpos = (unsigned long *)(kaddr + bh_offset(bh)); kaddr 738 fs/ntfs/aops.c kunmap_atomic(kaddr); kaddr 909 fs/ntfs/aops.c u8 *kaddr; kaddr 1105 fs/ntfs/aops.c kaddr = kmap(page); kaddr 1127 fs/ntfs/aops.c (MFT_RECORD*)(kaddr + ofs), &tni)) { kaddr 1152 fs/ntfs/aops.c err2 = pre_write_mst_fixup((NTFS_RECORD*)(kaddr + ofs), kaddr 1242 fs/ntfs/aops.c (MFT_RECORD*)(kaddr + ofs), kaddr 1254 fs/ntfs/aops.c post_write_mst_fixup((NTFS_RECORD*)(kaddr + kaddr 1532 fs/ntfs/attrib.c u8 *kaddr; kaddr 1645 fs/ntfs/attrib.c kaddr = kmap_atomic(page); kaddr 1646 fs/ntfs/attrib.c memcpy(kaddr, (u8*)a + kaddr 1649 fs/ntfs/attrib.c memset(kaddr + attr_size, 0, PAGE_SIZE - attr_size); kaddr 1650 fs/ntfs/attrib.c kunmap_atomic(kaddr); kaddr 1794 fs/ntfs/attrib.c kaddr = kmap_atomic(page); kaddr 1795 fs/ntfs/attrib.c memcpy((u8*)a + mp_ofs, kaddr, attr_size); kaddr 1796 fs/ntfs/attrib.c kunmap_atomic(kaddr); kaddr 2484 fs/ntfs/attrib.c u8 *kaddr; kaddr 2528 fs/ntfs/attrib.c kaddr = kmap_atomic(page); kaddr 2529 fs/ntfs/attrib.c memset(kaddr + start_ofs, val, size - start_ofs); kaddr 2531 fs/ntfs/attrib.c kunmap_atomic(kaddr); kaddr 2549 fs/ntfs/attrib.c kaddr = kmap_atomic(page); kaddr 2550 fs/ntfs/attrib.c memset(kaddr, val, PAGE_SIZE); kaddr 2552 fs/ntfs/attrib.c kunmap_atomic(kaddr); kaddr 2586 fs/ntfs/attrib.c kaddr = kmap_atomic(page); kaddr 2587 fs/ntfs/attrib.c memset(kaddr, val, end_ofs); kaddr 2589 fs/ntfs/attrib.c kunmap_atomic(kaddr); kaddr 40 fs/ntfs/bitmap.c u8 *kaddr; kaddr 68 fs/ntfs/bitmap.c kaddr = page_address(page); kaddr 78 fs/ntfs/bitmap.c u8 *byte = kaddr + pos; kaddr 98 fs/ntfs/bitmap.c memset(kaddr + pos, value ? 0xff : 0, len); kaddr 116 fs/ntfs/bitmap.c kaddr = page_address(page); kaddr 122 fs/ntfs/bitmap.c memset(kaddr, value ? 0xff : 0, len); kaddr 136 fs/ntfs/bitmap.c byte = kaddr + len; kaddr 82 fs/ntfs/dir.c u8 *kaddr; kaddr 316 fs/ntfs/dir.c kaddr = (u8*)page_address(page); kaddr 319 fs/ntfs/dir.c ia = (INDEX_ALLOCATION*)(kaddr + ((vcn << kaddr 322 fs/ntfs/dir.c if ((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_SIZE) { kaddr 355 fs/ntfs/dir.c if (index_end > kaddr + PAGE_SIZE) { kaddr 636 fs/ntfs/dir.c u8 *kaddr; kaddr 794 fs/ntfs/dir.c kaddr = (u8*)page_address(page); kaddr 797 fs/ntfs/dir.c ia = (INDEX_ALLOCATION*)(kaddr + ((vcn << kaddr 800 fs/ntfs/dir.c if ((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_SIZE) { kaddr 833 fs/ntfs/dir.c if (index_end > kaddr + PAGE_SIZE) { kaddr 1101 fs/ntfs/dir.c u8 *kaddr, *bmp, *index_end; kaddr 1214 fs/ntfs/dir.c kaddr = NULL; kaddr 1293 fs/ntfs/dir.c kaddr = (u8*)page_address(ia_page); kaddr 1296 fs/ntfs/dir.c ia = (INDEX_ALLOCATION*)(kaddr + (ia_pos & ~PAGE_MASK & kaddr 1299 fs/ntfs/dir.c if (unlikely((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_SIZE)) { kaddr 1337 fs/ntfs/dir.c if (unlikely(index_end > kaddr + PAGE_SIZE)) { kaddr 793 fs/ntfs/file.c u8 *kaddr; kaddr 796 fs/ntfs/file.c kaddr = kmap_atomic(page); kaddr 799 fs/ntfs/file.c memset(kaddr + pofs, 0, pos - bh_pos); kaddr 803 fs/ntfs/file.c memset(kaddr + pofs, 0, bh_end - end); kaddr 805 fs/ntfs/file.c kunmap_atomic(kaddr); kaddr 1550 fs/ntfs/file.c char *kattr, *kaddr; kaddr 1609 fs/ntfs/file.c kaddr = kmap_atomic(page); kaddr 1611 fs/ntfs/file.c memcpy(kattr + pos, kaddr + pos, bytes); kaddr 1623 fs/ntfs/file.c memcpy(kaddr, kattr, pos); kaddr 1625 fs/ntfs/file.c memcpy(kaddr + end, kattr + end, attr_len - end); kaddr 1627 fs/ntfs/file.c memset(kaddr + attr_len, 0, PAGE_SIZE - attr_len); kaddr 1631 fs/ntfs/file.c kunmap_atomic(kaddr); kaddr 117 fs/ntfs/index.c u8 *index_end, *kaddr; kaddr 273 fs/ntfs/index.c kaddr = (u8*)page_address(page); kaddr 276 fs/ntfs/index.c ia = (INDEX_ALLOCATION*)(kaddr + ((vcn << kaddr 279 fs/ntfs/index.c if ((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_SIZE) { kaddr 312 fs/ntfs/index.c if (index_end > kaddr + PAGE_SIZE) { kaddr 478 fs/ntfs/logfile.c u8 *kaddr = NULL; kaddr 540 fs/ntfs/logfile.c kaddr = (u8*)page_address(page) + (pos & ~PAGE_MASK); kaddr 546 fs/ntfs/logfile.c if (!ntfs_is_empty_recordp((le32*)kaddr)) kaddr 554 fs/ntfs/logfile.c if (ntfs_is_rcrd_recordp((le32*)kaddr)) kaddr 557 fs/ntfs/logfile.c if (!ntfs_is_rstr_recordp((le32*)kaddr) && kaddr 558 fs/ntfs/logfile.c !ntfs_is_chkd_recordp((le32*)kaddr)) { kaddr 569 fs/ntfs/logfile.c (RESTART_PAGE_HEADER*)kaddr, pos, kaddr 1257 fs/ntfs/super.c u32 *kaddr, *kend; kaddr 1312 fs/ntfs/super.c kaddr = (u32*)page_address(page); kaddr 1313 fs/ntfs/super.c if (*(le32*)kaddr == cpu_to_le32(0x72626968)/*'hibr'*/) { kaddr 1319 fs/ntfs/super.c kend = kaddr + NTFS_HIBERFIL_HEADER_SIZE/sizeof(*kaddr); kaddr 1321 fs/ntfs/super.c if (unlikely(*kaddr)) { kaddr 1330 fs/ntfs/super.c } while (++kaddr < kend); kaddr 2466 fs/ntfs/super.c unsigned long *kaddr; kaddr 2480 fs/ntfs/super.c kaddr = kmap_atomic(page); kaddr 2488 fs/ntfs/super.c nr_free -= bitmap_weight(kaddr, kaddr 2490 fs/ntfs/super.c kunmap_atomic(kaddr); kaddr 2537 fs/ntfs/super.c unsigned long *kaddr; kaddr 2551 fs/ntfs/super.c kaddr = kmap_atomic(page); kaddr 2559 fs/ntfs/super.c nr_free -= bitmap_weight(kaddr, kaddr 2561 fs/ntfs/super.c kunmap_atomic(kaddr); kaddr 52 fs/ocfs2/aops.c void *kaddr; kaddr 99 fs/ocfs2/aops.c kaddr = kmap_atomic(bh_result->b_page); kaddr 100 fs/ocfs2/aops.c if (!kaddr) { kaddr 104 fs/ocfs2/aops.c memcpy(kaddr + (bh_result->b_size * iblock), kaddr 107 fs/ocfs2/aops.c kunmap_atomic(kaddr); kaddr 225 fs/ocfs2/aops.c void *kaddr; kaddr 246 fs/ocfs2/aops.c kaddr = kmap_atomic(page); kaddr 248 fs/ocfs2/aops.c memcpy(kaddr, di->id2.i_data.id_data, size); kaddr 250 fs/ocfs2/aops.c memset(kaddr + size, 0, PAGE_SIZE - size); kaddr 252 fs/ocfs2/aops.c kunmap_atomic(kaddr); kaddr 557 fs/ocfs2/aops.c void *kaddr; kaddr 562 fs/ocfs2/aops.c kaddr = kmap_atomic(page); kaddr 566 fs/ocfs2/aops.c memset(kaddr + cluster_start, 0, from - cluster_start); kaddr 568 fs/ocfs2/aops.c memset(kaddr + to, 0, cluster_end - to); kaddr 570 fs/ocfs2/aops.c memset(kaddr + cluster_start, 0, cluster_end - cluster_start); kaddr 573 fs/ocfs2/aops.c kunmap_atomic(kaddr); kaddr 1943 fs/ocfs2/aops.c void *kaddr; kaddr 1952 fs/ocfs2/aops.c kaddr = kmap_atomic(wc->w_target_page); kaddr 1953 fs/ocfs2/aops.c memcpy(di->id2.i_data.id_data + pos, kaddr + pos, *copied); kaddr 1954 fs/ocfs2/aops.c kunmap_atomic(kaddr); kaddr 64 fs/ocfs2/symlink.c void *kaddr; kaddr 76 fs/ocfs2/symlink.c kaddr = kmap_atomic(page); kaddr 77 fs/ocfs2/symlink.c memcpy(kaddr, link, len + 1); kaddr 78 fs/ocfs2/symlink.c kunmap_atomic(kaddr); kaddr 261 fs/orangefs/inode.c char *kaddr; kaddr 371 fs/orangefs/inode.c kaddr = kmap_atomic(next_page); kaddr 372 fs/orangefs/inode.c orangefs_bufmap_page_fill(kaddr, kaddr 375 fs/orangefs/inode.c kunmap_atomic(kaddr); kaddr 37 fs/orangefs/orangefs-bufmap.h void orangefs_bufmap_page_fill(void *kaddr, int buffer_index, int slot_index); kaddr 328 fs/proc/vmcore.c void *kaddr; kaddr 361 fs/proc/vmcore.c kaddr = elfnotes_buf + *fpos - elfcorebuf_sz - vmcoredd_orig_sz; kaddr 362 fs/proc/vmcore.c if (copy_to(buffer, kaddr, tsz, userbuf)) kaddr 589 fs/proc/vmcore.c void *kaddr; kaddr 626 fs/proc/vmcore.c kaddr = elfnotes_buf + start - elfcorebuf_sz - vmcoredd_orig_sz; kaddr 628 fs/proc/vmcore.c kaddr, 0, tsz)) kaddr 156 fs/reiserfs/tail_conversion.c char *kaddr = kmap_atomic(up_to_date_bh->b_page); kaddr 157 fs/reiserfs/tail_conversion.c memset(kaddr + pgoff, 0, blk_size - total_tail); kaddr 158 fs/reiserfs/tail_conversion.c kunmap_atomic(kaddr); kaddr 81 fs/sysv/dir.c char *kaddr, *limit; kaddr 87 fs/sysv/dir.c kaddr = (char *)page_address(page); kaddr 88 fs/sysv/dir.c de = (struct sysv_dir_entry *)(kaddr+offset); kaddr 89 fs/sysv/dir.c limit = kaddr + PAGE_SIZE - SYSV_DIRSIZE; kaddr 145 fs/sysv/dir.c char *kaddr; kaddr 148 fs/sysv/dir.c kaddr = (char*)page_address(page); kaddr 149 fs/sysv/dir.c de = (struct sysv_dir_entry *) kaddr; kaddr 150 fs/sysv/dir.c kaddr += PAGE_SIZE - SYSV_DIRSIZE; kaddr 151 fs/sysv/dir.c for ( ; (char *) de <= kaddr ; de++) { kaddr 182 fs/sysv/dir.c char *kaddr; kaddr 192 fs/sysv/dir.c kaddr = (char*)page_address(page); kaddr 193 fs/sysv/dir.c de = (struct sysv_dir_entry *)kaddr; kaddr 194 fs/sysv/dir.c kaddr += PAGE_SIZE - SYSV_DIRSIZE; kaddr 195 fs/sysv/dir.c while ((char *)de <= kaddr) { kaddr 233 fs/sysv/dir.c char *kaddr = (char*)page_address(page); kaddr 234 fs/sysv/dir.c loff_t pos = page_offset(page) + (char *)de - kaddr; kaddr 291 fs/sysv/dir.c char *kaddr; kaddr 298 fs/sysv/dir.c kaddr = (char *)page_address(page); kaddr 299 fs/sysv/dir.c de = (struct sysv_dir_entry *)kaddr; kaddr 300 fs/sysv/dir.c kaddr += PAGE_SIZE-SYSV_DIRSIZE; kaddr 302 fs/sysv/dir.c for ( ;(char *)de <= kaddr; de++) { kaddr 1013 fs/ubifs/file.c void *kaddr; kaddr 1054 fs/ubifs/file.c kaddr = kmap_atomic(page); kaddr 1055 fs/ubifs/file.c memset(kaddr + len, 0, PAGE_SIZE - len); kaddr 1057 fs/ubifs/file.c kunmap_atomic(kaddr); kaddr 44 fs/udf/file.c char *kaddr; kaddr 52 fs/udf/file.c kaddr = kmap_atomic(page); kaddr 53 fs/udf/file.c memcpy(kaddr, iinfo->i_ext.i_data + iinfo->i_lenEAttr, isize); kaddr 54 fs/udf/file.c memset(kaddr + isize, 0, PAGE_SIZE - isize); kaddr 57 fs/udf/file.c kunmap_atomic(kaddr); kaddr 73 fs/udf/file.c char *kaddr; kaddr 78 fs/udf/file.c kaddr = kmap_atomic(page); kaddr 79 fs/udf/file.c memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr, kaddr, kaddr 82 fs/udf/file.c kunmap_atomic(kaddr); kaddr 255 fs/udf/inode.c char *kaddr; kaddr 286 fs/udf/inode.c kaddr = kmap_atomic(page); kaddr 287 fs/udf/inode.c memset(kaddr + iinfo->i_lenAlloc, 0x00, kaddr 289 fs/udf/inode.c memcpy(kaddr, iinfo->i_ext.i_data + iinfo->i_lenEAttr, kaddr 293 fs/udf/inode.c kunmap_atomic(kaddr); kaddr 311 fs/udf/inode.c kaddr = kmap_atomic(page); kaddr 312 fs/udf/inode.c memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr, kaddr, kaddr 314 fs/udf/inode.c kunmap_atomic(kaddr); kaddr 114 fs/ufs/dir.c char *kaddr = page_address(page); kaddr 129 fs/ufs/dir.c p = (struct ufs_dir_entry *)(kaddr + offs); kaddr 179 fs/ufs/dir.c p = (struct ufs_dir_entry *)(kaddr + offs); kaddr 277 fs/ufs/dir.c char *kaddr; kaddr 280 fs/ufs/dir.c kaddr = page_address(page); kaddr 281 fs/ufs/dir.c de = (struct ufs_dir_entry *) kaddr; kaddr 282 fs/ufs/dir.c kaddr += ufs_last_byte(dir, n) - reclen; kaddr 283 fs/ufs/dir.c while ((char *) de <= kaddr) { kaddr 318 fs/ufs/dir.c char *kaddr; kaddr 337 fs/ufs/dir.c kaddr = page_address(page); kaddr 338 fs/ufs/dir.c dir_end = kaddr + ufs_last_byte(dir, n); kaddr 339 fs/ufs/dir.c de = (struct ufs_dir_entry *)kaddr; kaddr 340 fs/ufs/dir.c kaddr += PAGE_SIZE - reclen; kaddr 341 fs/ufs/dir.c while ((char *)de <= kaddr) { kaddr 441 fs/ufs/dir.c char *kaddr, *limit; kaddr 453 fs/ufs/dir.c kaddr = page_address(page); kaddr 456 fs/ufs/dir.c offset = ufs_validate_entry(sb, kaddr, offset, chunk_mask); kaddr 462 fs/ufs/dir.c de = (struct ufs_dir_entry *)(kaddr+offset); kaddr 463 fs/ufs/dir.c limit = kaddr + ufs_last_byte(inode, n) - UFS_DIR_REC_LEN(1); kaddr 499 fs/ufs/dir.c char *kaddr = page_address(page); kaddr 500 fs/ufs/dir.c unsigned from = ((char*)dir - kaddr) & ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); kaddr 501 fs/ufs/dir.c unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); kaddr 504 fs/ufs/dir.c struct ufs_dir_entry *de = (struct ufs_dir_entry *) (kaddr + from); kaddr 598 fs/ufs/dir.c char *kaddr; kaddr 605 fs/ufs/dir.c kaddr = page_address(page); kaddr 606 fs/ufs/dir.c de = (struct ufs_dir_entry *)kaddr; kaddr 607 fs/ufs/dir.c kaddr += ufs_last_byte(inode, i) - UFS_DIR_REC_LEN(1); kaddr 609 fs/ufs/dir.c while ((char *)de <= kaddr) { kaddr 613 fs/ufs/dir.c "kaddr=%p, de=%p\n", kaddr, de); kaddr 81 include/asm-generic/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) kaddr 93 include/asm-generic/page.h #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \ kaddr 94 include/asm-generic/page.h ((void *)(kaddr) < (void *)memory_end)) kaddr 205 include/linux/dax.h void **kaddr, pfn_t *pfn); kaddr 140 include/linux/device-mapper.h long nr_pages, void **kaddr, pfn_t *pfn); kaddr 204 include/linux/firmware/intel/stratix10-svc-client.h void stratix10_svc_free_memory(struct stratix10_svc_chan *chan, void *kaddr); kaddr 213 include/linux/highmem.h void *kaddr = kmap_atomic(page); kaddr 214 include/linux/highmem.h clear_page(kaddr); kaddr 215 include/linux/highmem.h kunmap_atomic(kaddr); kaddr 222 include/linux/highmem.h void *kaddr = kmap_atomic(page); kaddr 227 include/linux/highmem.h memset(kaddr + start1, 0, end1 - start1); kaddr 230 include/linux/highmem.h memset(kaddr + start2, 0, end2 - start2); kaddr 232 include/linux/highmem.h kunmap_atomic(kaddr); kaddr 353 include/linux/socket.h extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); kaddr 192 include/linux/tee_drv.h void *kaddr; kaddr 124 include/linux/vmalloc.h unsigned long uaddr, void *kaddr, kaddr 252 kernel/events/uprobes.c void *kaddr = kmap_atomic(page); kaddr 253 kernel/events/uprobes.c memcpy(dst, kaddr + (vaddr & ~PAGE_MASK), len); kaddr 254 kernel/events/uprobes.c kunmap_atomic(kaddr); kaddr 259 kernel/events/uprobes.c void *kaddr = kmap_atomic(page); kaddr 260 kernel/events/uprobes.c memcpy(kaddr + (vaddr & ~PAGE_MASK), src, len); kaddr 261 kernel/events/uprobes.c kunmap_atomic(kaddr); kaddr 376 kernel/events/uprobes.c void *kaddr; kaddr 395 kernel/events/uprobes.c kaddr = kmap_atomic(page); kaddr 396 kernel/events/uprobes.c ptr = kaddr + (vaddr & ~PAGE_MASK); kaddr 408 kernel/events/uprobes.c kunmap_atomic(kaddr); kaddr 2128 kernel/power/snapshot.c void *kaddr; kaddr 2130 kernel/power/snapshot.c kaddr = kmap_atomic(page); kaddr 2131 kernel/power/snapshot.c copy_page(buffer, kaddr); kaddr 2132 kernel/power/snapshot.c kunmap_atomic(kaddr); kaddr 2356 kernel/power/snapshot.c void *kaddr; kaddr 2380 kernel/power/snapshot.c kaddr = buffer; kaddr 2387 kernel/power/snapshot.c kaddr = safe_pages_list; kaddr 2389 kernel/power/snapshot.c pbe->copy_page = virt_to_page(kaddr); kaddr 2393 kernel/power/snapshot.c return kaddr; kaddr 162 lib/iov_iter.c void *kaddr, *from; kaddr 178 lib/iov_iter.c kaddr = kmap_atomic(page); kaddr 179 lib/iov_iter.c from = kaddr + offset; kaddr 199 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 202 lib/iov_iter.c offset = from - kaddr; kaddr 204 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 209 lib/iov_iter.c kaddr = kmap(page); kaddr 210 lib/iov_iter.c from = kaddr + offset; kaddr 246 lib/iov_iter.c void *kaddr, *to; kaddr 262 lib/iov_iter.c kaddr = kmap_atomic(page); kaddr 263 lib/iov_iter.c to = kaddr + offset; kaddr 283 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 286 lib/iov_iter.c offset = to - kaddr; kaddr 288 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 293 lib/iov_iter.c kaddr = kmap(page); kaddr 294 lib/iov_iter.c to = kaddr + offset; kaddr 893 lib/iov_iter.c void *kaddr = kmap_atomic(page); kaddr 894 lib/iov_iter.c size_t wanted = copy_to_iter(kaddr + offset, bytes, i); kaddr 895 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 916 lib/iov_iter.c void *kaddr = kmap_atomic(page); kaddr 917 lib/iov_iter.c size_t wanted = _copy_from_iter(kaddr + offset, bytes, i); kaddr 918 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 966 lib/iov_iter.c char *kaddr = kmap_atomic(page), *p = kaddr + offset; kaddr 968 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 972 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 982 lib/iov_iter.c kunmap_atomic(kaddr); kaddr 424 mm/kasan/report.c const void *kaddr = kasan_shadow_to_mem(shadow_row); kaddr 429 mm/kasan/report.c (i == 0) ? ">%px: " : " %px: ", kaddr); kaddr 2159 mm/memory.c void *kaddr = kmap_atomic(dst); kaddr 2168 mm/memory.c if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) kaddr 2169 mm/memory.c clear_page(kaddr); kaddr 2170 mm/memory.c kunmap_atomic(kaddr); kaddr 2993 mm/vmalloc.c void *kaddr, unsigned long pgoff, kaddr 3005 mm/vmalloc.c if (!PAGE_ALIGNED(uaddr) || !PAGE_ALIGNED(kaddr)) kaddr 3008 mm/vmalloc.c area = find_vm_area(kaddr); kaddr 3018 mm/vmalloc.c kaddr += off; kaddr 3021 mm/vmalloc.c struct page *page = vmalloc_to_page(kaddr); kaddr 3029 mm/vmalloc.c kaddr += PAGE_SIZE; kaddr 1543 net/ceph/messenger.c char *kaddr; kaddr 1545 net/ceph/messenger.c kaddr = kmap(page); kaddr 1546 net/ceph/messenger.c BUG_ON(kaddr == NULL); kaddr 1547 net/ceph/messenger.c crc = crc32c(crc, kaddr + page_offset, length); kaddr 2742 net/core/sock.c char *kaddr = kmap(page); kaddr 2743 net/core/sock.c iov.iov_base = kaddr + offset; kaddr 2757 net/core/sock.c char *kaddr = kmap(page); kaddr 2759 net/core/sock.c iov.iov_base = kaddr + offset; kaddr 945 net/ipv4/ip_output.c char *kaddr; kaddr 947 net/ipv4/ip_output.c kaddr = kmap(page); kaddr 948 net/ipv4/ip_output.c csum = csum_partial(kaddr + offset, copy, 0); kaddr 26 net/netfilter/xt_conntrack.c conntrack_addrcmp(const union nf_inet_addr *kaddr, kaddr 31 net/netfilter/xt_conntrack.c return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; kaddr 33 net/netfilter/xt_conntrack.c return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, kaddr 32 net/netfilter/xt_ipvs.c static bool ipvs_mt_addrcmp(const union nf_inet_addr *kaddr, kaddr 38 net/netfilter/xt_ipvs.c return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; kaddr 41 net/netfilter/xt_ipvs.c return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, kaddr 4490 net/packet/af_packet.c void *kaddr = rb->pg_vec[i].buffer; kaddr 4494 net/packet/af_packet.c page = pgv_to_page(kaddr); kaddr 4499 net/packet/af_packet.c kaddr += PAGE_SIZE; kaddr 178 net/socket.c int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr) kaddr 184 net/socket.c if (copy_from_user(kaddr, uaddr, ulen)) kaddr 186 net/socket.c return audit_sockaddr(ulen, kaddr); kaddr 206 net/socket.c static int move_addr_to_user(struct sockaddr_storage *kaddr, int klen, kaddr 221 net/socket.c if (audit_sockaddr(klen, kaddr)) kaddr 223 net/socket.c if (copy_to_user(uaddr, kaddr, len)) kaddr 878 net/sunrpc/cache.c static ssize_t cache_do_downcall(char *kaddr, const char __user *buf, kaddr 885 net/sunrpc/cache.c if (copy_from_user(kaddr, buf, count)) kaddr 887 net/sunrpc/cache.c kaddr[count] = '\0'; kaddr 888 net/sunrpc/cache.c ret = cd->cache_parse(cd, kaddr, count); kaddr 914 net/sunrpc/cache.c char *kaddr; kaddr 924 net/sunrpc/cache.c kaddr = kmap(page); kaddr 925 net/sunrpc/cache.c ret = cache_do_downcall(kaddr, buf, count, cd); kaddr 105 net/sunrpc/socklib.c char *kaddr; kaddr 119 net/sunrpc/socklib.c kaddr = kmap_atomic(*ppage); kaddr 124 net/sunrpc/socklib.c ret = copy_actor(desc, kaddr + base, len); kaddr 129 net/sunrpc/socklib.c ret = copy_actor(desc, kaddr, len); kaddr 132 net/sunrpc/socklib.c kunmap_atomic(kaddr); kaddr 126 net/sunrpc/xdr.c char *kaddr; kaddr 128 net/sunrpc/xdr.c kaddr = kmap_atomic(buf->pages[0]); kaddr 129 net/sunrpc/xdr.c kaddr[buf->page_base + len] = '\0'; kaddr 130 net/sunrpc/xdr.c kunmap_atomic(kaddr); kaddr 802 net/sunrpc/xdr.c void *kaddr; kaddr 815 net/sunrpc/xdr.c kaddr = page_address(*xdr->page_ptr); kaddr 818 net/sunrpc/xdr.c xdr->p = (__be32*)(kaddr + pgoff); kaddr 823 net/sunrpc/xdr.c xdr->end = (__be32*)(kaddr + pgend); kaddr 552 net/tls/tls_device.c char *kaddr = kmap(page); kaddr 567 net/tls/tls_device.c iov.iov_base = kaddr + offset; kaddr 51 security/tomoyo/audit.c const char *kaddr = dump->data; kaddr 52 security/tomoyo/audit.c const unsigned char c = kaddr[offset++]; kaddr 137 security/tomoyo/condition.c const char *kaddr = dump->data; kaddr 138 security/tomoyo/condition.c const unsigned char c = kaddr[offset++]; kaddr 930 security/tomoyo/domain.c char *kaddr = kmap_atomic(page); kaddr 933 security/tomoyo/domain.c memcpy(dump->data + offset, kaddr + offset, kaddr 935 security/tomoyo/domain.c kunmap_atomic(kaddr); kaddr 54 tools/arch/x86/include/asm/insn.h const insn_byte_t *kaddr; /* kernel address of insn to analyze */ kaddr 88 tools/arch/x86/include/asm/insn.h extern void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64); kaddr 108 tools/arch/x86/include/asm/insn.h const void *kaddr, int buf_len) kaddr 111 tools/arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 1); kaddr 113 tools/arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 0); kaddr 40 tools/arch/x86/lib/insn.c void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) kaddr 50 tools/arch/x86/lib/insn.c insn->kaddr = kaddr; kaddr 51 tools/arch/x86/lib/insn.c insn->end_kaddr = kaddr + buf_len; kaddr 52 tools/arch/x86/lib/insn.c insn->next_byte = kaddr; kaddr 592 tools/arch/x86/lib/insn.c - (unsigned long)insn->kaddr); kaddr 11 tools/testing/nvdimm/pmem-dax.c long nr_pages, void **kaddr, pfn_t *pfn) kaddr 26 tools/testing/nvdimm/pmem-dax.c if (kaddr) kaddr 27 tools/testing/nvdimm/pmem-dax.c *kaddr = pmem->virt_addr + offset; kaddr 37 tools/testing/nvdimm/pmem-dax.c if (kaddr) kaddr 38 tools/testing/nvdimm/pmem-dax.c *kaddr = pmem->virt_addr + offset; kaddr 729 virt/kvm/arm/mmu.c static phys_addr_t kvm_kaddr_to_phys(void *kaddr) kaddr 731 virt/kvm/arm/mmu.c if (!is_vmalloc_addr(kaddr)) { kaddr 732 virt/kvm/arm/mmu.c BUG_ON(!virt_addr_valid(kaddr)); kaddr 733 virt/kvm/arm/mmu.c return __pa(kaddr); kaddr 735 virt/kvm/arm/mmu.c return page_to_phys(vmalloc_to_page(kaddr)) + kaddr 736 virt/kvm/arm/mmu.c offset_in_page(kaddr); kaddr 836 virt/kvm/arm/mmu.c void __iomem **kaddr, kaddr 842 virt/kvm/arm/mmu.c *kaddr = ioremap(phys_addr, size); kaddr 843 virt/kvm/arm/mmu.c if (!*kaddr) kaddr 847 virt/kvm/arm/mmu.c *haddr = *kaddr; kaddr 854 virt/kvm/arm/mmu.c iounmap(*kaddr); kaddr 855 virt/kvm/arm/mmu.c *kaddr = NULL;