Searched refs:dax_mapping (Results 1 – 8 of 8) sorted by relevance
49 struct dax_mapping { struct64 struct dax_mapping *mapping;108 static inline struct dax_mapping *to_dax_mapping(struct device *dev) in to_dax_mapping()110 return container_of(dev, struct dax_mapping, dev); in to_dax_mapping()
683 struct dax_mapping *mapping = to_dax_mapping(dev); in dax_mapping_release()695 struct dax_mapping *mapping = to_dax_mapping(dev); in unregister_dax_mapping()708 struct dax_mapping *mapping = to_dax_mapping(dev); in get_dax_range()800 struct dax_mapping *mapping; in devm_register_dax_mapping()964 struct dax_mapping *mapping = dev_dax->ranges[i].mapping; in dev_dax_shrink()
33 if (shmem_mapping(mapping) || dax_mapping(mapping)) in __clear_shadow_entry() 79 if (dax_mapping(mapping)) { in truncate_folio_batch_exceptionals() 611 if (dax_mapping(mapping) && in invalidate_inode_pages2_range() 663 if (dax_mapping(mapping)) { in invalidate_inode_pages2_range()
130 if (dax_mapping(mapping) || shmem_mapping(mapping)) in mapping_set_update()
789 !mapping_exiting(mapping) && !dax_mapping(mapping)) in __remove_mapping()
107 if (dax_mapping(mapping)) in xfs_dax_failure_fn()
254 static inline bool dax_mapping(struct address_space *mapping)260 static inline bool dax_mapping(struct address_space *mapping) dax_mapping() function
434 if (!mapping || !dax_mapping(mapping)) in dax_lock_folio()499 if (!dax_mapping(mapping)) in dax_lock_mapping_entry()693 if (!dax_mapping(mapping) || !mapping_mapped(mapping)) in dax_layout_busy_page_range()