Home
last modified time | relevance | path

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

/kernel/
Dksysfs.c213 struct kobject *kernel_kobj; variable
214 EXPORT_SYMBOL_GPL(kernel_kobj);
248 kernel_kobj = kobject_create_and_add("kernel", NULL); in ksysfs_init()
249 if (!kernel_kobj) { in ksysfs_init()
253 error = sysfs_create_group(kernel_kobj, &kernel_attr_group); in ksysfs_init()
259 error = sysfs_create_bin_file(kernel_kobj, &notes_attr); in ksysfs_init()
267 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init()
269 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()
Dpanic.c122 sysfs_add_file_to_group(kernel_kobj, &warn_count_attr.attr, NULL); in kernel_panic_sysfs_init()
Dreboot.c882 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()
Dexit.c115 sysfs_add_file_to_group(kernel_kobj, &oops_count_attr.attr, NULL); in kernel_exit_sysfs_init()
/kernel/bpf/
Dsysfs_btf.c38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/kernel/trace/
Dpreemptirq_delay_test.c200 kernel_kobj); in preemptirq_delay_init()
/kernel/power/
Dwakeup_reason.c409 kobj = kobject_create_and_add("wakeup_reasons", kernel_kobj); in wakeup_reason_init()
/kernel/irq/
Dirqdesc.c321 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
/kernel/livepatch/
Dcore.c1269 klp_root_kobj = kobject_create_and_add("livepatch", kernel_kobj); in klp_init()
/kernel/cgroup/
Dcgroup.c6890 return sysfs_create_group(kernel_kobj, &cgroup_sysfs_attr_group); in cgroup_sysfs_init()