Home
last modified time | relevance | path

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

12

/linux/kernel/
A Dksysfs.c208 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, &notes_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 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()
A Dreboot.c879 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()
/linux/fs/configfs/
A Dmount.c145 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 Dbpf_testmod.c122 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 Dinode.c335 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 Dsysfs_btf.c38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/linux/samples/kobject/
A Dkobject-example.c124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
A Dkset-example.c247 example_kset = kset_create_and_add("kset_example", NULL, kernel_kobj); in example_init()
/linux/arch/powerpc/kernel/
A Dfadump.c1554 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 Daudio_manager.c164 kernel_kobj); in manager_init()
/linux/drivers/dma-buf/
A Ddma-buf-sysfs-stats.c150 kernel_kobj); in dma_buf_init_sysfs_statistics()
/linux/fs/fscache/
A Dmain.c187 fscache_root = kobject_create_and_add("fscache", kernel_kobj); in fscache_init()
/linux/kernel/trace/
A Dpreemptirq_delay_test.c200 kernel_kobj); in preemptirq_delay_init()
/linux/mm/
A Dmm_init.c198 mm_kobj = kobject_create_and_add("mm", kernel_kobj); in mm_sysfs_init()
/linux/include/linux/
A Dkobject.h228 extern struct kobject *kernel_kobj;
/linux/fs/debugfs/
A Dinode.c839 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 Dksysfs.c333 kernel_kobj); in boot_params_ksysfs_init()
/linux/crypto/
A Dpcrypt.c344 pcrypt_kset = kset_create_and_add("pcrypt", NULL, kernel_kobj); in pcrypt_init()
/linux/arch/powerpc/platforms/pseries/
A Dmobility.c715 mobility_kobj = kobject_create_and_add("mobility", kernel_kobj); in mobility_sysfs_init()
A Ddlpar.c591 return sysfs_create_file(kernel_kobj, &class_attr_dlpar.attr); in dlpar_sysfs_init()
/linux/fs/tracefs/
A Dinode.c619 retval = sysfs_create_mount_point(kernel_kobj, "tracing"); in tracefs_init()
/linux/arch/arm/common/
A DbL_switcher.c725 bL_switcher_kobj = kobject_create_and_add("bL_switcher", kernel_kobj); in bL_switcher_sysfs_init()
/linux/net/sunrpc/
A Dsysfs.c345 rpc_sunrpc_kset = kset_create_and_add("sunrpc", NULL, kernel_kobj); in rpc_sysfs_init()
/linux/kernel/irq/
A Dirqdesc.c318 irq_kobj_base = kobject_create_and_add("irq", kernel_kobj); in irq_sysfs_init()

Completed in 41 milliseconds

12