Home
last modified time | relevance | path

Searched refs:linear_page_index (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/dax/
Ddevice.c88 pgoff = linear_page_index(vmf->vma, in dax_set_mapping()
165 pgoff = linear_page_index(vmf->vma, pmd_addr); in __dev_dax_pmd_fault()
210 pgoff = linear_page_index(vmf->vma, pud_addr); in __dev_dax_pud_fault()
/linux-6.6.21/mm/
Duserfaultfd.c59 offset = linear_page_index(dst_vma, dst_addr); in mfill_file_over_size()
254 pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); in mfill_atomic_pte_continue()
435 idx = linear_page_index(dst_vma, dst_addr); in mfill_atomic_hugetlb()
Dmincore.c81 pgoff = linear_page_index(vma, addr); in __mincore_unmapped_range()
Dkhugepaged.c1002 .pgoff = linear_page_index(vma, address), in __collapse_huge_page_swapin()
1510 linear_page_index(vma, haddr)); in collapse_pte_mapped_thp()
2397 pgoff_t pgoff = linear_page_index(vma, in khugepaged_scan_mm_slot()
2744 pgoff_t pgoff = linear_page_index(vma, addr); in madvise_collapse()
Dmadvise.c242 XA_STATE(xas, &mapping->i_pages, linear_page_index(vma, start)); in shmem_swapin_range()
243 pgoff_t end_index = linear_page_index(vma, end) - 1; in shmem_swapin_range()
Drmap.c1158 folio->index = linear_page_index(vma, address); in __page_set_anon_rmap()
1187 VM_BUG_ON_PAGE(page_to_pgoff(page) != linear_page_index(vma, address), in __page_check_anon_rmap()
Dmigrate.c198 idx = linear_page_index(vma, pvmw.address) - pvmw.pgoff; in remove_migration_pte()
Dksm.c2806 } else if (page->index == linear_page_index(vma, address) && in ksm_might_need_to_copy()
Dmemory.c521 index = linear_page_index(vma, addr); in print_bad_pte()
5059 .pgoff = linear_page_index(vma, address), in __handle_mm_fault()
Dshmem.c2579 pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); in shmem_mfill_atomic_pte()
Dmemcontrol.c5744 index = linear_page_index(vma, addr); in mc_handle_file_pte()
/linux-6.6.21/fs/proc/
Dtask_mmu.c503 linear_page_index(vma, addr), in smaps_pte_hole()
504 linear_page_index(vma, end)); in smaps_pte_hole()
/linux-6.6.21/include/linux/
Dpagemap.h966 static inline pgoff_t linear_page_index(struct vm_area_struct *vma, in linear_page_index() function
/linux-6.6.21/fs/
Ddax.c365 index = linear_page_index(vma, address & ~(size - 1)); in dax_associate_entry()