Lines Matching defs:dev_dax

137 static u64 dev_dax_size(struct dev_dax *dev_dax)  in dev_dax_size()
153 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_probe() local
178 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_remove() local
335 struct dev_dax *dev_dax = devm_create_dev_dax(&data); in create_store() local
359 void kill_dev_dax(struct dev_dax *dev_dax) in kill_dev_dax()
369 static void trim_dev_dax_range(struct dev_dax *dev_dax) in trim_dev_dax_range()
387 static void free_dev_dax_ranges(struct dev_dax *dev_dax) in free_dev_dax_ranges()
395 struct dev_dax *dev_dax = to_dev_dax(dev); in unregister_dev_dax() local
406 static int __free_dev_dax_id(struct dev_dax *dev_dax) in __free_dev_dax_id()
421 static int free_dev_dax_id(struct dev_dax *dev_dax) in free_dev_dax_id()
436 struct dev_dax *dev_dax; in delete_store() local
594 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in dax_mapping_release() local
604 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in unregister_dax_mapping() local
621 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in get_dax_range() local
636 struct dev_dax *dev_dax = to_dev_dax(mapping->dev.parent); in put_dax_range() local
711 static int devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) in devm_register_dax_mapping()
752 static int alloc_dev_dax_range(struct dev_dax *dev_dax, u64 start, in alloc_dev_dax_range()
813 static int adjust_dev_dax_range(struct dev_dax *dev_dax, struct resource *res, resource_size_t size) in adjust_dev_dax_range()
847 struct dev_dax *dev_dax = to_dev_dax(dev); in size_show() local
857 static bool alloc_is_aligned(struct dev_dax *dev_dax, resource_size_t size) in alloc_is_aligned()
866 static int dev_dax_shrink(struct dev_dax *dev_dax, resource_size_t size) in dev_dax_shrink()
910 static bool adjust_ok(struct dev_dax *dev_dax, struct resource *res) in adjust_ok()
933 struct dev_dax *dev_dax, resource_size_t size) in dev_dax_resize()
1010 struct dev_dax *dev_dax = to_dev_dax(dev); in size_store() local
1069 struct dev_dax *dev_dax = to_dev_dax(dev); in mapping_store() local
1100 struct dev_dax *dev_dax = to_dev_dax(dev); in align_show() local
1105 static ssize_t dev_dax_validate_align(struct dev_dax *dev_dax) in dev_dax_validate_align()
1126 struct dev_dax *dev_dax = to_dev_dax(dev); in align_store() local
1162 static int dev_dax_target_node(struct dev_dax *dev_dax) in dev_dax_target_node()
1172 struct dev_dax *dev_dax = to_dev_dax(dev); in target_node_show() local
1181 struct dev_dax *dev_dax = to_dev_dax(dev); in resource_show() local
1215 struct dev_dax *dev_dax = to_dev_dax(dev); in dev_dax_visible() local
1253 struct dev_dax *dev_dax = to_dev_dax(dev); in dev_dax_release() local
1274 struct dev_dax *dev_dax; in devm_create_dev_dax() local