Query: driver_for_each_device
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DRIVER_FOR_EACH_DEVI(9) Device drivers infrastructure DRIVER_FOR_EACH_DEVI(9)NAMEdriver_for_each_device - Iterator for devices bound to a driver.SYNOPSISint driver_for_each_device(struct device_driver * drv, struct device * start, void * data, int (*fn) (struct device *, void *));ARGUMENTSdrv Driver we're iterating. start Device to begin with data Data to pass to the callback. fn Function to call for each device.DESCRIPTIONIterate over the drv's list of devices calling fn for each one.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DRIVER_FOR_EACH_DEVI(9)