Function report |
Source Code:lib\kobject.c |
Create Date:2022-07-28 06:16:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct kobject *kobject_create_and_add(const char *name, struct kobject *parent)
Type:struct kobject
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | name | |
struct kobject * | parent |
797 | If Not kobj Then Return NULL |
801 | If retval Then |
804 | kobj = NULL |
806 | Return kobj |
Name | Describe |
---|---|
create_setup_data_nodes | |
boot_params_ksysfs_init | |
threshold_create_bank | |
pm_init | |
klp_init | |
preemptirq_delay_init | |
btf_vmlinux_init | |
hugetlb_sysfs_add_hstate | |
hugetlb_sysfs_init | |
hugetlb_register_node | Register hstate attributes for a single node device.* No-op if attributes already registered. |
register_disk | |
genhd_device_init | |
add_partition | Must be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone. |
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 |