/linux-6.6.21/kernel/ |
D | ksysfs.c | 249 struct kobject *kernel_kobj; variable 250 EXPORT_SYMBOL_GPL(kernel_kobj); 289 kernel_kobj = kobject_create_and_add("kernel", NULL); in ksysfs_init() 290 if (!kernel_kobj) { in ksysfs_init() 294 error = sysfs_create_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 300 error = sysfs_create_bin_file(kernel_kobj, ¬es_attr); in ksysfs_init() 308 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 310 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 | 126 sysfs_add_file_to_group(kernel_kobj, &warn_count_attr.attr, NULL); in kernel_panic_sysfs_init()
|
D | reboot.c | 1296 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()
|
/linux-6.6.21/fs/configfs/ |
D | mount.c | 145 err = sysfs_create_mount_point(kernel_kobj, "config"); in configfs_init() 156 sysfs_remove_mount_point(kernel_kobj, "config"); in configfs_init() 167 sysfs_remove_mount_point(kernel_kobj, "config"); in configfs_exit()
|
/linux-6.6.21/security/ |
D | inode.c | 335 retval = sysfs_create_mount_point(kernel_kobj, "security"); in securityfs_init() 341 sysfs_remove_mount_point(kernel_kobj, "security"); in securityfs_init()
|
/linux-6.6.21/kernel/bpf/ |
D | sysfs_btf.c | 38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/linux-6.6.21/samples/kobject/ |
D | kobject-example.c | 124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
|
D | kset-example.c | 247 example_kset = kset_create_and_add("kset_example", NULL, kernel_kobj); in example_init()
|
/linux-6.6.21/drivers/staging/greybus/ |
D | audio_manager.c | 164 kernel_kobj); in manager_init()
|
/linux-6.6.21/drivers/dma-buf/ |
D | dma-buf-sysfs-stats.c | 150 kernel_kobj); in dma_buf_init_sysfs_statistics()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | fadump.c | 1575 fadump_kobj = kobject_create_and_add("fadump", kernel_kobj); in fadump_init_files() 1607 rc = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, fadump_kobj, in fadump_init_files() 1614 rc = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, fadump_kobj, in fadump_init_files() 1619 sysfs_remove_link(kernel_kobj, "fadump_enabled"); in fadump_init_files() 1624 rc = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, in fadump_init_files()
|
/linux-6.6.21/kernel/trace/ |
D | preemptirq_delay_test.c | 200 kernel_kobj); in preemptirq_delay_init()
|
/linux-6.6.21/tools/testing/selftests/bpf/bpf_testmod/ |
D | bpf_testmod.c | 539 return sysfs_create_bin_file(kernel_kobj, &bin_attr_bpf_testmod_file); in bpf_testmod_init() 544 return sysfs_remove_bin_file(kernel_kobj, &bin_attr_bpf_testmod_file); in bpf_testmod_exit()
|
/linux-6.6.21/include/linux/ |
D | kobject.h | 204 extern struct kobject *kernel_kobj;
|
/linux-6.6.21/fs/debugfs/ |
D | inode.c | 906 retval = sysfs_create_mount_point(kernel_kobj, "debug"); in debugfs_init() 912 sysfs_remove_mount_point(kernel_kobj, "debug"); in debugfs_init()
|
/linux-6.6.21/arch/x86/kernel/ |
D | ksysfs.c | 378 kernel_kobj); in boot_params_ksysfs_init()
|
/linux-6.6.21/crypto/ |
D | pcrypt.c | 348 pcrypt_kset = kset_create_and_add("pcrypt", NULL, kernel_kobj); in pcrypt_init()
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 580 return sysfs_create_file(kernel_kobj, &class_attr_dlpar.attr); in dlpar_sysfs_init()
|
D | mobility.c | 816 mobility_kobj = kobject_create_and_add("mobility", kernel_kobj); in mobility_sysfs_init()
|
/linux-6.6.21/arch/arm/common/ |
D | bL_switcher.c | 725 bL_switcher_kobj = kobject_create_and_add("bL_switcher", kernel_kobj); in bL_switcher_sysfs_init()
|
/linux-6.6.21/fs/tracefs/ |
D | inode.c | 740 retval = sysfs_create_mount_point(kernel_kobj, "tracing"); in tracefs_init()
|
/linux-6.6.21/net/sunrpc/ |
D | sysfs.c | 340 rpc_sunrpc_kset = kset_create_and_add("sunrpc", NULL, kernel_kobj); in rpc_sysfs_init()
|
/linux-6.6.21/kernel/irq/ |
D | irqdesc.c | 353 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
|
/linux-6.6.21/fs/dlm/ |
D | lockspace.c | 237 dlm_kset = kset_create_and_add("dlm", &dlm_uevent_ops, kernel_kobj); in dlm_lockspace_init()
|