Searched refs:kernel_kobj (Results 1 – 7 of 7) sorted by relevance
/kernel/ |
D | ksysfs.c | 208 struct kobject *kernel_kobj; variable 209 EXPORT_SYMBOL_GPL(kernel_kobj); 243 kernel_kobj = kobject_create_and_add("kernel", NULL); in ksysfs_init() 244 if (!kernel_kobj) { in ksysfs_init() 248 error = sysfs_create_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 254 error = sysfs_create_bin_file(kernel_kobj, ¬es_attr); in ksysfs_init() 262 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 264 kobject_put(kernel_kobj); in ksysfs_init()
|
D | kheaders.c | 53 return sysfs_create_bin_file(kernel_kobj, &kheaders_attr); in ikheaders_init() 58 sysfs_remove_bin_file(kernel_kobj, &kheaders_attr); in ikheaders_cleanup()
|
/kernel/bpf/ |
D | sysfs_btf.c | 36 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/kernel/power/ |
D | wakeup_reason.c | 200 wakeup_reason = kobject_create_and_add("wakeup_reasons", kernel_kobj); in wakeup_reason_init()
|
/kernel/livepatch/ |
D | core.c | 1206 klp_root_kobj = kobject_create_and_add("livepatch", kernel_kobj); in klp_init()
|
/kernel/irq/ |
D | irqdesc.c | 318 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
|
/kernel/cgroup/ |
D | cgroup.c | 6505 return sysfs_create_group(kernel_kobj, &cgroup_sysfs_attr_group); in cgroup_sysfs_init()
|