Searched refs:kernel_kobj (Results 1 – 11 of 11) sorted by relevance
/kernel/ |
D | ksysfs.c | 213 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, ¬es_attr); in ksysfs_init() 267 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 269 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()
|
D | panic.c | 122 sysfs_add_file_to_group(kernel_kobj, &warn_count_attr.attr, NULL); in kernel_panic_sysfs_init()
|
D | reboot.c | 882 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()
|
D | exit.c | 115 sysfs_add_file_to_group(kernel_kobj, &oops_count_attr.attr, NULL); in kernel_exit_sysfs_init()
|
/kernel/bpf/ |
D | sysfs_btf.c | 38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/kernel/trace/ |
D | preemptirq_delay_test.c | 200 kernel_kobj); in preemptirq_delay_init()
|
/kernel/power/ |
D | wakeup_reason.c | 409 kobj = kobject_create_and_add("wakeup_reasons", kernel_kobj); in wakeup_reason_init()
|
/kernel/irq/ |
D | irqdesc.c | 321 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
|
/kernel/livepatch/ |
D | core.c | 1269 klp_root_kobj = kobject_create_and_add("livepatch", kernel_kobj); in klp_init()
|
/kernel/cgroup/ |
D | cgroup.c | 6890 return sysfs_create_group(kernel_kobj, &cgroup_sysfs_attr_group); in cgroup_sysfs_init()
|