Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_dir
Proto:static int create_dir(struct kobject *kobj)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kobject * | kobj |
94 | If error Then |
95 | sysfs_remove_dir(kobj) |
96 | Return error |
99 | If ktype Then |
100 | error = sysfs_create_groups(kobj, default_groups) |
101 | If error Then |
102 | sysfs_remove_dir(kobj) |
103 | Return error |
111 | sysfs_get( sysfs directory entry ) |
117 | ops = kobj_child_ns_ops(kobj) |
118 | If ops Then |
119 | BUG_ON(type <= KOBJ_NS_TYPE_NONE) |
120 | BUG_ON(type >= KOBJ_NS_TYPES) |
121 | BUG_ON(!kobj_ns_type_registered(type)) |
126 | Return 0 |
Name | Describe |
---|---|
kobject_add_internal |
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 |