/linux/kernel/ |
H A D | ksysfs.c | 258 struct kobject *kernel_kobj; variable 259 EXPORT_SYMBOL_GPL(kernel_kobj); 300 kernel_kobj = kobject_create_and_add("kernel", NULL); in ksysfs_init() 301 if (!kernel_kobj) { in ksysfs_init() 305 error = sysfs_create_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 311 error = sysfs_create_bin_file(kernel_kobj, ¬es_attr); in ksysfs_init() 319 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init() 321 kobject_put(kernel_kobj); in ksysfs_init()
|
H 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()
|
H A D | panic.c | 129 sysfs_add_file_to_group(kernel_kobj, &warn_count_attr.attr, NULL); in kernel_panic_sysfs_init()
|
H A D | reboot.c | 1324 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()
|
/linux/fs/configfs/ |
H 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/security/ |
H A D | inode.c | 360 retval = sysfs_create_mount_point(kernel_kobj, "security"); in securityfs_init() 366 sysfs_remove_mount_point(kernel_kobj, "security"); in securityfs_init()
|
/linux/kernel/bpf/ |
H A D | sysfs_btf.c | 38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/linux/tools/testing/selftests/livepatch/test_modules/ |
H A D | test_klp_syscall.c | 85 klp_kobj = kobject_create_and_add("test_klp_syscall", kernel_kobj); in livepatch_init()
|
/linux/samples/kobject/ |
H A D | kobject-example.c | 124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
|
H A D | kset-example.c | 247 example_kset = kset_create_and_add("kset_example", NULL, kernel_kobj); in example_init()
|
/linux/drivers/dma-buf/ |
H A D | dma-buf-sysfs-stats.c | 150 kernel_kobj); in dma_buf_init_sysfs_statistics()
|
/linux/drivers/staging/greybus/ |
H A D | audio_manager.c | 164 kernel_kobj); in manager_init()
|
/linux/kernel/trace/ |
H A D | preemptirq_delay_test.c | 198 kernel_kobj); in preemptirq_delay_init()
|
/linux/include/linux/ |
H A D | kobject.h | 204 extern struct kobject *kernel_kobj;
|
/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 590 return sysfs_create_bin_file(kernel_kobj, &bin_attr_bpf_testmod_uprobe_file); in register_bpf_testmod_uprobe() 596 sysfs_remove_bin_file(kernel_kobj, &bin_attr_bpf_testmod_uprobe_file); in unregister_bpf_testmod_uprobe() 1450 ret = sysfs_create_bin_file(kernel_kobj, &bin_attr_bpf_testmod_file); in bpf_testmod_init() 1478 sysfs_remove_bin_file(kernel_kobj, &bin_attr_bpf_testmod_file); in bpf_testmod_exit()
|
/linux/fs/debugfs/ |
H A D | inode.c | 941 retval = sysfs_create_mount_point(kernel_kobj, "debug"); in debugfs_init() 947 sysfs_remove_mount_point(kernel_kobj, "debug"); in debugfs_init()
|
/linux/arch/x86/kernel/ |
H A D | ksysfs.c | 378 kernel_kobj); in boot_params_ksysfs_init()
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 815 mobility_kobj = kobject_create_and_add("mobility", kernel_kobj); in mobility_sysfs_init()
|
H A D | dlpar.c | 776 return sysfs_create_file(kernel_kobj, &class_attr_dlpar.attr); in dlpar_sysfs_init()
|
/linux/arch/arm/common/ |
H 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/ |
H A D | sysfs.c | 340 rpc_sunrpc_kset = kset_create_and_add("sunrpc", NULL, kernel_kobj); in rpc_sysfs_init()
|
/linux/fs/tracefs/ |
H A D | inode.c | 817 retval = sysfs_create_mount_point(kernel_kobj, "tracing"); in tracefs_init()
|
/linux/arch/um/kernel/ |
H A D | time.c | 1052 bc_time_kobject = kobject_create_and_add("um-ext-time", kernel_kobj); in um_bc_start()
|
/linux/fs/dlm/ |
H A D | lockspace.c | 228 dlm_kset = kset_create_and_add("dlm", &dlm_uevent_ops, kernel_kobj); in dlm_lockspace_init()
|
/linux/kernel/irq/ |
H A D | irqdesc.c | 423 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()
|