centos man page for subsys_dev_iter_next

Query: subsys_dev_iter_next

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SUBSYS_DEV_ITER_NEXT(9) 				   Device drivers infrastructure				   SUBSYS_DEV_ITER_NEXT(9)

NAME
subsys_dev_iter_next - iterate to the next device
SYNOPSIS
struct device * subsys_dev_iter_next(struct subsys_dev_iter * iter);
ARGUMENTS
iter subsys iterator to proceed
DESCRIPTION
Proceed iter to the next device and return it. Returns NULL if iteration is complete. The returned device is referenced and won't be released till iterator is proceed to the next device or exited. The caller is free to do whatever it wants to do with the device including calling back into subsys code.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SUBSYS_DEV_ITER_NEXT(9)
Related Man Pages
device_create_vargs(9) - centos
device_create(9) - suse
device_create_vargs(9) - suse
deviter_release(9) - netbsd
net::cli::interact::role::iterator(3pm) - debian
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!