Lines Matching refs:pmem_device

34 static struct device *to_dev(struct pmem_device *pmem)  in to_dev()
43 static struct nd_region *to_region(struct pmem_device *pmem) in to_region()
48 static phys_addr_t pmem_to_phys(struct pmem_device *pmem, phys_addr_t offset) in pmem_to_phys()
53 static sector_t to_sect(struct pmem_device *pmem, phys_addr_t offset) in to_sect()
58 static phys_addr_t to_offset(struct pmem_device *pmem, sector_t sector) in to_offset()
63 static void pmem_mkpage_present(struct pmem_device *pmem, phys_addr_t offset, in pmem_mkpage_present()
88 static void pmem_clear_bb(struct pmem_device *pmem, sector_t sector, long blks) in pmem_clear_bb()
97 static long __pmem_clear_poison(struct pmem_device *pmem, in __pmem_clear_poison()
110 static blk_status_t pmem_clear_poison(struct pmem_device *pmem, in pmem_clear_poison()
164 static blk_status_t pmem_do_read(struct pmem_device *pmem, in pmem_do_read()
180 static blk_status_t pmem_do_write(struct pmem_device *pmem, in pmem_do_write()
208 struct pmem_device *pmem = bio->bi_bdev->bd_disk->private_data; in pmem_submit_bio()
244 struct pmem_device *pmem = bdev->bd_disk->private_data; in pmem_rw_page()
264 __weak long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff, in __pmem_direct_access()
319 struct pmem_device *pmem = dax_get_private(dax_dev); in pmem_dax_zero_page_range()
330 struct pmem_device *pmem = dax_get_private(dax_dev); in pmem_dax_direct_access()
351 struct pmem_device *pmem = dax_get_private(dax_dev); in pmem_recovery_write()
399 struct pmem_device *pmem = dev_to_disk(dev)->private_data; in write_cache_show()
407 struct pmem_device *pmem = dev_to_disk(dev)->private_data; in write_cache_store()
446 struct pmem_device *pmem = __pmem; in pmem_release_disk()
459 struct pmem_device *pmem = in pmem_pagemap_memory_failure()
460 container_of(pgmap, struct pmem_device, pgmap); in pmem_pagemap_memory_failure()
482 struct pmem_device *pmem; in pmem_attach_disk()
674 struct pmem_device *pmem = dev_get_drvdata(dev); in nd_pmem_remove()
713 struct pmem_device *pmem = dev_get_drvdata(dev); in pmem_revalidate_poison()
743 struct pmem_device *pmem; in pmem_revalidate_region()