Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kobject_init() - Initialize a kobject structure
Proto:void kobject_init(struct kobject *kobj, struct kobj_type *ktype)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kobject * | kobj | |
struct kobj_type * | ktype |
353 | If Not kobj Then |
357 | If Not ktype Then |
361 | If state_initialized Then |
363 | pr_err("kobject (%p): tried to init an initialized object, something is seriously wrong.\n", kobj) |
365 | dump_stack() |
370 | Return |
372 | error : |
374 | dump_stack() |
Name | Describe |
---|---|
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(). |
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 |