Searched refs:dax_drv (Results 1 – 2 of 2) sorted by relevance
44 static struct dax_id *__dax_match_id(const struct dax_device_driver *dax_drv, in __dax_match_id() argument51 list_for_each_entry(dax_id, &dax_drv->ids, list) in __dax_match_id()57 static int dax_match_id(const struct dax_device_driver *dax_drv, struct device *dev) in dax_match_id() argument62 match = !!__dax_match_id(dax_drv, dev_name(dev)); in dax_match_id()68 static int dax_match_type(const struct dax_device_driver *dax_drv, struct device *dev) in dax_match_type() argument76 if (dax_drv->type == type) in dax_match_type()80 if (dax_drv->type == DAXDRV_DEVICE_TYPE && in dax_match_type()95 struct dax_device_driver *dax_drv = to_dax_drv(drv); in do_id_store() local110 dax_id = __dax_match_id(dax_drv, buf); in do_id_store()116 list_add(&dax_id->list, &dax_drv->ids); in do_id_store()[all …]
44 int __dax_driver_register(struct dax_device_driver *dax_drv,48 void dax_driver_unregister(struct dax_device_driver *dax_drv);