Lines Matching refs:pgoff
779 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert, in __vma_adjust() argument
932 WRITE_ONCE(vma->vm_pgoff, pgoff); in __vma_adjust()
1220 pgoff_t pgoff, struct mempolicy *policy, in __vma_merge() argument
1251 anon_vma, file, pgoff, in __vma_merge()
1261 pgoff+pglen, in __vma_merge()
1286 anon_vma, file, pgoff+pglen, in __vma_merge()
1455 unsigned long pgoff, unsigned long len) in file_mmap_ok() argument
1462 if (pgoff > maxsize >> PAGE_SHIFT) in file_mmap_ok()
1472 unsigned long flags, unsigned long pgoff, in do_mmap() argument
1507 if ((pgoff + (len >> PAGE_SHIFT)) < pgoff) in do_mmap()
1517 addr = get_unmapped_area(file, addr, len, pgoff, flags); in do_mmap()
1552 if (!file_mmap_ok(file, inode, pgoff, len)) in do_mmap()
1621 pgoff = 0; in do_mmap()
1628 pgoff = addr >> PAGE_SHIFT; in do_mmap()
1649 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap()
1659 unsigned long fd, unsigned long pgoff) in ksys_mmap_pgoff() argument
1700 retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff); in ksys_mmap_pgoff()
1709 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6()
1711 return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); in SYSCALL_DEFINE6()
1797 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, in mmap_region() argument
1838 NULL, file, pgoff, NULL, NULL_VM_UFFD_CTX, NULL); in mmap_region()
1857 vma->vm_pgoff = pgoff; in mmap_region()
2241 unsigned long len, unsigned long pgoff, unsigned long flags) in arch_get_unmapped_area() argument
2280 unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_topdown() argument
2336 unsigned long pgoff, unsigned long flags) in get_unmapped_area() argument
2359 pgoff = 0; in get_unmapped_area()
2363 addr = get_area(file, addr, len, pgoff, flags); in get_unmapped_area()
3098 unsigned long, prot, unsigned long, pgoff, unsigned long, flags) in SYSCALL_DEFINE5() argument
3119 if (pgoff + (size >> PAGE_SHIFT) < pgoff) in SYSCALL_DEFINE5()
3182 prot, flags, pgoff, &populate, NULL); in SYSCALL_DEFINE5()
3203 pgoff_t pgoff = addr >> PAGE_SHIFT; in do_brk_flags() local
3236 NULL, NULL, pgoff, NULL, NULL_VM_UFFD_CTX, NULL); in do_brk_flags()
3252 vma->vm_pgoff = pgoff; in do_brk_flags()
3413 unsigned long addr, unsigned long len, pgoff_t pgoff, in copy_vma() argument
3428 pgoff = addr >> PAGE_SHIFT; in copy_vma()
3446 vma->anon_vma, vma->vm_file, pgoff, in copy_vma()
3477 new_vma->vm_pgoff = pgoff; in copy_vma()
3593 pgoff_t pgoff; in special_mapping_fault() local
3607 for (pgoff = vmf->pgoff; pgoff && *pages; ++pages) in special_mapping_fault()
3608 pgoff--; in special_mapping_fault()