pgoff 1300 arch/alpha/kernel/osf_sys.c unsigned long len, unsigned long pgoff, pgoff 17 arch/arc/mm/mmap.c #define COLOUR_ALIGN(addr, pgoff) \ pgoff 19 arch/arc/mm/mmap.c (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1))) pgoff 30 arch/arc/mm/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 49 arch/arc/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) pgoff 59 arch/arc/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 74 arch/arc/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 135 arch/arm/mm/fault-armv.c pgoff_t pgoff; pgoff 138 arch/arm/mm/fault-armv.c pgoff = vma->vm_pgoff + ((addr - vma->vm_start) >> PAGE_SHIFT); pgoff 146 arch/arm/mm/fault-armv.c vma_interval_tree_foreach(mpnt, &mapping->i_mmap, pgoff, pgoff) { pgoff 156 arch/arm/mm/fault-armv.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; pgoff 241 arch/arm/mm/flush.c pgoff_t pgoff; pgoff 249 arch/arm/mm/flush.c pgoff = page->index; pgoff 252 arch/arm/mm/flush.c vma_interval_tree_foreach(mpnt, &mapping->i_mmap, pgoff, pgoff) { pgoff 262 arch/arm/mm/flush.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; pgoff 16 arch/arm/mm/mmap.c #define COLOUR_ALIGN(addr,pgoff) \ pgoff 18 arch/arm/mm/mmap.c (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1))) pgoff 31 arch/arm/mm/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 51 arch/arm/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) pgoff 61 arch/arm/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 76 arch/arm/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 82 arch/arm/mm/mmap.c const unsigned long len, const unsigned long pgoff, pgoff 105 arch/arm/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) pgoff 113 arch/arm/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 127 arch/arm/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 12 arch/csky/abiv1/mmap.c #define COLOUR_ALIGN(addr,pgoff) \ pgoff 14 arch/csky/abiv1/mmap.c (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1))) pgoff 26 arch/csky/abiv1/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 44 arch/csky/abiv1/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) pgoff 54 arch/csky/abiv1/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 69 arch/csky/abiv1/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 33 arch/ia64/include/asm/unistd.h int fd, long pgoff); pgoff 28 arch/ia64/kernel/sys_ia64.c unsigned long pgoff, unsigned long flags) pgoff 140 arch/ia64/kernel/sys_ia64.c sys_mmap2 (unsigned long addr, unsigned long len, int prot, int flags, int fd, long pgoff) pgoff 142 arch/ia64/kernel/sys_ia64.c addr = ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); pgoff 139 arch/ia64/mm/hugetlbpage.c unsigned long pgoff, unsigned long flags) pgoff 42 arch/m68k/kernel/sys_m68k.c unsigned long fd, unsigned long pgoff) pgoff 49 arch/m68k/kernel/sys_m68k.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); pgoff 38 arch/microblaze/kernel/sys_microblaze.c off_t, pgoff) pgoff 40 arch/microblaze/kernel/sys_microblaze.c if (pgoff & ~PAGE_MASK) pgoff 43 arch/microblaze/kernel/sys_microblaze.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff >> PAGE_SHIFT); pgoff 48 arch/microblaze/kernel/sys_microblaze.c unsigned long, pgoff) pgoff 50 arch/microblaze/kernel/sys_microblaze.c if (pgoff & (~PAGE_MASK >> 12)) pgoff 54 arch/microblaze/kernel/sys_microblaze.c pgoff >> (PAGE_SHIFT - 12)); pgoff 72 arch/mips/kernel/syscall.c unsigned long, pgoff) pgoff 74 arch/mips/kernel/syscall.c if (pgoff & (~PAGE_MASK >> 12)) pgoff 78 arch/mips/kernel/syscall.c pgoff >> (PAGE_SHIFT - 12)); pgoff 23 arch/mips/mm/mmap.c #define COLOUR_ALIGN(addr, pgoff) \ pgoff 25 arch/mips/mm/mmap.c (((pgoff) << PAGE_SHIFT) & shm_align_mask)) pgoff 30 arch/mips/mm/mmap.c unsigned long addr0, unsigned long len, unsigned long pgoff, pgoff 52 arch/mips/mm/mmap.c ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) pgoff 64 arch/mips/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 76 arch/mips/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 102 arch/mips/mm/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 105 arch/mips/mm/mmap.c addr0, len, pgoff, flags, UP); pgoff 113 arch/mips/mm/mmap.c unsigned long addr0, unsigned long len, unsigned long pgoff, pgoff 117 arch/mips/mm/mmap.c addr0, len, pgoff, flags, DOWN); pgoff 14 arch/nds32/kernel/sys_nds32.c unsigned long, fd, unsigned long, pgoff) pgoff 16 arch/nds32/kernel/sys_nds32.c if (pgoff & (~PAGE_MASK >> 12)) pgoff 20 arch/nds32/kernel/sys_nds32.c pgoff >> (PAGE_SHIFT - 12)); pgoff 8 arch/nds32/mm/mmap.c #define COLOUR_ALIGN(addr,pgoff) \ pgoff 10 arch/nds32/mm/mmap.c (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1))) pgoff 23 arch/nds32/mm/mmap.c unsigned long len, unsigned long pgoff, pgoff 46 arch/nds32/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) pgoff 56 arch/nds32/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 71 arch/nds32/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 77 arch/nios2/mm/cacheflush.c pgoff_t pgoff; pgoff 79 arch/nios2/mm/cacheflush.c pgoff = page->index; pgoff 82 arch/nios2/mm/cacheflush.c vma_interval_tree_foreach(mpnt, &mapping->i_mmap, pgoff, pgoff) { pgoff 90 arch/nios2/mm/cacheflush.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; pgoff 331 arch/parisc/kernel/cache.c pgoff_t pgoff; pgoff 343 arch/parisc/kernel/cache.c pgoff = page->index; pgoff 351 arch/parisc/kernel/cache.c vma_interval_tree_foreach(mpnt, &mapping->i_mmap, pgoff, pgoff) { pgoff 352 arch/parisc/kernel/cache.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; pgoff 40 arch/parisc/kernel/sys_parisc.c unsigned long pgoff) pgoff 42 arch/parisc/kernel/sys_parisc.c return (get_offset(last_mmap) + pgoff) << PAGE_SHIFT; pgoff 46 arch/parisc/kernel/sys_parisc.c unsigned int last_mmap, unsigned long pgoff) pgoff 50 arch/parisc/kernel/sys_parisc.c (shared_align_offset(last_mmap, pgoff) << PAGE_SHIFT); pgoff 83 arch/parisc/kernel/sys_parisc.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 101 arch/parisc/kernel/sys_parisc.c (addr - shared_align_offset(last_mmap, pgoff)) pgoff 109 arch/parisc/kernel/sys_parisc.c addr = COLOR_ALIGN(addr, last_mmap, pgoff); pgoff 125 arch/parisc/kernel/sys_parisc.c info.align_offset = shared_align_offset(last_mmap, pgoff); pgoff 130 arch/parisc/kernel/sys_parisc.c SET_LAST_MMAP(filp, addr - (pgoff << PAGE_SHIFT)); pgoff 137 arch/parisc/kernel/sys_parisc.c const unsigned long len, const unsigned long pgoff, pgoff 157 arch/parisc/kernel/sys_parisc.c (addr - shared_align_offset(last_mmap, pgoff)) pgoff 166 arch/parisc/kernel/sys_parisc.c addr = COLOR_ALIGN(addr, last_mmap, pgoff); pgoff 182 arch/parisc/kernel/sys_parisc.c info.align_offset = shared_align_offset(last_mmap, pgoff); pgoff 194 arch/parisc/kernel/sys_parisc.c return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); pgoff 198 arch/parisc/kernel/sys_parisc.c SET_LAST_MMAP(filp, addr - (pgoff << PAGE_SHIFT)); pgoff 257 arch/parisc/kernel/sys_parisc.c unsigned long pgoff) pgoff 262 arch/parisc/kernel/sys_parisc.c pgoff >> (PAGE_SHIFT - 12)); pgoff 27 arch/parisc/mm/hugetlbpage.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 44 arch/parisc/mm/hugetlbpage.c return arch_get_unmapped_area(file, addr, len, pgoff, flags); pgoff 13 arch/powerpc/include/asm/book3s/64/hugetlb.h unsigned long len, unsigned long pgoff, pgoff 17 arch/powerpc/include/asm/syscalls.h unsigned long fd, unsigned long pgoff); pgoff 53 arch/powerpc/kernel/sys_ppc32.c unsigned long fd, unsigned long pgoff) pgoff 56 arch/powerpc/kernel/sys_ppc32.c return sys_mmap(addr, len, prot, flags, fd, pgoff << 12); pgoff 62 arch/powerpc/kernel/syscalls.c unsigned long, fd, unsigned long, pgoff) pgoff 64 arch/powerpc/kernel/syscalls.c return do_mmap2(addr, len, prot, flags, fd, pgoff, PAGE_SHIFT-12); pgoff 216 arch/powerpc/kvm/book3s_64_vio.c if (vmf->pgoff >= kvmppc_tce_pages(stt->size)) pgoff 219 arch/powerpc/kvm/book3s_64_vio.c page = kvm_spapr_get_tce_page(stt, vmf->pgoff); pgoff 524 arch/powerpc/kvm/book3s_64_vio.c unsigned long i, pgoff, ret = H_SUCCESS; pgoff 528 arch/powerpc/kvm/book3s_64_vio.c for (i = 0, pgoff = 0; i < subpages; pgoff 529 arch/powerpc/kvm/book3s_64_vio.c ++i, pgoff += IOMMU_PAGE_SIZE(tbl)) { pgoff 532 arch/powerpc/kvm/book3s_64_vio.c io_entry + i, ua + pgoff, dir); pgoff 370 arch/powerpc/kvm/book3s_64_vio_hv.c unsigned long i, pgoff, ret = H_SUCCESS; pgoff 374 arch/powerpc/kvm/book3s_64_vio_hv.c for (i = 0, pgoff = 0; i < subpages; pgoff 375 arch/powerpc/kvm/book3s_64_vio_hv.c ++i, pgoff += IOMMU_PAGE_SIZE(tbl)) { pgoff 378 arch/powerpc/kvm/book3s_64_vio_hv.c io_entry + i, ua + pgoff, dir); pgoff 245 arch/powerpc/kvm/book3s_xive_native.c page_offset = vmf->pgoff - vma->vm_pgoff; pgoff 284 arch/powerpc/kvm/book3s_xive_native.c switch (vmf->pgoff - vma->vm_pgoff) { pgoff 47 arch/powerpc/mm/book3s64/radix_hugetlbpage.c unsigned long len, unsigned long pgoff, pgoff 535 arch/powerpc/mm/hugetlbpage.c unsigned long len, unsigned long pgoff, pgoff 544 arch/powerpc/mm/hugetlbpage.c pgoff, flags); pgoff 91 arch/powerpc/mm/mmap.c unsigned long len, unsigned long pgoff, pgoff 134 arch/powerpc/mm/mmap.c const unsigned long pgoff, pgoff 182 arch/powerpc/mm/mmap.c return radix__arch_get_unmapped_area(filp, addr0, len, pgoff, flags); pgoff 645 arch/powerpc/mm/slice.c unsigned long pgoff, pgoff 655 arch/powerpc/mm/slice.c const unsigned long pgoff, pgoff 230 arch/powerpc/platforms/cell/spufs/file.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 308 arch/powerpc/platforms/cell/spufs/file.c unsigned long area, offset = vmf->pgoff << PAGE_SHIFT; pgoff 65 arch/s390/kernel/vdso.c if (vmf->pgoff >= vdso_pages) pgoff 68 arch/s390/kernel/vdso.c vmf->page = vdso_pagelist[vmf->pgoff]; pgoff 4488 arch/s390/kvm/kvm-s390.c if ((vmf->pgoff == KVM_S390_SIE_PAGE_OFFSET) pgoff 279 arch/s390/mm/hugetlbpage.c unsigned long pgoff, unsigned long flags) pgoff 295 arch/s390/mm/hugetlbpage.c unsigned long pgoff, unsigned long flags) pgoff 327 arch/s390/mm/hugetlbpage.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 355 arch/s390/mm/hugetlbpage.c pgoff, flags); pgoff 358 arch/s390/mm/hugetlbpage.c pgoff, flags); pgoff 77 arch/s390/mm/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 106 arch/s390/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 124 arch/s390/mm/mmap.c const unsigned long len, const unsigned long pgoff, pgoff 157 arch/s390/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 12 arch/sh/include/asm/syscalls.h unsigned long fd, unsigned long pgoff); pgoff 43 arch/sh/kernel/sys_sh.c unsigned long fd, unsigned long pgoff) pgoff 49 arch/sh/kernel/sys_sh.c if (pgoff & ((1 << (PAGE_SHIFT - 12)) - 1)) pgoff 52 arch/sh/kernel/sys_sh.c pgoff >>= PAGE_SHIFT - 12; pgoff 54 arch/sh/kernel/sys_sh.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); pgoff 26 arch/sh/mm/mmap.c unsigned long pgoff) pgoff 29 arch/sh/mm/mmap.c unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; pgoff 35 arch/sh/mm/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 47 arch/sh/mm/mmap.c ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) pgoff 61 arch/sh/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 76 arch/sh/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 82 arch/sh/mm/mmap.c const unsigned long len, const unsigned long pgoff, pgoff 96 arch/sh/mm/mmap.c ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) pgoff 111 arch/sh/mm/mmap.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 126 arch/sh/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 42 arch/sparc/kernel/sys_sparc_32.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 51 arch/sparc/kernel/sys_sparc_32.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) pgoff 68 arch/sparc/kernel/sys_sparc_32.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 103 arch/sparc/kernel/sys_sparc_32.c unsigned long, pgoff) pgoff 108 arch/sparc/kernel/sys_sparc_32.c pgoff >> (PAGE_SHIFT - 12)); pgoff 120 arch/sparc/kernel/sys_sparc_32.c unsigned long, prot, unsigned long, pgoff, pgoff 127 arch/sparc/kernel/sys_sparc_32.c (pgoff >> (PAGE_SHIFT - 12)), flags); pgoff 82 arch/sparc/kernel/sys_sparc_64.c unsigned long pgoff) pgoff 85 arch/sparc/kernel/sys_sparc_64.c unsigned long off = (pgoff<<PAGE_SHIFT) & (SHMLBA-1); pgoff 90 arch/sparc/kernel/sys_sparc_64.c unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 103 arch/sparc/kernel/sys_sparc_64.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) pgoff 119 arch/sparc/kernel/sys_sparc_64.c addr = COLOR_ALIGN(addr, pgoff); pgoff 134 arch/sparc/kernel/sys_sparc_64.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 149 arch/sparc/kernel/sys_sparc_64.c const unsigned long len, const unsigned long pgoff, pgoff 167 arch/sparc/kernel/sys_sparc_64.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) pgoff 182 arch/sparc/kernel/sys_sparc_64.c addr = COLOR_ALIGN(addr, pgoff); pgoff 197 arch/sparc/kernel/sys_sparc_64.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 218 arch/sparc/kernel/sys_sparc_64.c unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 228 arch/sparc/kernel/sys_sparc_64.c return get_area(NULL, orig_addr, len, pgoff, flags); pgoff 241 arch/sparc/kernel/sys_sparc_64.c addr = get_area(NULL, orig_addr, len + (align_goal - PAGE_SIZE), pgoff, flags); pgoff 259 arch/sparc/kernel/sys_sparc_64.c addr = get_area(NULL, orig_addr, len, pgoff, flags); pgoff 25 arch/sparc/kernel/systbls.h unsigned long fd, unsigned long pgoff); pgoff 27 arch/sparc/kernel/systbls.h unsigned long prot, unsigned long pgoff, pgoff 30 arch/sparc/mm/hugetlbpage.c unsigned long pgoff, pgoff 61 arch/sparc/mm/hugetlbpage.c const unsigned long pgoff, pgoff 99 arch/sparc/mm/hugetlbpage.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 129 arch/sparc/mm/hugetlbpage.c pgoff, flags); pgoff 132 arch/sparc/mm/hugetlbpage.c pgoff, flags); pgoff 47 arch/x86/entry/vdso/vma.c if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) pgoff 50 arch/x86/entry/vdso/vma.c vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); pgoff 96 arch/x86/entry/vdso/vma.c sym_offset = (long)(vmf->pgoff << PAGE_SHIFT) + pgoff 133 arch/x86/kernel/sys_x86_64.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 165 arch/x86/kernel/sys_x86_64.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 175 arch/x86/kernel/sys_x86_64.c const unsigned long len, const unsigned long pgoff, pgoff 227 arch/x86/kernel/sys_x86_64.c info.align_offset = pgoff << PAGE_SHIFT; pgoff 244 arch/x86/kernel/sys_x86_64.c return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); pgoff 82 arch/x86/mm/hugetlbpage.c unsigned long pgoff, unsigned long flags) pgoff 105 arch/x86/mm/hugetlbpage.c unsigned long pgoff, unsigned long flags) pgoff 145 arch/x86/mm/hugetlbpage.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 181 arch/x86/mm/hugetlbpage.c pgoff, flags); pgoff 184 arch/x86/mm/hugetlbpage.c pgoff, flags); pgoff 28 arch/x86/um/shared/sysdep/syscalls_64.h unsigned long fd, unsigned long pgoff); pgoff 39 arch/xtensa/kernel/syscall.c #define COLOUR_ALIGN(addr, pgoff) \ pgoff 41 arch/xtensa/kernel/syscall.c (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1))) pgoff 62 arch/xtensa/kernel/syscall.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 71 arch/xtensa/kernel/syscall.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) pgoff 82 arch/xtensa/kernel/syscall.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 94 arch/xtensa/kernel/syscall.c addr = COLOUR_ALIGN(addr, pgoff); pgoff 1080 drivers/android/binder_alloc.c pgoff_t pgoff = buffer_space_offset & ~PAGE_MASK; pgoff 1085 drivers/android/binder_alloc.c *pgoffp = pgoff; pgoff 1115 drivers/android/binder_alloc.c pgoff_t pgoff; pgoff 1119 drivers/android/binder_alloc.c buffer_offset, &pgoff); pgoff 1120 drivers/android/binder_alloc.c size = min_t(size_t, bytes, PAGE_SIZE - pgoff); pgoff 1121 drivers/android/binder_alloc.c kptr = kmap(page) + pgoff; pgoff 1147 drivers/android/binder_alloc.c pgoff_t pgoff; pgoff 1152 drivers/android/binder_alloc.c buffer_offset, &pgoff); pgoff 1153 drivers/android/binder_alloc.c size = min_t(size_t, bytes, PAGE_SIZE - pgoff); pgoff 1155 drivers/android/binder_alloc.c tmpptr = base_ptr + pgoff; pgoff 1166 drivers/android/binder_alloc.c pgoff = 0; pgoff 330 drivers/char/mem.c unsigned long pgoff, pgoff 333 drivers/char/mem.c if (!valid_mmap_phys_addr_range(pgoff, len)) pgoff 335 drivers/char/mem.c return pgoff << PAGE_SHIFT; pgoff 738 drivers/char/mem.c unsigned long pgoff, unsigned long flags) pgoff 748 drivers/char/mem.c return shmem_get_unmapped_area(NULL, addr, len, pgoff, flags); pgoff 752 drivers/char/mem.c return current->mm->get_unmapped_area(file, addr, len, pgoff, flags); pgoff 142 drivers/char/mspec.c pgoff_t index = vmf->pgoff; pgoff 63 drivers/dax/device.c __weak phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, pgoff 69 drivers/dax/device.c phys = pgoff * PAGE_SIZE + res->start; pgoff 99 drivers/dax/device.c phys = dax_pgoff_to_phys(dev_dax, vmf->pgoff, PAGE_SIZE); pgoff 101 drivers/dax/device.c dev_dbg(dev, "pgoff_to_phys(%#lx) failed\n", vmf->pgoff); pgoff 117 drivers/dax/device.c pgoff_t pgoff; pgoff 146 drivers/dax/device.c pgoff = linear_page_index(vmf->vma, pmd_addr); pgoff 147 drivers/dax/device.c phys = dax_pgoff_to_phys(dev_dax, pgoff, PMD_SIZE); pgoff 149 drivers/dax/device.c dev_dbg(dev, "pgoff_to_phys(%#lx) failed\n", pgoff); pgoff 166 drivers/dax/device.c pgoff_t pgoff; pgoff 196 drivers/dax/device.c pgoff = linear_page_index(vmf->vma, pud_addr); pgoff 197 drivers/dax/device.c phys = dax_pgoff_to_phys(dev_dax, pgoff, PUD_SIZE); pgoff 199 drivers/dax/device.c dev_dbg(dev, "pgoff_to_phys(%#lx) failed\n", pgoff); pgoff 249 drivers/dax/device.c pgoff_t pgoff; pgoff 257 drivers/dax/device.c pgoff = linear_page_index(vmf->vma, vmf->address pgoff 266 drivers/dax/device.c page->index = pgoff + i; pgoff 330 drivers/dax/device.c unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 342 drivers/dax/device.c off = pgoff << PAGE_SHIFT; pgoff 354 drivers/dax/device.c pgoff, flags); pgoff 360 drivers/dax/device.c return current->mm->get_unmapped_area(filp, addr, len, pgoff, flags); pgoff 47 drivers/dax/super.c pgoff_t *pgoff) pgoff 51 drivers/dax/super.c if (pgoff) pgoff 52 drivers/dax/super.c *pgoff = PHYS_PFN(phys_off); pgoff 74 drivers/dax/super.c pgoff_t pgoff, pgoff_end; pgoff 88 drivers/dax/super.c err = bdev_dax_pgoff(bdev, start, PAGE_SIZE, &pgoff); pgoff 104 drivers/dax/super.c len = dax_direct_access(dax_dev, pgoff, 1, &kaddr, &pfn); pgoff 296 drivers/dax/super.c long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, pgoff 310 drivers/dax/super.c avail = dax_dev->ops->direct_access(dax_dev, pgoff, nr_pages, pgoff 327 drivers/dax/super.c size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, pgoff 333 drivers/dax/super.c return dax_dev->ops->copy_from_iter(dax_dev, pgoff, addr, bytes, i); pgoff 337 drivers/dax/super.c size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, pgoff 343 drivers/dax/super.c return dax_dev->ops->copy_to_iter(dax_dev, pgoff, addr, bytes, i); pgoff 1041 drivers/dma-buf/dma-buf.c unsigned long pgoff) pgoff 1054 drivers/dma-buf/dma-buf.c if (pgoff + vma_pages(vma) < pgoff) pgoff 1058 drivers/dma-buf/dma-buf.c if (pgoff + vma_pages(vma) > pgoff 1066 drivers/dma-buf/dma-buf.c vma->vm_pgoff = pgoff; pgoff 28 drivers/dma-buf/udmabuf.c vmf->page = ubuf->pages[vmf->pgoff]; pgoff 129 drivers/dma-buf/udmabuf.c pgoff_t pgoff, pgcnt, pgidx, pgbuf = 0, pglimit; pgoff 170 drivers/dma-buf/udmabuf.c pgoff = list[i].offset >> PAGE_SHIFT; pgoff 174 drivers/dma-buf/udmabuf.c file_inode(memfd)->i_mapping, pgoff + pgidx); pgoff 345 drivers/gpu/drm/drm_gem_cma_helper.c unsigned long pgoff, pgoff 359 drivers/gpu/drm/drm_gem_cma_helper.c pgoff, pgoff 479 drivers/gpu/drm/drm_gem_shmem_helper.c if (vmf->pgoff >= num_pages || WARN_ON_ONCE(!shmem->pages)) pgoff 482 drivers/gpu/drm/drm_gem_shmem_helper.c page = shmem->pages[vmf->pgoff]; pgoff 179 drivers/gpu/drm/etnaviv/etnaviv_gem.c pgoff_t pgoff; pgoff 200 drivers/gpu/drm/etnaviv/etnaviv_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; pgoff 202 drivers/gpu/drm/etnaviv/etnaviv_gem.c page = pages[pgoff]; pgoff 115 drivers/gpu/drm/gma500/framebuffer.c address = vmf->address - (vmf->pgoff << PAGE_SHIFT); pgoff 1150 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned long req_size, pgoff, req_start; pgoff 1168 drivers/gpu/drm/i915/gvt/kvmgt.c pgoff = vma->vm_pgoff & pgoff 1170 drivers/gpu/drm/i915/gvt/kvmgt.c req_start = pgoff << PAGE_SHIFT; pgoff 1178 drivers/gpu/drm/i915/gvt/kvmgt.c pgoff = (gvt_aperture_pa_base(vgpu->gvt) >> PAGE_SHIFT) + pgoff; pgoff 1180 drivers/gpu/drm/i915/gvt/kvmgt.c return remap_pfn_range(vma, virtaddr, pgoff, req_size, pg_prot); pgoff 97 drivers/gpu/drm/lima/lima_gem.c pgoff_t pgoff; pgoff 100 drivers/gpu/drm/lima/lima_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; pgoff 101 drivers/gpu/drm/lima/lima_gem.c pfn = __pfn_to_pfn_t(page_to_pfn(bo->pages[pgoff]), PFN_DEV); pgoff 257 drivers/gpu/drm/msm/msm_gem.c pgoff_t pgoff; pgoff 284 drivers/gpu/drm/msm/msm_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; pgoff 286 drivers/gpu/drm/msm/msm_gem.c pfn = page_to_pfn(pages[pgoff]); pgoff 351 drivers/gpu/drm/omapdrm/omap_gem.c pgoff_t pgoff; pgoff 354 drivers/gpu/drm/omapdrm/omap_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; pgoff 357 drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_cpu_sync_page(obj, pgoff); pgoff 358 drivers/gpu/drm/omapdrm/omap_gem.c pfn = page_to_pfn(omap_obj->pages[pgoff]); pgoff 361 drivers/gpu/drm/omapdrm/omap_gem.c pfn = (omap_obj->dma_addr >> PAGE_SHIFT) + pgoff; pgoff 381 drivers/gpu/drm/omapdrm/omap_gem.c pgoff_t pgoff, base_pgoff; pgoff 403 drivers/gpu/drm/omapdrm/omap_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; pgoff 409 drivers/gpu/drm/omapdrm/omap_gem.c base_pgoff = round_down(pgoff, m << n_shift); pgoff 414 drivers/gpu/drm/omapdrm/omap_gem.c vaddr = vmf->address - ((pgoff - base_pgoff) << PAGE_SHIFT); pgoff 430 drivers/gpu/drm/omapdrm/omap_gem.c int off = pgoff % m; pgoff 702 drivers/gpu/drm/omapdrm/omap_gem.c void omap_gem_cpu_sync_page(struct drm_gem_object *obj, int pgoff) pgoff 710 drivers/gpu/drm/omapdrm/omap_gem.c if (omap_obj->dma_addrs[pgoff]) { pgoff 711 drivers/gpu/drm/omapdrm/omap_gem.c dma_unmap_page(dev->dev, omap_obj->dma_addrs[pgoff], pgoff 713 drivers/gpu/drm/omapdrm/omap_gem.c omap_obj->dma_addrs[pgoff] = 0; pgoff 74 drivers/gpu/drm/omapdrm/omap_gem.h void omap_gem_cpu_sync_page(struct drm_gem_object *obj, int pgoff); pgoff 69 drivers/hwtracing/intel_th/msu.c unsigned long pgoff; pgoff 981 drivers/hwtracing/intel_th/msu.c unsigned long pgoff) pgoff 983 drivers/hwtracing/intel_th/msu.c if (pgoff >= msc->nr_pages) pgoff 986 drivers/hwtracing/intel_th/msu.c return virt_to_page(msc->base + (pgoff << PAGE_SHIFT)); pgoff 1084 drivers/hwtracing/intel_th/msu.c win->pgoff = prev->pgoff + prev->nr_blocks; pgoff 1367 drivers/hwtracing/intel_th/msu.c static struct page *msc_buffer_get_page(struct msc *msc, unsigned long pgoff) pgoff 1374 drivers/hwtracing/intel_th/msu.c return msc_buffer_contig_get_page(msc, pgoff); pgoff 1377 drivers/hwtracing/intel_th/msu.c if (pgoff >= win->pgoff && pgoff < win->pgoff + win->nr_blocks) pgoff 1383 drivers/hwtracing/intel_th/msu.c pgoff -= win->pgoff; pgoff 1389 drivers/hwtracing/intel_th/msu.c if (pgoff < pgsz) pgoff 1390 drivers/hwtracing/intel_th/msu.c return page + pgoff; pgoff 1392 drivers/hwtracing/intel_th/msu.c pgoff -= pgsz; pgoff 1585 drivers/hwtracing/intel_th/msu.c vmf->page = msc_buffer_get_page(msc, vmf->pgoff); pgoff 1591 drivers/hwtracing/intel_th/msu.c vmf->page->index = vmf->pgoff; pgoff 150 drivers/infiniband/core/umem.c unsigned long va, pgoff; pgoff 162 drivers/infiniband/core/umem.c pgoff = umem->address & ~PAGE_MASK; pgoff 168 drivers/infiniband/core/umem.c mask |= (sg_dma_address(sg) + pgoff) ^ va; pgoff 169 drivers/infiniband/core/umem.c va += sg_dma_len(sg) - pgoff; pgoff 176 drivers/infiniband/core/umem.c pgoff = 0; pgoff 609 drivers/infiniband/hw/hfi1/file_ops.c page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); pgoff 879 drivers/infiniband/hw/qib/qib_file_ops.c page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); pgoff 2249 drivers/iommu/intel-iommu.c unsigned int pgoff = sg->offset & ~PAGE_MASK; pgoff 2252 drivers/iommu/intel-iommu.c sg->dma_address = ((dma_addr_t)iov_pfn << VTD_PAGE_SHIFT) + pgoff; pgoff 2254 drivers/iommu/intel-iommu.c pteval = (sg_phys(sg) - pgoff) | prot; pgoff 166 drivers/md/dm-linear.c static long linear_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, pgoff 173 drivers/md/dm-linear.c sector_t dev_sector, sector = pgoff * PAGE_SECTORS; pgoff 176 drivers/md/dm-linear.c ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages * PAGE_SIZE, &pgoff); pgoff 179 drivers/md/dm-linear.c return dax_direct_access(dax_dev, pgoff, nr_pages, kaddr, pfn); pgoff 182 drivers/md/dm-linear.c static size_t linear_dax_copy_from_iter(struct dm_target *ti, pgoff_t pgoff, pgoff 188 drivers/md/dm-linear.c sector_t dev_sector, sector = pgoff * PAGE_SECTORS; pgoff 191 drivers/md/dm-linear.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) pgoff 193 drivers/md/dm-linear.c return dax_copy_from_iter(dax_dev, pgoff, addr, bytes, i); pgoff 196 drivers/md/dm-linear.c static size_t linear_dax_copy_to_iter(struct dm_target *ti, pgoff_t pgoff, pgoff 202 drivers/md/dm-linear.c sector_t dev_sector, sector = pgoff * PAGE_SECTORS; pgoff 205 drivers/md/dm-linear.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) pgoff 207 drivers/md/dm-linear.c return dax_copy_to_iter(dax_dev, pgoff, addr, bytes, i); pgoff 948 drivers/md/dm-log-writes.c static long log_writes_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, pgoff 952 drivers/md/dm-log-writes.c sector_t sector = pgoff * PAGE_SECTORS; pgoff 955 drivers/md/dm-log-writes.c ret = bdev_dax_pgoff(lc->dev->bdev, sector, nr_pages * PAGE_SIZE, &pgoff); pgoff 958 drivers/md/dm-log-writes.c return dax_direct_access(lc->dev->dax_dev, pgoff, nr_pages, kaddr, pfn); pgoff 962 drivers/md/dm-log-writes.c pgoff_t pgoff, void *addr, size_t bytes, pgoff 966 drivers/md/dm-log-writes.c sector_t sector = pgoff * PAGE_SECTORS; pgoff 969 drivers/md/dm-log-writes.c if (bdev_dax_pgoff(lc->dev->bdev, sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) pgoff 982 drivers/md/dm-log-writes.c return dax_copy_from_iter(lc->dev->dax_dev, pgoff, addr, bytes, i); pgoff 986 drivers/md/dm-log-writes.c pgoff_t pgoff, void *addr, size_t bytes, pgoff 990 drivers/md/dm-log-writes.c sector_t sector = pgoff * PAGE_SECTORS; pgoff 992 drivers/md/dm-log-writes.c if (bdev_dax_pgoff(lc->dev->bdev, sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) pgoff 994 drivers/md/dm-log-writes.c return dax_copy_to_iter(lc->dev->dax_dev, pgoff, addr, bytes, i); pgoff 317 drivers/md/dm-stripe.c static long stripe_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, pgoff 320 drivers/md/dm-stripe.c sector_t dev_sector, sector = pgoff * PAGE_SECTORS; pgoff 332 drivers/md/dm-stripe.c ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages * PAGE_SIZE, &pgoff); pgoff 335 drivers/md/dm-stripe.c return dax_direct_access(dax_dev, pgoff, nr_pages, kaddr, pfn); pgoff 338 drivers/md/dm-stripe.c static size_t stripe_dax_copy_from_iter(struct dm_target *ti, pgoff_t pgoff, pgoff 341 drivers/md/dm-stripe.c sector_t dev_sector, sector = pgoff * PAGE_SECTORS; pgoff 352 drivers/md/dm-stripe.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) pgoff 354 drivers/md/dm-stripe.c return dax_copy_from_iter(dax_dev, pgoff, addr, bytes, i); pgoff 357 drivers/md/dm-stripe.c static size_t stripe_dax_copy_to_iter(struct dm_target *ti, pgoff_t pgoff, pgoff 360 drivers/md/dm-stripe.c sector_t dev_sector, sector = pgoff * PAGE_SECTORS; pgoff 371 drivers/md/dm-stripe.c if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) pgoff 373 drivers/md/dm-stripe.c return dax_copy_to_iter(dax_dev, pgoff, addr, bytes, i); pgoff 144 drivers/md/dm-target.c static long io_err_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, pgoff 1081 drivers/md/dm.c static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 1085 drivers/md/dm.c sector_t sector = pgoff * PAGE_SECTORS; pgoff 1100 drivers/md/dm.c ret = ti->type->direct_access(ti, pgoff, nr_pages, kaddr, pfn); pgoff 1127 drivers/md/dm.c static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 1131 drivers/md/dm.c sector_t sector = pgoff * PAGE_SECTORS; pgoff 1144 drivers/md/dm.c ret = ti->type->dax_copy_from_iter(ti, pgoff, addr, bytes, i); pgoff 1151 drivers/md/dm.c static size_t dm_dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 1155 drivers/md/dm.c sector_t sector = pgoff * PAGE_SECTORS; pgoff 1168 drivers/md/dm.c ret = ti->type->dax_copy_to_iter(ti, pgoff, addr, bytes, i); pgoff 2232 drivers/media/common/videobuf2/videobuf2-core.c unsigned long pgoff, pgoff 2235 drivers/media/common/videobuf2/videobuf2-core.c unsigned long off = pgoff << PAGE_SHIFT; pgoff 1139 drivers/media/common/videobuf2/videobuf2-v4l2.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 1143 drivers/media/common/videobuf2/videobuf2-v4l2.c return vb2_get_unmapped_area(vdev->queue, addr, len, pgoff, flags); pgoff 366 drivers/media/usb/uvc/uvc_queue.c unsigned long pgoff) pgoff 368 drivers/media/usb/uvc/uvc_queue.c return vb2_get_unmapped_area(&queue->queue, 0, 0, pgoff, 0); pgoff 1456 drivers/media/usb/uvc/uvc_v4l2.c unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 1464 drivers/media/usb/uvc/uvc_v4l2.c return uvc_queue_get_unmapped_area(&stream->queue, pgoff); pgoff 776 drivers/media/usb/uvc/uvcvideo.h unsigned long pgoff); pgoff 371 drivers/media/v4l2-core/v4l2-dev.c unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 381 drivers/media/v4l2-core/v4l2-dev.c ret = vdev->fops->get_unmapped_area(filp, addr, len, pgoff, flags); pgoff 133 drivers/misc/cxl/context.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 144 drivers/misc/ocxl/context.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 80 drivers/misc/ocxl/sysfs.c if (vmf->pgoff >= (afu->config.global_mmio_size >> PAGE_SHIFT)) pgoff 83 drivers/misc/ocxl/sysfs.c offset = vmf->pgoff; pgoff 1098 drivers/mtd/mtdchar.c unsigned long pgoff, pgoff 1109 drivers/mtd/mtdchar.c if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT)) pgoff 1112 drivers/mtd/mtdchar.c offset = pgoff << PAGE_SHIFT; pgoff 1127 drivers/net/ethernet/brocade/bna/bfa_ioc.c u32 pgnum, pgoff, loff = 0; pgoff 1131 drivers/net/ethernet/brocade/bna/bfa_ioc.c pgoff = PSS_SMEM_PGOFF(loff); pgoff 243 drivers/nvdimm/pmem.c __weak long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff, pgoff 246 drivers/nvdimm/pmem.c resource_size_t offset = PFN_PHYS(pgoff) + pmem->data_offset; pgoff 248 drivers/nvdimm/pmem.c if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, pgoff 273 drivers/nvdimm/pmem.c pgoff_t pgoff, long nr_pages, void **kaddr, pfn_t *pfn) pgoff 277 drivers/nvdimm/pmem.c return __pmem_direct_access(pmem, pgoff, nr_pages, kaddr, pfn); pgoff 286 drivers/nvdimm/pmem.c static size_t pmem_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 292 drivers/nvdimm/pmem.c static size_t pmem_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 29 drivers/nvdimm/pmem.h long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff, pgoff 36 drivers/s390/block/dcssblk.c static long dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 49 drivers/s390/block/dcssblk.c pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) pgoff 55 drivers/s390/block/dcssblk.c pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) pgoff 919 drivers/s390/block/dcssblk.c __dcssblk_direct_access(struct dcssblk_dev_info *dev_info, pgoff_t pgoff, pgoff 922 drivers/s390/block/dcssblk.c resource_size_t offset = pgoff * PAGE_SIZE; pgoff 936 drivers/s390/block/dcssblk.c dcssblk_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, pgoff 941 drivers/s390/block/dcssblk.c return __dcssblk_direct_access(dev_info, pgoff, nr_pages, kaddr, pfn); pgoff 704 drivers/scsi/bfa/bfa_ioc.c u32 r32, fwstate, pgnum, pgoff, loff = 0; pgoff 734 drivers/scsi/bfa/bfa_ioc.c pgoff = PSS_SMEM_PGOFF(loff); pgoff 1443 drivers/scsi/bfa/bfa_ioc.c u32 pgnum, pgoff; pgoff 1449 drivers/scsi/bfa/bfa_ioc.c pgoff = PSS_SMEM_PGOFF(loff); pgoff 1665 drivers/scsi/bfa/bfa_ioc.c u32 pgnum, pgoff; pgoff 1674 drivers/scsi/bfa/bfa_ioc.c pgoff = PSS_SMEM_PGOFF(loff); pgoff 1866 drivers/scsi/bfa/bfa_ioc.c u32 pgnum, pgoff; pgoff 1895 drivers/scsi/bfa/bfa_ioc.c pgoff = PSS_SMEM_PGOFF(loff); pgoff 4766 drivers/scsi/bfa/bfa_ioc.c u32 pgnum, pgoff, i; pgoff 4769 drivers/scsi/bfa/bfa_ioc.c pgoff = PSS_SMEM_PGOFF(loff); pgoff 1132 drivers/scsi/cxlflash/ocxl_hw.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 1234 drivers/scsi/sg.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 362 drivers/staging/android/ashmem.c unsigned long len, unsigned long pgoff, pgoff 365 drivers/staging/android/ashmem.c return current->mm->get_unmapped_area(file, addr, len, pgoff, flags); pgoff 207 drivers/staging/comedi/comedi_buf.c unsigned int pgoff = offset_in_page(offset); pgoff 212 drivers/staging/comedi/comedi_buf.c int l = min_t(int, len - done, PAGE_SIZE - pgoff); pgoff 213 drivers/staging/comedi/comedi_buf.c void *b = bm->page_list[pg].virt_addr + pgoff; pgoff 222 drivers/staging/comedi/comedi_buf.c pgoff = 0; pgoff 1542 drivers/target/target_core_user.c offset = (vmf->pgoff - mi) << PAGE_SHIFT; pgoff 692 drivers/uio/uio.c offset = (vmf->pgoff - mi) << PAGE_SHIFT; pgoff 214 drivers/usb/gadget/function/uvc_queue.c unsigned long pgoff) pgoff 216 drivers/usb/gadget/function/uvc_queue.c return vb2_get_unmapped_area(&queue->queue, 0, 0, pgoff, 0); pgoff 84 drivers/usb/gadget/function/uvc_queue.h unsigned long pgoff); pgoff 340 drivers/usb/gadget/function/uvc_v4l2.c unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 346 drivers/usb/gadget/function/uvc_v4l2.c return uvcg_queue_get_unmapped_area(&uvc->video.queue, pgoff); pgoff 1251 drivers/usb/mon/mon_bin.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 1200 drivers/vfio/pci/vfio_pci.c u64 phys_len, req_len, pgoff, req_start; pgoff 1225 drivers/vfio/pci/vfio_pci.c pgoff = vma->vm_pgoff & pgoff 1227 drivers/vfio/pci/vfio_pci.c req_start = pgoff << PAGE_SHIFT; pgoff 1251 drivers/vfio/pci/vfio_pci.c vma->vm_pgoff = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff; pgoff 560 drivers/vfio/platform/vfio_platform_common.c u64 req_len, pgoff, req_start; pgoff 563 drivers/vfio/platform/vfio_platform_common.c pgoff = vma->vm_pgoff & pgoff 565 drivers/vfio/platform/vfio_platform_common.c req_start = pgoff << PAGE_SHIFT; pgoff 571 drivers/vfio/platform/vfio_platform_common.c vma->vm_pgoff = (region.addr >> PAGE_SHIFT) + pgoff; pgoff 46 drivers/video/fbdev/core/fb_defio.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 62 drivers/video/fbdev/core/fb_defio.c page->index = vmf->pgoff; pgoff 1447 drivers/video/fbdev/core/fbmem.c unsigned long pgoff, unsigned long flags) pgoff 1452 drivers/video/fbdev/core/fbmem.c if (pgoff > fb_size || len > fb_size - pgoff) pgoff 1455 drivers/video/fbdev/core/fbmem.c return (unsigned long)info->screen_base + pgoff; pgoff 49 drivers/w1/slaves/w1_ds250x.c int pgoff = pageno * W1_PAGE_SIZE; pgoff 63 drivers/w1/slaves/w1_ds250x.c buf[1] = pgoff & 0xff; pgoff 64 drivers/w1/slaves/w1_ds250x.c buf[2] = pgoff >> 8; pgoff 71 drivers/w1/slaves/w1_ds250x.c w1_read_block(sl->master, &data->eprom[pgoff], W1_PAGE_SIZE); pgoff 74 drivers/w1/slaves/w1_ds250x.c if (w1_calc_crc8(&data->eprom[pgoff], W1_PAGE_SIZE) != crc8) pgoff 88 drivers/w1/slaves/w1_ds250x.c int pgoff, epoff; pgoff 97 drivers/w1/slaves/w1_ds250x.c epoff = pgoff = pageno * W1_PAGE_SIZE; pgoff 105 drivers/w1/slaves/w1_ds250x.c buf[1] = pgoff & 0xff; pgoff 106 drivers/w1/slaves/w1_ds250x.c buf[2] = pgoff >> 8; pgoff 121 drivers/w1/slaves/w1_ds250x.c pgoff = (redir ^ 0xff) * W1_PAGE_SIZE; pgoff 83 drivers/xen/gntalloc.c uint16_t pgoff:12; /* Bits 0-11: Offset of the byte to clear */ pgoff 188 drivers/xen/gntalloc.c tmp[gref->notify.pgoff] = 0; pgoff 391 drivers/xen/gntalloc.c int pgoff; pgoff 398 drivers/xen/gntalloc.c pgoff = op.index & (PAGE_SIZE - 1); pgoff 431 drivers/xen/gntalloc.c gref->notify.pgoff = pgoff; pgoff 121 drivers/xen/privcmd-buf.c vmf->pgoff, (void *)vmf->address); pgoff 916 drivers/xen/privcmd.c vmf->pgoff, (void *)vmf->address); pgoff 1204 fs/btrfs/check-integrity.c size_t pgoff; pgoff 1211 fs/btrfs/check-integrity.c pgoff = offset_in_page(start_offset + offset); pgoff 1214 fs/btrfs/check-integrity.c cur = min(len, ((size_t)PAGE_SIZE - pgoff)); pgoff 1217 fs/btrfs/check-integrity.c memcpy(dst, kaddr + pgoff, cur); pgoff 1221 fs/btrfs/check-integrity.c pgoff = 0; pgoff 3366 fs/btrfs/inode.c int pgoff, u64 start, size_t len) pgoff 3381 fs/btrfs/inode.c crypto_shash_update(shash, kaddr + pgoff, len); pgoff 3392 fs/btrfs/inode.c memset(kaddr + pgoff, 1, len); pgoff 8010 fs/btrfs/inode.c struct page *page, unsigned int pgoff, pgoff 8047 fs/btrfs/inode.c pgoff, isector, repair_endio, repair_arg); pgoff 8105 fs/btrfs/inode.c unsigned int pgoff; pgoff 8120 fs/btrfs/inode.c pgoff = bvec.bv_offset; pgoff 8128 fs/btrfs/inode.c pgoff, start, start + sectorsize - 1, pgoff 8148 fs/btrfs/inode.c pgoff += sectorsize; pgoff 8149 fs/btrfs/inode.c ASSERT(pgoff < PAGE_SIZE); pgoff 8213 fs/btrfs/inode.c unsigned int pgoff; pgoff 8230 fs/btrfs/inode.c pgoff = bvec.bv_offset; pgoff 8235 fs/btrfs/inode.c bvec.bv_page, pgoff, start, sectorsize); pgoff 8245 fs/btrfs/inode.c pgoff, start, start + sectorsize - 1, pgoff 8267 fs/btrfs/inode.c pgoff += sectorsize; pgoff 8268 fs/btrfs/inode.c ASSERT(pgoff < PAGE_SIZE); pgoff 1430 fs/ceph/addr.c loff_t off = vmf->pgoff << PAGE_SHIFT; pgoff 1525 fs/ceph/inode.c pgoff_t pgoff = ctl->index / nsize; pgoff 1527 fs/ceph/inode.c if (!ctl->page || pgoff != page_index(ctl->page)) { pgoff 1530 fs/ceph/inode.c ctl->page = grab_cache_page(&dir->i_data, pgoff); pgoff 1532 fs/ceph/inode.c ctl->page = find_lock_page(&dir->i_data, pgoff); pgoff 297 fs/cramfs/inode.c static u32 cramfs_get_block_range(struct inode *inode, u32 pgoff, u32 *pages) pgoff 308 fs/cramfs/inode.c blockptrs = (u32 *)(sbi->linear_virt_addr + OFFSET(inode) + pgoff * 4); pgoff 318 fs/cramfs/inode.c pgoff+i, pgoff + *pages - 1, pgoff 360 fs/cramfs/inode.c unsigned long address, pgoff = vma->vm_pgoff; pgoff 380 fs/cramfs/inode.c if (pgoff >= max_pages) pgoff 382 fs/cramfs/inode.c pages = min(vma_pages(vma), max_pages - pgoff); pgoff 384 fs/cramfs/inode.c offset = cramfs_get_block_range(inode, pgoff, &pages); pgoff 394 fs/cramfs/inode.c if (pgoff + pages == max_pages && cramfs_last_page_is_shared(inode)) { pgoff 435 fs/cramfs/inode.c file_dentry(file)->d_name.name, pgoff, pgoff 442 fs/cramfs/inode.c file_dentry(file)->d_name.name, pgoff, bailout_reason); pgoff 456 fs/cramfs/inode.c unsigned long pgoff, unsigned long flags) pgoff 465 fs/cramfs/inode.c if (pgoff >= max_pages || pages > max_pages - pgoff) pgoff 468 fs/cramfs/inode.c offset = cramfs_get_block_range(inode, pgoff, &block_pages); pgoff 473 fs/cramfs/inode.c file_dentry(file)->d_name.name, pgoff*PAGE_SIZE, len, addr); pgoff 688 fs/dax.c pgoff_t pgoff; pgoff 692 fs/dax.c rc = bdev_dax_pgoff(bdev, sector, size, &pgoff); pgoff 697 fs/dax.c rc = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), &kaddr, NULL); pgoff 766 fs/dax.c unsigned long pgoff_address(pgoff_t pgoff, struct vm_area_struct *vma) pgoff 770 fs/dax.c address = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); pgoff 995 fs/dax.c pgoff_t pgoff; pgoff 999 fs/dax.c rc = bdev_dax_pgoff(iomap->bdev, sector, size, &pgoff); pgoff 1003 fs/dax.c length = dax_direct_access(iomap->dax_dev, pgoff, PHYS_PFN(size), pgoff 1070 fs/dax.c pgoff_t pgoff; pgoff 1074 fs/dax.c rc = bdev_dax_pgoff(bdev, sector, PAGE_SIZE, &pgoff); pgoff 1079 fs/dax.c rc = dax_direct_access(dax_dev, pgoff, 1, &kaddr, NULL); pgoff 1133 fs/dax.c pgoff_t pgoff; pgoff 1141 fs/dax.c ret = bdev_dax_pgoff(bdev, sector, size, &pgoff); pgoff 1145 fs/dax.c map_len = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), pgoff 1164 fs/dax.c xfer = dax_copy_from_iter(dax_dev, pgoff, kaddr, pgoff 1167 fs/dax.c xfer = dax_copy_to_iter(dax_dev, pgoff, kaddr, pgoff 1250 fs/dax.c XA_STATE(xas, &mapping->i_pages, vmf->pgoff); pgoff 1253 fs/dax.c loff_t pos = (loff_t)vmf->pgoff << PAGE_SHIFT; pgoff 1471 fs/dax.c XA_STATE_ORDER(xas, &mapping->i_pages, vmf->pgoff, PMD_ORDER); pgoff 1500 fs/dax.c if ((vmf->pgoff & PG_PMD_COLOUR) != pgoff 1673 fs/dax.c XA_STATE_ORDER(xas, &mapping->i_pages, vmf->pgoff, order); pgoff 1718 fs/dax.c loff_t start = ((loff_t)vmf->pgoff) << PAGE_SHIFT; pgoff 43 fs/f2fs/file.c trace_f2fs_filemap_fault(inode, vmf->pgoff, (unsigned long)ret); pgoff 200 fs/hugetlbfs/inode.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 516 fs/hugetlbfs/inode.c pgoff_t pgoff; pgoff 521 fs/hugetlbfs/inode.c pgoff = offset >> PAGE_SHIFT; pgoff 526 fs/hugetlbfs/inode.c hugetlb_vmdelete_list(&mapping->i_mmap, pgoff, 0); pgoff 44 fs/ocfs2/mmap.c vma, vmf->page, vmf->pgoff); pgoff 1251 fs/ocfs2/ocfs2_trace.h void *area, void *page, unsigned long pgoff), pgoff 1252 fs/ocfs2/ocfs2_trace.h TP_ARGS(ino, area, page, pgoff), pgoff 1257 fs/ocfs2/ocfs2_trace.h __field(unsigned long, pgoff) pgoff 1263 fs/ocfs2/ocfs2_trace.h __entry->pgoff = pgoff; pgoff 1266 fs/ocfs2/ocfs2_trace.h __entry->ino, __entry->area, __entry->page, __entry->pgoff) pgoff 308 fs/proc/inode.c unsigned long len, unsigned long pgoff, pgoff 324 fs/proc/inode.c rv = get_area(file, orig_addr, len, pgoff, flags); pgoff 281 fs/proc/task_mmu.c vm_flags_t flags, unsigned long long pgoff, pgoff 292 fs/proc/task_mmu.c seq_put_hex_ll(m, " ", pgoff, 8); pgoff 306 fs/proc/task_mmu.c unsigned long long pgoff = 0; pgoff 315 fs/proc/task_mmu.c pgoff = ((loff_t)vma->vm_pgoff) << PAGE_SHIFT; pgoff 320 fs/proc/task_mmu.c show_vma_header_prefix(m, start, end, flags, pgoff, dev, ino); pgoff 152 fs/proc/task_nommu.c unsigned long long pgoff = 0; pgoff 161 fs/proc/task_nommu.c pgoff = (loff_t)vma->vm_pgoff << PAGE_SHIFT; pgoff 173 fs/proc/task_nommu.c pgoff, pgoff 416 fs/proc/vmcore.c pgoff_t index = vmf->pgoff; pgoff 35 fs/ramfs/file-mmu.c unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 38 fs/ramfs/file-mmu.c return current->mm->get_unmapped_area(file, addr, len, pgoff, flags); pgoff 29 fs/ramfs/file-nommu.c unsigned long pgoff, pgoff 203 fs/ramfs/file-nommu.c unsigned long pgoff, unsigned long flags) pgoff 216 fs/ramfs/file-nommu.c if (pgoff >= maxpages) pgoff 219 fs/ramfs/file-nommu.c if (maxpages - pgoff < lpages) pgoff 227 fs/ramfs/file-nommu.c nr = find_get_pages(inode->i_mapping, &pgoff, lpages, pages); pgoff 154 fs/reiserfs/tail_conversion.c unsigned pgoff = pgoff 157 fs/reiserfs/tail_conversion.c memset(kaddr + pgoff, 0, blk_size - total_tail); pgoff 21 fs/romfs/mmap-nommu.c unsigned long pgoff, pgoff 35 fs/romfs/mmap-nommu.c offset = pgoff << PAGE_SHIFT; pgoff 38 fs/romfs/mmap-nommu.c if ((pgoff >= maxpages) || (maxpages - pgoff < lpages)) pgoff 44 fs/romfs/mmap-nommu.c if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT)) pgoff 1168 fs/xfs/xfs_trace.h __field(pgoff_t, pgoff) pgoff 1176 fs/xfs/xfs_trace.h __entry->pgoff = page_offset(page); pgoff 1185 fs/xfs/xfs_trace.h __entry->pgoff, pgoff 16 include/asm-generic/syscalls.h unsigned long fd, unsigned long pgoff); pgoff 22 include/asm-generic/syscalls.h unsigned long fd, off_t pgoff); pgoff 92 include/drm/drm_gem_cma_helper.h unsigned long pgoff, pgoff 113 include/linux/dax.h int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff); pgoff 204 include/linux/dax.h long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, pgoff 208 include/linux/dax.h size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, pgoff 210 include/linux/dax.h size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, pgoff 139 include/linux/device-mapper.h typedef long (*dm_dax_direct_access_fn) (struct dm_target *ti, pgoff_t pgoff, pgoff 141 include/linux/device-mapper.h typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *ti, pgoff_t pgoff, pgoff 35 include/linux/futex.h unsigned long pgoff; pgoff 158 include/linux/huge_mm.h unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 324 include/linux/hugetlb.h unsigned long len, unsigned long pgoff, pgoff 421 include/linux/mm.h pgoff_t pgoff; /* Logical page offset based on vma */ pgoff 2278 include/linux/mm.h unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert, pgoff 2281 include/linux/mm.h unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert) pgoff 2283 include/linux/mm.h return __vma_adjust(vma, start, end, pgoff, insert, NULL); pgoff 2299 include/linux/mm.h unsigned long addr, unsigned long len, pgoff_t pgoff, pgoff 2343 include/linux/mm.h unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, pgoff 2347 include/linux/mm.h vm_flags_t vm_flags, unsigned long pgoff, unsigned long *populate, pgoff 2357 include/linux/mm.h unsigned long pgoff, unsigned long *populate, pgoff 2360 include/linux/mm.h return do_mmap(file, addr, len, prot, flags, 0, pgoff, populate, uf); pgoff 378 include/linux/mm_types.h unsigned long pgoff, unsigned long flags); pgoff 405 include/linux/pagemap.h pgoff_t pgoff; pgoff 414 include/linux/pagemap.h pgoff = compound_head(page)->index; pgoff 415 include/linux/pagemap.h pgoff += page - compound_head(page); pgoff 416 include/linux/pagemap.h return pgoff; pgoff 450 include/linux/pagemap.h pgoff_t pgoff; pgoff 453 include/linux/pagemap.h pgoff = (address - vma->vm_start) >> PAGE_SHIFT; pgoff 454 include/linux/pagemap.h pgoff += vma->vm_pgoff; pgoff 455 include/linux/pagemap.h return pgoff; pgoff 141 include/linux/sched/mm.h unsigned long len, unsigned long pgoff, pgoff 63 include/linux/shmem_fs.h unsigned long len, unsigned long pgoff, unsigned long flags); pgoff 878 include/linux/syscalls.h unsigned long prot, unsigned long pgoff, pgoff 1215 include/linux/syscalls.h unsigned long fd, unsigned long pgoff); pgoff 1269 include/linux/syscalls.h unsigned long fd, unsigned long pgoff); pgoff 125 include/linux/vmalloc.h unsigned long pgoff, unsigned long size); pgoff 128 include/linux/vmalloc.h unsigned long pgoff); pgoff 978 include/media/videobuf2-core.h unsigned long pgoff, pgoff 301 include/media/videobuf2-v4l2.h unsigned long len, unsigned long pgoff, unsigned long flags); pgoff 20 include/trace/events/fs_dax.h __field(pgoff_t, pgoff) pgoff 34 include/trace/events/fs_dax.h __entry->pgoff = vmf->pgoff; pgoff 48 include/trace/events/fs_dax.h __entry->pgoff, pgoff 160 include/trace/events/fs_dax.h __field(pgoff_t, pgoff) pgoff 171 include/trace/events/fs_dax.h __entry->pgoff = vmf->pgoff; pgoff 181 include/trace/events/fs_dax.h __entry->pgoff, pgoff 260 include/trace/events/fs_dax.h TP_PROTO(struct inode *inode, pgoff_t pgoff, pgoff_t pglen), pgoff 261 include/trace/events/fs_dax.h TP_ARGS(inode, pgoff, pglen), pgoff 264 include/trace/events/fs_dax.h __field(pgoff_t, pgoff) pgoff 271 include/trace/events/fs_dax.h __entry->pgoff = pgoff; pgoff 278 include/trace/events/fs_dax.h __entry->pgoff, pgoff 545 ipc/shm.c unsigned long addr, unsigned long len, unsigned long pgoff, pgoff 551 ipc/shm.c pgoff, flags); pgoff 5438 kernel/events/core.c if (vmf->pgoff == 0) pgoff 5448 kernel/events/core.c if (vmf->pgoff && (vmf->flags & FAULT_FLAG_WRITE)) pgoff 5451 kernel/events/core.c vmf->page = perf_mmap_to_page(rb, vmf->pgoff); pgoff 5457 kernel/events/core.c vmf->page->index = vmf->pgoff; pgoff 7372 kernel/events/core.c u64 pgoff; pgoff 7684 kernel/events/core.c .pgoff = (u64)vma->vm_pgoff << PAGE_SHIFT, pgoff 82 kernel/events/internal.h pgoff_t pgoff, int nr_pages, long watermark, int flags); pgoff 96 kernel/events/internal.h perf_mmap_to_page(struct ring_buffer *rb, unsigned long pgoff); pgoff 630 kernel/events/ring_buffer.c pgoff_t pgoff, int nr_pages, long watermark, int flags) pgoff 713 kernel/events/ring_buffer.c rb->aux_pgoff = pgoff; pgoff 733 kernel/events/ring_buffer.c __perf_mmap_to_page(struct ring_buffer *rb, unsigned long pgoff) pgoff 735 kernel/events/ring_buffer.c if (pgoff > rb->nr_pages) pgoff 738 kernel/events/ring_buffer.c if (pgoff == 0) pgoff 741 kernel/events/ring_buffer.c return virt_to_page(rb->data_pages[pgoff - 1]); pgoff 827 kernel/events/ring_buffer.c __perf_mmap_to_page(struct ring_buffer *rb, unsigned long pgoff) pgoff 830 kernel/events/ring_buffer.c if (pgoff > data_page_nr(rb)) pgoff 833 kernel/events/ring_buffer.c return vmalloc_to_page((void *)rb->user_page + pgoff * PAGE_SIZE); pgoff 906 kernel/events/ring_buffer.c perf_mmap_to_page(struct ring_buffer *rb, unsigned long pgoff) pgoff 910 kernel/events/ring_buffer.c if (pgoff > rb->aux_pgoff + rb->aux_nr_pages) pgoff 914 kernel/events/ring_buffer.c if (pgoff >= rb->aux_pgoff) { pgoff 915 kernel/events/ring_buffer.c int aux_pgoff = array_index_nospec(pgoff - rb->aux_pgoff, rb->aux_nr_pages); pgoff 920 kernel/events/ring_buffer.c return __perf_mmap_to_page(rb, pgoff); pgoff 974 kernel/events/uprobes.c unsigned long pgoff = offset >> PAGE_SHIFT; pgoff 983 kernel/events/uprobes.c vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff) { pgoff 740 kernel/futex.c key->shared.pgoff = basepage_index(tail); pgoff 46 kernel/relay.c pgoff_t pgoff = vmf->pgoff; pgoff 51 kernel/relay.c page = vmalloc_to_page(buf->start + (pgoff << PAGE_SHIFT)); pgoff 2389 mm/filemap.c pgoff_t offset = vmf->pgoff; pgoff 2438 mm/filemap.c pgoff_t offset = vmf->pgoff; pgoff 2484 mm/filemap.c pgoff_t offset = vmf->pgoff; pgoff 559 mm/huge_memory.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 562 mm/huge_memory.c loff_t off = (loff_t)pgoff << PAGE_SHIFT; pgoff 571 mm/huge_memory.c return current->mm->get_unmapped_area(filp, addr, len, pgoff, flags); pgoff 3677 mm/hugetlb.c pgoff_t pgoff; pgoff 3684 mm/hugetlb.c pgoff = ((address - vma->vm_start) >> PAGE_SHIFT) + pgoff 3694 mm/hugetlb.c vma_interval_tree_foreach(iter_vma, &mapping->i_mmap, pgoff, pgoff) { pgoff 347 mm/internal.h pgoff_t pgoff = page_to_pgoff(page); pgoff 348 mm/internal.h return vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); pgoff 902 mm/khugepaged.c .pgoff = linear_page_index(vma, address), pgoff 1417 mm/khugepaged.c static void retract_page_tables(struct address_space *mapping, pgoff_t pgoff) pgoff 1424 mm/khugepaged.c vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff) { pgoff 1443 mm/khugepaged.c addr = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); pgoff 1973 mm/khugepaged.c pgoff_t pgoff = linear_page_index(vma, pgoff 1982 mm/khugepaged.c khugepaged_scan_file(mm, file, pgoff, hpage); pgoff 71 mm/madvise.c pgoff_t pgoff; pgoff 134 mm/madvise.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); pgoff 136 mm/madvise.c vma->vm_file, pgoff, vma_policy(vma), pgoff 5441 mm/memcontrol.c pgoff_t pgoff; pgoff 5449 mm/memcontrol.c pgoff = linear_page_index(vma, addr); pgoff 5455 mm/memcontrol.c page = find_get_entry(mapping, pgoff); pgoff 5464 mm/memcontrol.c page = find_get_page(mapping, pgoff); pgoff 5466 mm/memcontrol.c page = find_get_page(mapping, pgoff); pgoff 444 mm/memory-failure.c pgoff_t pgoff; pgoff 450 mm/memory-failure.c pgoff = page_to_pgoff(page); pgoff 459 mm/memory-failure.c pgoff, pgoff) { pgoff 484 mm/memory-failure.c pgoff_t pgoff = page_to_pgoff(page); pgoff 489 mm/memory-failure.c vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff 490 mm/memory-failure.c pgoff) { pgoff 3437 mm/memory.c pgoff_t start_pgoff = vmf->pgoff; pgoff 3916 mm/memory.c .pgoff = linear_page_index(vma, address), pgoff 738 mm/mempolicy.c pgoff_t pgoff; pgoff 758 mm/mempolicy.c pgoff = vma->vm_pgoff + pgoff 761 mm/mempolicy.c vma->anon_vma, vma->vm_file, pgoff, pgoff 2390 mm/mempolicy.c unsigned long pgoff; pgoff 2402 mm/mempolicy.c pgoff = vma->vm_pgoff; pgoff 2403 mm/mempolicy.c pgoff += (addr - vma->vm_start) >> PAGE_SHIFT; pgoff 2404 mm/mempolicy.c polnid = offset_il_node(pol, pgoff); pgoff 51 mm/mincore.c static unsigned char mincore_page(struct address_space *mapping, pgoff_t pgoff) pgoff 64 mm/mincore.c page = find_get_entry(mapping, pgoff); pgoff 83 mm/mincore.c page = find_get_page(mapping, pgoff); pgoff 85 mm/mincore.c page = find_get_page(mapping, pgoff); pgoff 102 mm/mincore.c pgoff_t pgoff; pgoff 104 mm/mincore.c pgoff = linear_page_index(vma, addr); pgoff 105 mm/mincore.c for (i = 0; i < nr; i++, pgoff++) pgoff 106 mm/mincore.c vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); pgoff 523 mm/mlock.c pgoff_t pgoff; pgoff 535 mm/mlock.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); pgoff 537 mm/mlock.c vma->vm_file, pgoff, vma_policy(vma), pgoff 718 mm/mmap.c unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert, pgoff 865 mm/mmap.c vma->vm_pgoff = pgoff; pgoff 1139 mm/mmap.c pgoff_t pgoff, struct mempolicy *policy, pgoff 1172 mm/mmap.c anon_vma, file, pgoff, pgoff 1181 mm/mmap.c pgoff+pglen, pgoff 1204 mm/mmap.c anon_vma, file, pgoff+pglen, pgoff 1374 mm/mmap.c unsigned long pgoff, unsigned long len) pgoff 1381 mm/mmap.c if (pgoff > maxsize >> PAGE_SHIFT) pgoff 1392 mm/mmap.c unsigned long pgoff, unsigned long *populate, pgoff 1426 mm/mmap.c if ((pgoff + (len >> PAGE_SHIFT)) < pgoff) pgoff 1436 mm/mmap.c addr = get_unmapped_area(file, addr, len, pgoff, flags); pgoff 1471 mm/mmap.c if (!file_mmap_ok(file, inode, pgoff, len)) pgoff 1541 mm/mmap.c pgoff = 0; pgoff 1548 mm/mmap.c pgoff = addr >> PAGE_SHIFT; pgoff 1569 mm/mmap.c addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); pgoff 1579 mm/mmap.c unsigned long fd, unsigned long pgoff) pgoff 1619 mm/mmap.c retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff); pgoff 1628 mm/mmap.c unsigned long, fd, unsigned long, pgoff) pgoff 1630 mm/mmap.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); pgoff 1712 mm/mmap.c unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, pgoff 1757 mm/mmap.c NULL, file, pgoff, NULL, NULL_VM_UFFD_CTX); pgoff 1776 mm/mmap.c vma->vm_pgoff = pgoff; pgoff 2102 mm/mmap.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 2140 mm/mmap.c unsigned long len, unsigned long pgoff, pgoff 2192 mm/mmap.c unsigned long pgoff, unsigned long flags) pgoff 2215 mm/mmap.c pgoff = 0; pgoff 2219 mm/mmap.c addr = get_area(file, addr, len, pgoff, flags); pgoff 2892 mm/mmap.c unsigned long, prot, unsigned long, pgoff, unsigned long, flags) pgoff 2913 mm/mmap.c if (pgoff + (size >> PAGE_SHIFT) < pgoff) pgoff 2976 mm/mmap.c prot, flags, pgoff, &populate, NULL); pgoff 2997 mm/mmap.c pgoff_t pgoff = addr >> PAGE_SHIFT; pgoff 3034 mm/mmap.c NULL, NULL, pgoff, NULL, NULL_VM_UFFD_CTX); pgoff 3050 mm/mmap.c vma->vm_pgoff = pgoff; pgoff 3209 mm/mmap.c unsigned long addr, unsigned long len, pgoff_t pgoff, pgoff 3224 mm/mmap.c pgoff = addr >> PAGE_SHIFT; pgoff 3231 mm/mmap.c vma->anon_vma, vma->vm_file, pgoff, vma_policy(vma), pgoff 3261 mm/mmap.c new_vma->vm_pgoff = pgoff; pgoff 3366 mm/mmap.c pgoff_t pgoff; pgoff 3380 mm/mmap.c for (pgoff = vmf->pgoff; pgoff && *pages; ++pages) pgoff 3381 mm/mmap.c pgoff--; pgoff 380 mm/mprotect.c pgoff_t pgoff; pgoff 428 mm/mprotect.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); pgoff 430 mm/mprotect.c vma->anon_vma, vma->vm_file, pgoff, vma_policy(vma), pgoff 438 mm/mremap.c unsigned long pgoff; pgoff 467 mm/mremap.c pgoff = (addr - vma->vm_start) >> PAGE_SHIFT; pgoff 468 mm/mremap.c pgoff += vma->vm_pgoff; pgoff 469 mm/mremap.c if (pgoff + (new_len >> PAGE_SHIFT) < pgoff) pgoff 789 mm/nommu.c unsigned long pgoff, pgoff 812 mm/nommu.c if ((pgoff + (rlen >> PAGE_SHIFT)) < pgoff) pgoff 1104 mm/nommu.c unsigned long pgoff, pgoff 1118 mm/nommu.c ret = validate_mmap_request(file, addr, len, prot, flags, pgoff, pgoff 1142 mm/nommu.c region->vm_pgoff = pgoff; pgoff 1145 mm/nommu.c vma->vm_pgoff = pgoff; pgoff 1167 mm/nommu.c pgend = pgoff + pglen; pgoff 1186 mm/nommu.c if (pgoff >= rpgend) pgoff 1191 mm/nommu.c if ((pregion->vm_pgoff != pgoff || rpglen != pglen) && pgoff 1192 mm/nommu.c !(pgoff >= pregion->vm_pgoff && pgend <= rpgend)) { pgoff 1203 mm/nommu.c start += (pgoff - pregion->vm_pgoff) << PAGE_SHIFT; pgoff 1233 mm/nommu.c pgoff, flags); pgoff 1326 mm/nommu.c unsigned long fd, unsigned long pgoff) pgoff 1340 mm/nommu.c retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff); pgoff 1350 mm/nommu.c unsigned long, fd, unsigned long, pgoff) pgoff 1352 mm/nommu.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); pgoff 1673 mm/nommu.c unsigned long pgoff) pgoff 1680 mm/nommu.c vma->vm_start = (unsigned long)(addr + (pgoff << PAGE_SHIFT)); pgoff 1688 mm/nommu.c unsigned long len, unsigned long pgoff, unsigned long flags) pgoff 2023 mm/shmem.c vmf->pgoff >= shmem_falloc->start && pgoff 2024 mm/shmem.c vmf->pgoff < shmem_falloc->next) { pgoff 2066 mm/shmem.c err = shmem_getpage_gfp(inode, vmf->pgoff, &vmf->page, sgp, pgoff 2075 mm/shmem.c unsigned long pgoff, unsigned long flags) pgoff 2089 mm/shmem.c addr = get_area(file, uaddr, len, pgoff, flags); pgoff 2134 mm/shmem.c offset = (pgoff << PAGE_SHIFT) & (HPAGE_PMD_SIZE-1); pgoff 2320 mm/shmem.c pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); pgoff 2334 mm/shmem.c page = shmem_alloc_page(gfp, info, pgoff); pgoff 2375 mm/shmem.c ret = shmem_add_to_page_cache(page, mapping, pgoff, NULL, pgoff 4073 mm/shmem.c unsigned long pgoff, unsigned long flags) pgoff 4075 mm/shmem.c return current->mm->get_unmapped_area(file, addr, len, pgoff, flags); pgoff 485 mm/util.c unsigned long flag, unsigned long pgoff) pgoff 496 mm/util.c ret = do_mmap_pgoff(file, addr, len, prot, flag, pgoff, pgoff 2993 mm/vmalloc.c void *kaddr, unsigned long pgoff, pgoff 3000 mm/vmalloc.c if (check_shl_overflow(pgoff, PAGE_SHIFT, &off)) pgoff 3054 mm/vmalloc.c unsigned long pgoff) pgoff 3057 mm/vmalloc.c addr, pgoff, pgoff 800 net/sunrpc/xdr.c unsigned int pgoff; pgoff 817 net/sunrpc/xdr.c pgoff = base & ~PAGE_MASK; pgoff 818 net/sunrpc/xdr.c xdr->p = (__be32*)(kaddr + pgoff); pgoff 820 net/sunrpc/xdr.c pgend = pgoff + len; pgoff 204 samples/vfio-mdev/mbochs.c pgoff_t pgoff); pgoff 206 samples/vfio-mdev/mbochs.c pgoff_t pgoff); pgoff 701 samples/vfio-mdev/mbochs.c pgoff_t pgoff) pgoff 705 samples/vfio-mdev/mbochs.c if (!mdev_state->pages[pgoff]) { pgoff 706 samples/vfio-mdev/mbochs.c mdev_state->pages[pgoff] = pgoff 708 samples/vfio-mdev/mbochs.c if (!mdev_state->pages[pgoff]) pgoff 712 samples/vfio-mdev/mbochs.c get_page(mdev_state->pages[pgoff]); pgoff 713 samples/vfio-mdev/mbochs.c return mdev_state->pages[pgoff]; pgoff 717 samples/vfio-mdev/mbochs.c pgoff_t pgoff) pgoff 721 samples/vfio-mdev/mbochs.c if (WARN_ON(pgoff >= mdev_state->pagecount)) pgoff 725 samples/vfio-mdev/mbochs.c page = __mbochs_get_page(mdev_state, pgoff); pgoff 791 samples/vfio-mdev/mbochs.c if (WARN_ON(vmf->pgoff >= dmabuf->pagecount)) pgoff 794 samples/vfio-mdev/mbochs.c vmf->page = dmabuf->pages[vmf->pgoff]; pgoff 464 security/selinux/selinuxfs.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 3375 sound/core/pcm_native.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 3680 sound/core/pcm_native.c unsigned long pgoff, pgoff 3686 sound/core/pcm_native.c unsigned long offset = pgoff << PAGE_SHIFT; pgoff 142 sound/usb/usx2y/us122l.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 29 sound/usb/usx2y/usX2Yhwdep.c vmf->pgoff); pgoff 31 sound/usb/usx2y/usX2Yhwdep.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 650 sound/usb/usx2y/usx2yhwdeppcm.c offset = vmf->pgoff << PAGE_SHIFT; pgoff 62 tools/perf/arch/x86/util/event.c event->mmap.pgoff = pos->pgoff; pgoff 26 tools/perf/arch/x86/util/machine.c u64 end, u64 pgoff, const char *name) pgoff 42 tools/perf/arch/x86/util/machine.c mi->maps[mi->cnt].pgoff = pgoff; pgoff 93 tools/perf/arch/x86/util/machine.c xm->pgoff = mi.entry_trampoline; pgoff 740 tools/perf/builtin-report.c map->pgoff, pgoff 16 tools/perf/lib/include/perf/event.h __u64 pgoff; pgoff 25 tools/perf/lib/include/perf/event.h __u64 pgoff; pgoff 117 tools/perf/tests/hists_common.c .pgoff = 0ULL, pgoff 227 tools/perf/tests/vmlinux-kallsyms.c map->start, map->end, map->pgoff, map->dso->name); pgoff 230 tools/perf/tests/vmlinux-kallsyms.c pair->start, pair->end, pair->pgoff); pgoff 48 tools/perf/util/copyfile.c loff_t pgoff; pgoff 50 tools/perf/util/copyfile.c pgoff = off_in & ~(page_size - 1); pgoff 51 tools/perf/util/copyfile.c off_in -= pgoff; pgoff 53 tools/perf/util/copyfile.c ptr = mmap(NULL, off_in + size, PROT_READ, MAP_PRIVATE, ifd, pgoff); pgoff 259 tools/perf/util/event.c event->mmap.len, event->mmap.pgoff, pgoff 269 tools/perf/util/event.c event->mmap2.len, event->mmap2.pgoff, event->mmap2.maj, pgoff 457 tools/perf/util/jitdump.c event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; pgoff 548 tools/perf/util/jitdump.c event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; pgoff 972 tools/perf/util/machine.c map->pgoff = xm->pgoff; pgoff 1029 tools/perf/util/machine.c u64 pgoff; pgoff 1042 tools/perf/util/machine.c dest_map = map_groups__find(kmaps, map->pgoff); pgoff 1044 tools/perf/util/machine.c map->pgoff = dest_map->map_ip(dest_map, map->pgoff); pgoff 1050 tools/perf/util/machine.c pgoff = find_entry_trampoline(kernel); pgoff 1051 tools/perf/util/machine.c if (!pgoff) pgoff 1064 tools/perf/util/machine.c .pgoff = pgoff, pgoff 1526 tools/perf/util/machine.c .pgoff = event->mmap.pgoff, pgoff 1628 tools/perf/util/machine.c if (event->mmap.pgoff != 0) { pgoff 1631 tools/perf/util/machine.c event->mmap.pgoff); pgoff 1673 tools/perf/util/machine.c event->mmap2.len, event->mmap2.pgoff, pgoff 1729 tools/perf/util/machine.c event->mmap.len, event->mmap.pgoff, pgoff 272 tools/perf/util/machine.h u64 pgoff; pgoff 133 tools/perf/util/map.c void map__init(struct map *map, u64 start, u64 end, u64 pgoff, struct dso *dso) pgoff 137 tools/perf/util/map.c map->pgoff = pgoff; pgoff 149 tools/perf/util/map.c u64 pgoff, u32 d_maj, u32 d_min, u64 ino, pgoff 197 tools/perf/util/map.c pgoff = 0; pgoff 205 tools/perf/util/map.c map__init(map, start, start + len, pgoff, dso); pgoff 407 tools/perf/util/map.c map->start, map->end, map->pgoff, map->dso->name); pgoff 533 tools/perf/util/map.c return rip - map->pgoff; pgoff 563 tools/perf/util/map.c return map->unmap_ip(map, ip + map->pgoff); pgoff 854 tools/perf/util/map.c after->pgoff += map->end - pos->start; pgoff 33 tools/perf/util/map.h u64 pgoff; pgoff 57 tools/perf/util/map.h return ip - map->start + map->pgoff; pgoff 62 tools/perf/util/map.h return ip + map->start - map->pgoff; pgoff 112 tools/perf/util/map.h u64 start, u64 end, u64 pgoff, struct dso *dso); pgoff 114 tools/perf/util/map.h u64 pgoff, u32 d_maj, u32 d_min, u64 ino, pgoff 133 tools/perf/util/python.c member_def(perf_record_mmap, pgoff, T_ULONGLONG, "page offset"), pgoff 148 tools/perf/util/python.c pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) { pgoff 570 tools/perf/util/session.c event->mmap.pgoff = bswap_64(event->mmap.pgoff); pgoff 587 tools/perf/util/session.c event->mmap2.pgoff = bswap_64(event->mmap2.pgoff); pgoff 873 tools/perf/util/symbol-elf.c map->pgoff = shdr->sh_offset; pgoff 892 tools/perf/util/symbol-elf.c map->pgoff = shdr->sh_offset; pgoff 926 tools/perf/util/symbol-elf.c curr_map->pgoff = shdr->sh_offset; pgoff 1602 tools/perf/util/symbol-elf.c u64 pgoff, u64 s, u64 e) pgoff 1609 tools/perf/util/symbol-elf.c offset = (s - start) + pgoff; pgoff 1615 tools/perf/util/symbol-elf.c static int kcore_copy__read_map(u64 start, u64 len, u64 pgoff, void *data) pgoff 1621 tools/perf/util/symbol-elf.c if (kcore_copy__map(kci, start, end, pgoff, kci->stext, kci->etext)) pgoff 1624 tools/perf/util/symbol-elf.c if (kcore_copy__map(kci, start, end, pgoff, kci->first_module, pgoff 1631 tools/perf/util/symbol-elf.c if (kcore_copy__map(kci, start, end, pgoff, s, s + len)) pgoff 738 tools/perf/util/symbol.c pos->start -= curr_map->start - curr_map->pgoff; pgoff 742 tools/perf/util/symbol.c pos->end -= curr_map->start - curr_map->pgoff; pgoff 1166 tools/perf/util/symbol.c static int kcore_mapfn(u64 start, u64 len, u64 pgoff, void *data) pgoff 1176 tools/perf/util/symbol.c map->pgoff = pgoff; pgoff 1349 tools/perf/util/symbol.c map->pgoff = new_map->pgoff; pgoff 201 tools/perf/util/symbol.h typedef int (*mapfn_t)(u64 start, u64 len, u64 pgoff, void *data); pgoff 337 tools/perf/util/synthetic-events.c &event->mmap2.pgoff, &event->mmap2.maj, pgoff 858 tools/perf/util/synthetic-events.c event->mmap.pgoff = kmap->ref_reloc_sym->addr; pgoff 51 tools/perf/util/unwind-libdw.c if (s != al->map->start - al->map->pgoff) pgoff 57 tools/perf/util/unwind-libdw.c (dso->symsrc_filename ? dso->symsrc_filename : dso->long_name), -1, al->map->start - al->map->pgoff, pgoff 396 tools/perf/util/unwind-libunwind-local.c di.u.rti.segbase = map->start + segbase - map->pgoff; pgoff 397 tools/perf/util/unwind-libunwind-local.c di.u.rti.table_data = map->start + table_data - map->pgoff; pgoff 9 tools/testing/nvdimm/dax-dev.c phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, pgoff 15 tools/testing/nvdimm/dax-dev.c addr = pgoff * PAGE_SIZE + res->start; pgoff 10 tools/testing/nvdimm/pmem-dax.c long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff, pgoff 13 tools/testing/nvdimm/pmem-dax.c resource_size_t offset = PFN_PHYS(pgoff) + pmem->data_offset; pgoff 15 tools/testing/nvdimm/pmem-dax.c if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, pgoff 32 tools/testing/nvdimm/pmem-dax.c __func__, pmem, pgoff, page_to_pfn(page)); pgoff 51 tools/testing/radix-tree/iteration_check.c unsigned long pgoff; pgoff 53 tools/testing/radix-tree/iteration_check.c for (pgoff = 0; pgoff < MAX_IDX; pgoff++) { pgoff 54 tools/testing/radix-tree/iteration_check.c my_item_insert(&array, pgoff); pgoff 138 tools/testing/radix-tree/iteration_check.c int pgoff; pgoff 141 tools/testing/radix-tree/iteration_check.c pgoff = rand_r(&seeds[2]) % MAX_IDX; pgoff 143 tools/testing/radix-tree/iteration_check.c item = xa_erase(&array, pgoff); pgoff 145 tools/testing/radix-tree/iteration_check.c item_free(item, pgoff); pgoff 906 tools/vm/page-types.c unsigned long long pgoff; pgoff 916 tools/vm/page-types.c &pgoff, pgoff 2716 virt/kvm/kvm_main.c if (vmf->pgoff == 0) pgoff 2719 virt/kvm/kvm_main.c else if (vmf->pgoff == KVM_PIO_PAGE_OFFSET) pgoff 2723 virt/kvm/kvm_main.c else if (vmf->pgoff == KVM_COALESCED_MMIO_PAGE_OFFSET)