Home
last modified time | relevance | path

Searched refs:kernel_kobj (Results 1 – 7 of 7) sorted by relevance

/kernel/
Dksysfs.c208 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, &notes_attr); in ksysfs_init()
262 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init()
264 kobject_put(kernel_kobj); in ksysfs_init()
Dkheaders.c53 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/
Dsysfs_btf.c36 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/kernel/power/
Dwakeup_reason.c200 wakeup_reason = kobject_create_and_add("wakeup_reasons", kernel_kobj); in wakeup_reason_init()
/kernel/livepatch/
Dcore.c1206 klp_root_kobj = kobject_create_and_add("livepatch", kernel_kobj); in klp_init()
/kernel/irq/
Dirqdesc.c318 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
/kernel/cgroup/
Dcgroup.c6505 return sysfs_create_group(kernel_kobj, &cgroup_sysfs_attr_group); in cgroup_sysfs_init()