Function report | 
Source Code:lib\kobject.c | 
Create Date:2022-07-28 06:16:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kobject_add() - The main kobject add function.*@kobj: the kobject to add*@parent: pointer to the parent of the kobject.*@fmt: format to name the kobject with.* The kobject name is set and added to the kobject hierarchy in this* function.
Proto:int kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kobject * | kobj | |
| struct kobject * | parent | |
| const char * | fmt | 
| 435 | If Not state_initialized Then | 
| 436 | pr_err("kobject '%s' (%p): tried to add an uninitialized object, something is seriously wrong.\n", kobject_name(kobj), kobj) | 
| 438 | dump_stack() | 
| 439 | Return -EINVAL | 
| 445 | Return retval | 
| Name | Describe | 
|---|---|
| kobject_create_and_add | kobject_create_and_add() - Create a struct kobject dynamically and* register it with sysfs.*@name: the name for the kobject*@parent: the parent kobject of this kobject, if any.* This function creates a kobject structure dynamically and registers it | 
| __threshold_add_blocks | |
| threshold_create_bank | |
| klp_init_object | |
| klp_init_patch | |
| blk_register_queue | lk_register_queue - register a block layer queue with sysfs*@disk: Disk of which the request queue should be registered with sysfs. | 
| blk_mq_register_hctx | |
| __blk_mq_register_dev | 
| 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  |