Searched refs:dax_drv (Results 1 – 2 of 2) sorted by relevance
35 static struct dax_id *__dax_match_id(struct dax_device_driver *dax_drv, in __dax_match_id() argument42 list_for_each_entry(dax_id, &dax_drv->ids, list) in __dax_match_id()48 static int dax_match_id(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_id() argument53 match = !!__dax_match_id(dax_drv, dev_name(dev)); in dax_match_id()59 static int dax_match_type(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_type() argument67 if (dax_drv->type == type) in dax_match_type()71 if (dax_drv->type == DAXDRV_DEVICE_TYPE && in dax_match_type()86 struct dax_device_driver *dax_drv = to_dax_drv(drv); in do_id_store() local101 dax_id = __dax_match_id(dax_drv, buf); in do_id_store()107 list_add(&dax_id->list, &dax_drv->ids); in do_id_store()[all …]
43 int __dax_driver_register(struct dax_device_driver *dax_drv,47 void dax_driver_unregister(struct dax_device_driver *dax_drv);