Home
last modified time | relevance | path

Searched refs:vm_pgoff (Results 1 – 15 of 15) sorted by relevance

/mm/
Dnommu.c1064 fpos = vma->vm_pgoff; in do_mmap_private()
1142 region->vm_pgoff = pgoff; in do_mmap()
1145 vma->vm_pgoff = pgoff; in do_mmap()
1180 if (pregion->vm_pgoff >= pgend) in do_mmap()
1185 rpgend = pregion->vm_pgoff + rpglen; in do_mmap()
1191 if ((pregion->vm_pgoff != pgoff || rpglen != pglen) && in do_mmap()
1192 !(pgoff >= pregion->vm_pgoff && pgend <= rpgend)) { in do_mmap()
1203 start += (pgoff - pregion->vm_pgoff) << PAGE_SHIFT; in do_mmap()
1418 region->vm_pgoff = new->vm_pgoff += npages; in split_vma()
1429 vma->vm_region->vm_pgoff = vma->vm_pgoff += npages; in split_vma()
[all …]
Dmmap.c865 vma->vm_pgoff = pgoff; in __vma_adjust()
868 next->vm_pgoff += adjust_next; in __vma_adjust()
1064 pgoff_t vm_pgoff, in can_vma_merge_before() argument
1070 if (vma->vm_pgoff == vm_pgoff) in can_vma_merge_before()
1086 pgoff_t vm_pgoff, in can_vma_merge_after() argument
1094 if (vma->vm_pgoff + vm_pglen == vm_pgoff) in can_vma_merge_after()
1195 next->vm_end, prev->vm_pgoff, NULL, in vma_merge()
1199 end, prev->vm_pgoff, NULL, prev); in vma_merge()
1217 addr, prev->vm_pgoff, NULL, next); in vma_merge()
1220 next->vm_pgoff - pglen, NULL, next); in vma_merge()
[all …]
Dinternal.h354 if (pgoff >= vma->vm_pgoff) { in vma_address()
356 ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); in vma_address()
361 pgoff + compound_nr(page) - 1 >= vma->vm_pgoff) { in vma_address()
383 address = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); in vma_address_end()
Dmremap.c355 new_pgoff = vma->vm_pgoff + ((old_addr - vma->vm_start) >> PAGE_SHIFT); in move_vma()
469 pgoff += vma->vm_pgoff; in vma_to_resize()
559 ret = get_unmapped_area(vma->vm_file, new_addr, new_len, vma->vm_pgoff + in mremap_to()
689 vma->vm_pgoff, NULL)) { in SYSCALL_DEFINE5()
716 vma->vm_pgoff + in SYSCALL_DEFINE5()
Dinterval_tree.c15 return v->vm_pgoff; in vma_start_pgoff()
20 return v->vm_pgoff + vma_pages(v) - 1; in vma_last_pgoff()
Dmadvise.c134 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in madvise_behavior()
231 index = ((start - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; in force_shm_swapin_readahead()
292 + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); in madvise_willneed()
846 + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); in madvise_remove()
Dmempolicy.c707 vma->vm_start, vma->vm_end, vma->vm_pgoff, in vma_replace_policy()
757 pgoff = vma->vm_pgoff + in mbind_range()
1915 off = vma->vm_pgoff >> (shift - PAGE_SHIFT); in interleave_nid()
2399 pgoff = vma->vm_pgoff; in mpol_misplaced()
2625 vma->vm_pgoff, in mpol_set_shared_policy()
2631 new = sp_alloc(vma->vm_pgoff, vma->vm_pgoff + sz, npol); in mpol_set_shared_policy()
2635 err = shared_policy_replace(info, vma->vm_pgoff, vma->vm_pgoff+sz, new); in mpol_set_shared_policy()
Dmsync.c85 ((loff_t)vma->vm_pgoff << PAGE_SHIFT); in SYSCALL_DEFINE3()
Ddebug.c130 vma->anon_vma, vma->vm_ops, vma->vm_pgoff, in dump_vma()
Dmemory.c636 if (pfn == vma->vm_pgoff + off) in vm_normal_page()
679 if (pfn == vma->vm_pgoff + off) in vm_normal_page_pmd()
1612 return __vm_map_pages(vma, pages, num, vma->vm_pgoff); in vm_map_pages()
1982 vma->vm_pgoff = pfn; in remap_pfn_range()
2044 if (vma->vm_pgoff > pages) in vm_iomap_memory()
2046 pfn += vma->vm_pgoff; in vm_iomap_memory()
2047 pages -= vma->vm_pgoff; in vm_iomap_memory()
2775 vba = vma->vm_pgoff; in unmap_mapping_range_tree()
3607 end_pgoff = min3(end_pgoff, vma_pages(vmf->vma) + vmf->vma->vm_pgoff - 1, in do_fault_around()
Dmprotect.c428 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in mprotect_fixup()
Dmlock.c535 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in mlock_fixup()
Dshmem.c757 if (!vma->vm_pgoff && vma->vm_end - vma->vm_start >= inode->i_size) in shmem_swap_usage()
1445 vma->vm_pgoff = index + info->vfs_inode.i_ino; in shmem_pseudo_vma_init()
2180 index = ((addr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; in shmem_get_policy()
4032 off = round_up(vma->vm_pgoff, HPAGE_PMD_NR); in shmem_huge_enabled()
Dkhugepaged.c424 return IS_ALIGNED((vma->vm_start >> PAGE_SHIFT) - vma->vm_pgoff, in hugepage_vma_check()
1481 addr = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); in retract_page_tables()
Dhugetlb.c649 (vma->vm_pgoff >> huge_page_order(h)); in vma_hugecache_offset()
3760 vma->vm_pgoff; in unmap_ref_private()
4892 unsigned long saddr = ((idx - svma->vm_pgoff) << PAGE_SHIFT) + in page_table_shareable()
4967 vma->vm_pgoff; in huge_pmd_share()