Home
last modified time | relevance | path

Searched refs:bdev_dax_pgoff (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/md/
Ddm-linear.c170 ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages * PAGE_SIZE, &pgoff); in linear_dax_direct_access()
185 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in linear_dax_copy_from_iter()
199 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in linear_dax_copy_to_iter()
Ddm-stripe.c332 ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages * PAGE_SIZE, &pgoff); in stripe_dax_direct_access()
352 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in stripe_dax_copy_from_iter()
371 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in stripe_dax_copy_to_iter()
Ddm-log-writes.c936 ret = bdev_dax_pgoff(lc->dev->bdev, sector, nr_pages * PAGE_SIZE, &pgoff); in log_writes_dax_direct_access()
950 if (bdev_dax_pgoff(lc->dev->bdev, sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in log_writes_dax_copy_from_iter()
973 if (bdev_dax_pgoff(lc->dev->bdev, sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in log_writes_dax_copy_to_iter()
/Linux-v4.19/drivers/dax/
Dsuper.c52 int bdev_dax_pgoff(struct block_device *bdev, sector_t sector, size_t size, in bdev_dax_pgoff() function
63 EXPORT_SYMBOL(bdev_dax_pgoff);
109 err = bdev_dax_pgoff(bdev, 0, PAGE_SIZE, &pgoff); in __bdev_dax_supported()
/Linux-v4.19/include/linux/
Ddax.h68 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
/Linux-v4.19/fs/
Ddax.c778 rc = bdev_dax_pgoff(bdev, sector, size, &pgoff); in copy_user_dax()
1097 rc = bdev_dax_pgoff(iomap->bdev, sector, size, &pgoff); in dax_iomap_pfn()
1170 rc = bdev_dax_pgoff(bdev, sector, PAGE_SIZE, &pgoff); in __dax_zero_page_range()
1237 ret = bdev_dax_pgoff(bdev, sector, size, &pgoff); in dax_iomap_actor()