devres_get man page on Scientific

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

DEVRES_GET(9)			 Driver Basics			 DEVRES_GET(9)

NAME
       devres_get - Find devres, if non-existent, add one atomically

SYNOPSIS
       void * devres_get(struct device * dev, void * new_res,
			 dr_match_t match, void * match_data);

ARGUMENTS
       dev
	   Device to lookup or add devres for

       new_res
	   Pointer to new initialized devres to add if not found

       match
	   Match function (optional)

       match_data
	   Data for the match function

DESCRIPTION
       Find the latest devres of dev which has the same release function as
       new_res and for which match return 1. If found, new_res is freed;
       otherwise, new_res is added atomically.

RETURNS
       Pointer to found or added devres.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013			 DEVRES_GET(9)
[top]

List of man pages available for Scientific

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]
Tweet
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