bus_find_device man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

BUS_FIND_DEVICE(9)	 Device drivers infrastructure	    BUS_FIND_DEVICE(9)

       bus_find_device - device iterator for locating a particular device.

       struct device * bus_find_device(struct bus_type * bus,
				       struct device * start, void * data,
				       int (*match) (struct device *dev, void *data));

	   bus type

	   Device to begin with

	   Data to pass to match function

	   Callback function to check device

       This is similar to the bus_for_each_dev function above, but it returns
       a reference to a device that is 'found' for later use, as determined by
       the match callback.

       The callback should return 0 if the device doesn't match and non-zero
       if it does. If the callback returns non-zero, this function will return
       to the caller and not iterate over any more devices.

Kernel Hackers Manual 3.8.	   June 2014		    BUS_FIND_DEVICE(9)

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net