Query: devres_get
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVRES_GET(9) Driver Basics DEVRES_GET(9)NAMEdevres_get - Find devres, if non-existent, add one atomicallySYNOPSISvoid * devres_get(struct device * dev, void * new_res, dr_match_t match, void * match_data);ARGUMENTSdev 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 functionDESCRIPTIONFind 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.RETURNSPointer to found or added devres.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DEVRES_GET(9)
| Related Man Pages |
|---|
| struct_device_driver(9) - centos |
| struct_ff_device(9) - centos |
| struct_input_polled_dev(9) - centos |
| device_create(9) - suse |
| tc-mirred(mojave) - mojave |
| Similar Topics in the Unix Linux Community |
|---|
| Best performance UNIX just for HOST Virtualization? |
| How to increment version inside a file? |
| CentOS7 restoring file capabilities |
| Shopt -s histappend |
| [TIP] Processing YAML files with yq |