Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct kobject *kset_find_obj(struct kset *kset, const char *name)
Type:struct kobject
Parameter:
Type | Parameter | Name |
---|---|---|
struct kset * | kset | |
const char * | name |
902 | If kobject_name(k) && Not strcmp(kobject_name(k), name) Then |
903 | ret = kobject_get_unless_zero(k) |
904 | Break |
908 | spin_unlock( & list_lock) |
909 | Return ret |
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 |