Lines Matching defs:dev_dax
62 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_match_type() local
172 bool static_dev_dax(struct dev_dax *dev_dax) in static_dev_dax()
178 static u64 dev_dax_size(struct dev_dax *dev_dax) in dev_dax_size()
194 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_probe() local
219 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_remove() local
371 struct dev_dax *dev_dax = devm_create_dev_dax(&data); in create_store() local
395 void kill_dev_dax(struct dev_dax *dev_dax) in kill_dev_dax()
413 static void trim_dev_dax_range(struct dev_dax *dev_dax) in trim_dev_dax_range()
431 static void free_dev_dax_ranges(struct dev_dax *dev_dax) in free_dev_dax_ranges()
439 struct dev_dax *dev_dax = to_dev_dax(dev); in unregister_dev_dax() local
450 static int __free_dev_dax_id(struct dev_dax *dev_dax) in __free_dev_dax_id()
465 static int free_dev_dax_id(struct dev_dax *dev_dax) in free_dev_dax_id()
480 struct dev_dax *dev_dax; in delete_store() local
638 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in dax_mapping_release() local
648 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in unregister_dax_mapping() local
665 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in get_dax_range() local
680 struct dev_dax *dev_dax = to_dev_dax(mapping->dev.parent); in put_dax_range() local
755 static int devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) in devm_register_dax_mapping()
796 static int alloc_dev_dax_range(struct dev_dax *dev_dax, u64 start, in alloc_dev_dax_range()
857 static int adjust_dev_dax_range(struct dev_dax *dev_dax, struct resource *res, resource_size_t size) in adjust_dev_dax_range()
891 struct dev_dax *dev_dax = to_dev_dax(dev); in size_show() local
901 static bool alloc_is_aligned(struct dev_dax *dev_dax, resource_size_t size) in alloc_is_aligned()
910 static int dev_dax_shrink(struct dev_dax *dev_dax, resource_size_t size) in dev_dax_shrink()
954 static bool adjust_ok(struct dev_dax *dev_dax, struct resource *res) in adjust_ok()
977 struct dev_dax *dev_dax, resource_size_t size) in dev_dax_resize()
1054 struct dev_dax *dev_dax = to_dev_dax(dev); in size_store() local
1113 struct dev_dax *dev_dax = to_dev_dax(dev); in mapping_store() local
1144 struct dev_dax *dev_dax = to_dev_dax(dev); in align_show() local
1149 static ssize_t dev_dax_validate_align(struct dev_dax *dev_dax) in dev_dax_validate_align()
1170 struct dev_dax *dev_dax = to_dev_dax(dev); in align_store() local
1206 static int dev_dax_target_node(struct dev_dax *dev_dax) in dev_dax_target_node()
1216 struct dev_dax *dev_dax = to_dev_dax(dev); in target_node_show() local
1225 struct dev_dax *dev_dax = to_dev_dax(dev); in resource_show() local
1259 struct dev_dax *dev_dax = to_dev_dax(dev); in dev_dax_visible() local
1297 struct dev_dax *dev_dax = to_dev_dax(dev); in dev_dax_release() local
1318 struct dev_dax *dev_dax; in devm_create_dev_dax() local