Searched refs:dax_drv (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/dax/ |
H A D | bus.c | 35 static struct dax_id *__dax_match_id(struct dax_device_driver *dax_drv, in __dax_match_id() argument 42 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() argument 53 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() argument 67 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() local 101 dax_id = __dax_match_id(dax_drv, buf); in do_id_store() 107 list_add(&dax_id->list, &dax_drv in do_id_store() 145 ATTRIBUTE_GROUPS(dax_drv); global() variable 193 struct dax_device_driver *dax_drv = to_dax_drv(dev->driver); dax_bus_probe() local 218 struct dax_device_driver *dax_drv = to_dax_drv(dev->driver); dax_bus_remove() local 236 struct dax_device_driver *dax_drv = to_dax_drv(drv); dax_bus_match() local 1442 __dax_driver_register(struct dax_device_driver *dax_drv, struct module *module, const char *mod_name) __dax_driver_register() argument 1464 dax_driver_unregister(struct dax_device_driver *dax_drv) dax_driver_unregister() argument [all...] |
H A D | bus.h | 43 int __dax_driver_register(struct dax_device_driver *dax_drv, 47 void dax_driver_unregister(struct dax_device_driver *dax_drv);
|
/kernel/linux/linux-5.10/drivers/dax/ |
H A D | bus.c | 37 static struct dax_id *__dax_match_id(struct dax_device_driver *dax_drv, in __dax_match_id() argument 44 list_for_each_entry(dax_id, &dax_drv->ids, list) in __dax_match_id() 50 static int dax_match_id(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_id() argument 55 match = !!__dax_match_id(dax_drv, dev_name(dev)); in dax_match_id() 69 struct dax_device_driver *dax_drv = to_dax_drv(drv); in do_id_store() local 84 dax_id = __dax_match_id(dax_drv, buf); in do_id_store() 90 list_add(&dax_id->list, &dax_drv->ids); in do_id_store() 130 ATTRIBUTE_GROUPS(dax_drv); variable 154 struct dax_device_driver *dax_drv = to_dax_drv(dev->driver); in dax_bus_probe() local 162 rc = dax_drv in dax_bus_probe() 179 struct dax_device_driver *dax_drv = to_dax_drv(dev->driver); dax_bus_remove() local 196 struct dax_device_driver *dax_drv = to_dax_drv(drv); dax_bus_match() local 1419 __dax_driver_register(struct dax_device_driver *dax_drv, struct module *module, const char *mod_name) __dax_driver_register() argument 1446 dax_driver_unregister(struct dax_device_driver *dax_drv) dax_driver_unregister() argument [all...] |
H A D | bus.h | 45 int __dax_driver_register(struct dax_device_driver *dax_drv, 49 void dax_driver_unregister(struct dax_device_driver *dax_drv);
|
Completed in 4 milliseconds