函数逻辑报告 | 
Source Code:lib\kobject.c | 
Create Date:2022-07-27 07:13:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:kobject_init() - Initialize a kobject structure
函数原型:void kobject_init(struct kobject *kobj, struct kobj_type *ktype)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct kobject * | kobj | |
| struct kobj_type * | ktype | 
| 353 | 如果非kobj则 | 
| 357 | 如果非ktype则 | 
| 361 | 如果state_initialized则 | 
| 363 | 打印错误信息("kobject (%p): tried to init an initialized object, something is seriously wrong.\n", kobj) | 
| 365 | dump_stack() | 
| 370 | 返回 | 
| 372 | error : | 
| 374 | dump_stack() | 
| 名称 | 描述 | 
|---|---|
| kobject_init_and_add | kobject_init_and_add() - Initialize a kobject structure and add it to* the kobject hierarchy.*@kobj: pointer to the kobject to initialize*@ktype: pointer to the ktype for this kobject.*@parent: pointer to the parent of this kobject. | 
| kobject_create | kobject_create() - Create a struct kobject dynamically.* This function creates a kobject structure dynamically and sets it up* to be a "dynamic" kobject with a default release function set up. | 
| klp_init_object_early | |
| klp_init_patch_early | |
| padata_alloc | padata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers | 
| blk_alloc_queue_node | lk_alloc_queue_node - allocate a request queue*@gfp_mask: memory allocation flags*@node_id: NUMA node to allocate memory from | 
| blk_mq_hctx_kobj_init | |
| blk_mq_sysfs_init | |
| cdev_init | dev_init() - initialize a cdev structure*@cdev: the structure to initialize*@fops: the file_operations for this device* Initializes @cdev, remembering @fops, making it ready to add to the* system with cdev_add(). | 
| klp_init_func_early | |
| elevator_alloc | |
| cdev_alloc | dev_alloc() - allocate a cdev structure* Allocates and returns a cdev structure, or NULL on failure. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |