• Home
  • Raw
  • Download

Lines Matching refs:pgoff

54 __weak phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff,  in dax_pgoff_to_phys()  argument
65 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
66 if (pgoff < dax_range->pgoff || pgoff > pgoff_end) in dax_pgoff_to_phys()
68 phys = PFN_PHYS(pgoff - dax_range->pgoff) + range->start; in dax_pgoff_to_phys()
95 phys = dax_pgoff_to_phys(dev_dax, vmf->pgoff, PAGE_SIZE); in __dev_dax_pte_fault()
97 dev_dbg(dev, "pgoff_to_phys(%#lx) failed\n", vmf->pgoff); in __dev_dax_pte_fault()
112 pgoff_t pgoff; in __dev_dax_pmd_fault() local
134 pgoff = linear_page_index(vmf->vma, pmd_addr); in __dev_dax_pmd_fault()
135 phys = dax_pgoff_to_phys(dev_dax, pgoff, PMD_SIZE); in __dev_dax_pmd_fault()
137 dev_dbg(dev, "pgoff_to_phys(%#lx) failed\n", pgoff); in __dev_dax_pmd_fault()
153 pgoff_t pgoff; in __dev_dax_pud_fault() local
176 pgoff = linear_page_index(vmf->vma, pud_addr); in __dev_dax_pud_fault()
177 phys = dax_pgoff_to_phys(dev_dax, pgoff, PUD_SIZE); in __dev_dax_pud_fault()
179 dev_dbg(dev, "pgoff_to_phys(%#lx) failed\n", pgoff); in __dev_dax_pud_fault()
229 pgoff_t pgoff; in dev_dax_huge_fault() local
237 pgoff = linear_page_index(vmf->vma, vmf->address in dev_dax_huge_fault()
246 page->index = pgoff + i; in dev_dax_huge_fault()
308 unsigned long addr, unsigned long len, unsigned long pgoff, in dax_get_unmapped_area() argument
318 off = pgoff << PAGE_SHIFT; in dax_get_unmapped_area()
330 pgoff, flags); in dax_get_unmapped_area()
336 return current->mm->get_unmapped_area(filp, addr, len, pgoff, flags); in dax_get_unmapped_area()