device_for_each_child(9) suse man page | unix.com

Man Page: device_for_each_child

Operating Environment: suse

Section: 9

DEVICE_FOR_EACH_CHIL(9) 				   Device drivers infrastructure				   DEVICE_FOR_EACH_CHIL(9)

NAME
device_for_each_child - device child iterator.
SYNOPSIS
int device_for_each_child(struct device * parent, void * data, int (*fn) (struct device *dev, void *data));
ARGUMENTS
parent parent struct device. data data for the callback. fn function to be called for each device.
DESCRIPTION
Iterate 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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DEVICE_FOR_EACH_CHIL(9)
Related Man Pages
struct_bus_type(9) - centos
struct_class(9) - centos
device_schedule_callback_owner(9) - suse
struct_ff_device(9) - suse
device_identify(9) - freebsd
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Tar Command
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB