Lines Matching refs:pmem_device

35 static struct device *to_dev(struct pmem_device *pmem)  in to_dev()
44 static struct nd_region *to_region(struct pmem_device *pmem) in to_region()
49 static phys_addr_t pmem_to_phys(struct pmem_device *pmem, phys_addr_t offset) in pmem_to_phys()
54 static sector_t to_sect(struct pmem_device *pmem, phys_addr_t offset) in to_sect()
59 static phys_addr_t to_offset(struct pmem_device *pmem, sector_t sector) in to_offset()
64 static void pmem_mkpage_present(struct pmem_device *pmem, phys_addr_t offset, in pmem_mkpage_present()
89 static void pmem_clear_bb(struct pmem_device *pmem, sector_t sector, long blks) in pmem_clear_bb()
98 static long __pmem_clear_poison(struct pmem_device *pmem, in __pmem_clear_poison()
111 static blk_status_t pmem_clear_poison(struct pmem_device *pmem, in pmem_clear_poison()
165 static blk_status_t pmem_do_read(struct pmem_device *pmem, in pmem_do_read()
181 static blk_status_t pmem_do_write(struct pmem_device *pmem, in pmem_do_write()
209 struct pmem_device *pmem = bio->bi_bdev->bd_disk->private_data; in pmem_submit_bio()
243 __weak long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff, in __pmem_direct_access()
297 struct pmem_device *pmem = dax_get_private(dax_dev); in pmem_dax_zero_page_range()
308 struct pmem_device *pmem = dax_get_private(dax_dev); in pmem_dax_direct_access()
329 struct pmem_device *pmem = dax_get_private(dax_dev); in pmem_recovery_write()
377 struct pmem_device *pmem = dev_to_disk(dev)->private_data; in write_cache_show()
385 struct pmem_device *pmem = dev_to_disk(dev)->private_data; in write_cache_store()
424 struct pmem_device *pmem = __pmem; in pmem_release_disk()
437 struct pmem_device *pmem = in pmem_pagemap_memory_failure()
438 container_of(pgmap, struct pmem_device, pgmap); in pmem_pagemap_memory_failure()
467 struct pmem_device *pmem; in pmem_attach_disk()
654 struct pmem_device *pmem = dev_get_drvdata(dev); in nd_pmem_remove()
693 struct pmem_device *pmem = dev_get_drvdata(dev); in pmem_revalidate_poison()
723 struct pmem_device *pmem; in pmem_revalidate_region()