Lines Matching refs:pgoff

774 	pgoff_t pgoff;  in copy_user_dax()  local
778 rc = bdev_dax_pgoff(bdev, sector, size, &pgoff); in copy_user_dax()
783 rc = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), &kaddr, NULL); in copy_user_dax()
809 pgoff_t index = vmf->pgoff; in dax_insert_mapping_entry()
821 unmap_mapping_pages(mapping, vmf->pgoff, 1, false); in dax_insert_mapping_entry()
859 pgoff_address(pgoff_t pgoff, struct vm_area_struct *vma) in pgoff_address() argument
863 address = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); in pgoff_address()
1093 pgoff_t pgoff; in dax_iomap_pfn() local
1097 rc = bdev_dax_pgoff(iomap->bdev, sector, size, &pgoff); in dax_iomap_pfn()
1101 length = dax_direct_access(iomap->dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_pfn()
1166 pgoff_t pgoff; in __dax_zero_page_range() local
1170 rc = bdev_dax_pgoff(bdev, sector, PAGE_SIZE, &pgoff); in __dax_zero_page_range()
1175 rc = dax_direct_access(dax_dev, pgoff, 1, &kaddr, NULL); in __dax_zero_page_range()
1229 pgoff_t pgoff; in dax_iomap_actor() local
1237 ret = bdev_dax_pgoff(bdev, sector, size, &pgoff); in dax_iomap_actor()
1241 map_len = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_actor()
1260 xfer = dax_copy_from_iter(dax_dev, pgoff, kaddr, in dax_iomap_actor()
1263 xfer = dax_copy_to_iter(dax_dev, pgoff, kaddr, in dax_iomap_actor()
1347 loff_t pos = (loff_t)vmf->pgoff << PAGE_SHIFT; in dax_iomap_pte_fault()
1371 entry = grab_mapping_entry(mapping, vmf->pgoff, 0); in dax_iomap_pte_fault()
1501 put_locked_mapping_entry(mapping, vmf->pgoff); in dax_iomap_pte_fault()
1559 pgoff_t max_pgoff, pgoff; in dax_iomap_pmd_fault() local
1570 pgoff = linear_page_index(vma, pmd_addr); in dax_iomap_pmd_fault()
1581 if ((vmf->pgoff & PG_PMD_COLOUR) != in dax_iomap_pmd_fault()
1595 if (pgoff >= max_pgoff) { in dax_iomap_pmd_fault()
1601 if ((pgoff | PG_PMD_COLOUR) >= max_pgoff) in dax_iomap_pmd_fault()
1610 entry = grab_mapping_entry(mapping, pgoff, RADIX_DAX_PMD); in dax_iomap_pmd_fault()
1631 pos = (loff_t)pgoff << PAGE_SHIFT; in dax_iomap_pmd_fault()
1695 put_locked_mapping_entry(mapping, pgoff); in dax_iomap_pmd_fault()
1756 pgoff_t index = vmf->pgoff; in dax_insert_pfn_mkwrite()
1806 loff_t start = ((loff_t)vmf->pgoff) << PAGE_SHIFT; in dax_finish_sync_fault()