Lines Matching defs:dev_dax
139 static u64 dev_dax_size(struct dev_dax *dev_dax) in dev_dax_size()
155 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_probe() local
180 struct dev_dax *dev_dax = to_dev_dax(dev); in dax_bus_remove() local
336 struct dev_dax *dev_dax = devm_create_dev_dax(&data); in create_store() local
360 void kill_dev_dax(struct dev_dax *dev_dax) in kill_dev_dax()
370 static void trim_dev_dax_range(struct dev_dax *dev_dax) in trim_dev_dax_range()
388 static void free_dev_dax_ranges(struct dev_dax *dev_dax) in free_dev_dax_ranges()
396 struct dev_dax *dev_dax = to_dev_dax(dev); in unregister_dev_dax() local
421 static int __free_dev_dax_id(struct dev_dax *dev_dax) in __free_dev_dax_id()
438 static int free_dev_dax_id(struct dev_dax *dev_dax) in free_dev_dax_id()
449 static int alloc_dev_dax_id(struct dev_dax *dev_dax) in alloc_dev_dax_id()
467 struct dev_dax *dev_dax; in delete_store() local
612 struct dev_dax *dev_dax = to_dev_dax(parent); in dax_mapping_release() local
623 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in unregister_dax_mapping() local
640 struct dev_dax *dev_dax = to_dev_dax(dev->parent); in get_dax_range() local
655 struct dev_dax *dev_dax = to_dev_dax(mapping->dev.parent); in put_dax_range() local
730 static int devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) in devm_register_dax_mapping()
772 static int alloc_dev_dax_range(struct dev_dax *dev_dax, u64 start, in alloc_dev_dax_range()
841 static int adjust_dev_dax_range(struct dev_dax *dev_dax, struct resource *res, resource_size_t size) in adjust_dev_dax_range()
875 struct dev_dax *dev_dax = to_dev_dax(dev); in size_show() local
885 static bool alloc_is_aligned(struct dev_dax *dev_dax, resource_size_t size) in alloc_is_aligned()
894 static int dev_dax_shrink(struct dev_dax *dev_dax, resource_size_t size) in dev_dax_shrink()
938 static bool adjust_ok(struct dev_dax *dev_dax, struct resource *res) in adjust_ok()
961 struct dev_dax *dev_dax, resource_size_t size) in dev_dax_resize()
1038 struct dev_dax *dev_dax = to_dev_dax(dev); in size_store() local
1097 struct dev_dax *dev_dax = to_dev_dax(dev); in mapping_store() local
1128 struct dev_dax *dev_dax = to_dev_dax(dev); in align_show() local
1133 static ssize_t dev_dax_validate_align(struct dev_dax *dev_dax) in dev_dax_validate_align()
1161 struct dev_dax *dev_dax = to_dev_dax(dev); in align_store() local
1197 static int dev_dax_target_node(struct dev_dax *dev_dax) in dev_dax_target_node()
1207 struct dev_dax *dev_dax = to_dev_dax(dev); in target_node_show() local
1216 struct dev_dax *dev_dax = to_dev_dax(dev); in resource_show() local
1250 struct dev_dax *dev_dax = to_dev_dax(dev); in dev_dax_visible() local
1288 struct dev_dax *dev_dax = to_dev_dax(dev); in dev_dax_release() local
1307 struct dev_dax *dev_dax; in devm_create_dev_dax() local