Lines Matching defs:dev
21 static int dax_bus_uevent(const struct device *dev, struct kobj_uevent_env *env) in dax_bus_uevent()
48 static int dax_match_id(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_id()
59 static int dax_match_type(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_type()
191 static int dax_bus_probe(struct device *dev) in dax_bus_probe()
216 static void dax_bus_remove(struct device *dev) in dax_bus_remove()
234 static int dax_bus_match(struct device *dev, struct device_driver *drv) in dax_bus_match()
248 static ssize_t id_show(struct device *dev, in id_show()
257 static ssize_t region_size_show(struct device *dev, in region_size_show()
268 static ssize_t region_align_show(struct device *dev, in region_align_show()
293 static ssize_t available_size_show(struct device *dev, in available_size_show()
307 static ssize_t seed_show(struct device *dev, in seed_show()
326 static ssize_t create_show(struct device *dev, in create_show()
344 static ssize_t create_store(struct device *dev, struct device_attribute *attr, in create_store()
437 static void unregister_dev_dax(void *dev) in unregister_dev_dax()
465 struct device *dev = &dev_dax->dev; in __free_dev_dax_id() local
482 struct device *dev = &dev_dax->dev; in free_dev_dax_id() local
505 static ssize_t delete_store(struct device *dev, struct device_attribute *attr, in delete_store()
558 struct device *dev = container_of(kobj, struct device, kobj); in dax_region_visible() local
649 static void dax_mapping_release(struct device *dev) in dax_mapping_release()
662 struct device *dev = data; in unregister_dax_mapping() local
677 static struct dev_dax_range *get_dax_range(struct device *dev) in get_dax_range()
701 static ssize_t start_show(struct device *dev, in start_show()
717 static ssize_t end_show(struct device *dev, in end_show()
733 static ssize_t pgoff_show(struct device *dev, in pgoff_show()
774 struct device *dev; in devm_register_dax_mapping() local
817 struct device *dev = &dev_dax->dev; in alloc_dev_dax_range() local
880 struct device *dev = &dev_dax->dev; in adjust_dev_dax_range() local
904 static ssize_t size_show(struct device *dev, in size_show()
930 struct device *dev = &dev_dax->dev; in dev_dax_shrink() local
998 struct device *dev = &dev_dax->dev; in dev_dax_resize() local
1065 static ssize_t size_store(struct device *dev, struct device_attribute *attr, in size_store()
1126 static ssize_t mapping_store(struct device *dev, struct device_attribute *attr, in mapping_store()
1157 static ssize_t align_show(struct device *dev, in align_show()
1167 struct device *dev = &dev_dax->dev; in dev_dax_validate_align() local
1183 static ssize_t align_store(struct device *dev, struct device_attribute *attr, in align_store()
1229 static ssize_t target_node_show(struct device *dev, in target_node_show()
1238 static ssize_t resource_show(struct device *dev, in resource_show()
1254 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
1265 static ssize_t numa_node_show(struct device *dev, in numa_node_show()
1274 struct device *dev = container_of(kobj, struct device, kobj); in dev_dax_visible() local
1311 static void dev_dax_release(struct device *dev) in dev_dax_release()
1334 struct device *dev; in devm_create_dev_dax() local