Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kobject_get_unless_zero
Proto:struct kobject *__must_check kobject_get_unless_zero(struct kobject *kobj)
Type:struct kobject
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kobject * | kobj |
| 652 | If Not kobj Then Return NULL |
| 654 | If Not kref_get_unless_zero - Increment refcount for object unless it is zero Then kobj = NULL |
| 656 | Return kobj |
| Name | Describe |
|---|---|
| kset_find_obj | kset_find_obj() - Search for object in kset.*@kset: kset we're looking in.*@name: object's name.* Lock kset via @kset->subsys, and iterate over @kset->list,* looking for a matching kobject. If matching object is found |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |