Query: device_for_each_child
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVICE_FOR_EACH_CHIL(9) Device drivers infrastructure DEVICE_FOR_EACH_CHIL(9)NAMEdevice_for_each_child - device child iterator.SYNOPSISint device_for_each_child(struct device * parent, void * data, int (*fn) (struct device *dev, void *data));ARGUMENTSparent parent struct device. data data for the callback. fn function to be called for each device.DESCRIPTIONIterate over parent's child devices, and call fn for each, passing it data. We check the return of fn each time. If it returns anything other than 0, we break out and return that value.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DEVICE_FOR_EACH_CHIL(9)
Related Man Pages |
---|
device_create(9) - centos |
device_create_with_groups(9) - centos |
struct_class(9) - centos |
struct_device_driver(9) - centos |
struct_ff_device(9) - centos |
Similar Topics in the Unix Linux Community |
---|
How to increment version inside a file? |
Tar Command |
CentOS7 restoring file capabilities |
Unsure why access time on a directory change isn't changing |
Controlling user input |