/linux/kernel/ |
A 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()
|
A 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()
|
A D | reboot.c | 879 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()
|
/linux/fs/configfs/ |
A 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/tools/testing/selftests/bpf/bpf_testmod/ |
A D | bpf_testmod.c | 122 ret = sysfs_create_bin_file(kernel_kobj, &bin_attr_bpf_testmod_file); in bpf_testmod_init() 132 return sysfs_remove_bin_file(kernel_kobj, &bin_attr_bpf_testmod_file); in bpf_testmod_exit()
|
/linux/security/ |
A 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/kernel/bpf/ |
A D | sysfs_btf.c | 38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/linux/samples/kobject/ |
A D | kobject-example.c | 124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
|
A D | kset-example.c | 247 example_kset = kset_create_and_add("kset_example", NULL, kernel_kobj); in example_init()
|
/linux/arch/powerpc/kernel/ |
A D | fadump.c | 1554 fadump_kobj = kobject_create_and_add("fadump", kernel_kobj); in fadump_init_files() 1586 rc = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, fadump_kobj, in fadump_init_files() 1593 rc = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, fadump_kobj, in fadump_init_files() 1598 sysfs_remove_link(kernel_kobj, "fadump_enabled"); in fadump_init_files() 1603 rc = compat_only_sysfs_link_entry_to_kobj(kernel_kobj, in fadump_init_files()
|
/linux/drivers/staging/greybus/ |
A D | audio_manager.c | 164 kernel_kobj); in manager_init()
|
/linux/drivers/dma-buf/ |
A D | dma-buf-sysfs-stats.c | 150 kernel_kobj); in dma_buf_init_sysfs_statistics()
|
/linux/fs/fscache/ |
A D | main.c | 187 fscache_root = kobject_create_and_add("fscache", kernel_kobj); in fscache_init()
|
/linux/kernel/trace/ |
A D | preemptirq_delay_test.c | 200 kernel_kobj); in preemptirq_delay_init()
|
/linux/mm/ |
A D | mm_init.c | 198 mm_kobj = kobject_create_and_add("mm", kernel_kobj); in mm_sysfs_init()
|
/linux/include/linux/ |
A D | kobject.h | 228 extern struct kobject *kernel_kobj;
|
/linux/fs/debugfs/ |
A D | inode.c | 839 retval = sysfs_create_mount_point(kernel_kobj, "debug"); in debugfs_init() 845 sysfs_remove_mount_point(kernel_kobj, "debug"); in debugfs_init()
|
/linux/arch/x86/kernel/ |
A D | ksysfs.c | 333 kernel_kobj); in boot_params_ksysfs_init()
|
/linux/crypto/ |
A D | pcrypt.c | 344 pcrypt_kset = kset_create_and_add("pcrypt", NULL, kernel_kobj); in pcrypt_init()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | mobility.c | 715 mobility_kobj = kobject_create_and_add("mobility", kernel_kobj); in mobility_sysfs_init()
|
A D | dlpar.c | 591 return sysfs_create_file(kernel_kobj, &class_attr_dlpar.attr); in dlpar_sysfs_init()
|
/linux/fs/tracefs/ |
A D | inode.c | 619 retval = sysfs_create_mount_point(kernel_kobj, "tracing"); in tracefs_init()
|
/linux/arch/arm/common/ |
A D | bL_switcher.c | 725 bL_switcher_kobj = kobject_create_and_add("bL_switcher", kernel_kobj); in bL_switcher_sysfs_init()
|
/linux/net/sunrpc/ |
A D | sysfs.c | 345 rpc_sunrpc_kset = kset_create_and_add("sunrpc", NULL, kernel_kobj); in rpc_sysfs_init()
|
/linux/kernel/irq/ |
A D | irqdesc.c | 318 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
|