Searched refs:kernel_kobj (Results 1 - 20 of 20) sorted by relevance

/linux-4.4.14/kernel/
H A Dksysfs.c187 struct kobject *kernel_kobj; variable in typeref:struct:kobject
188 EXPORT_SYMBOL_GPL(kernel_kobj); variable
217 kernel_kobj = kobject_create_and_add("kernel", NULL); ksysfs_init()
218 if (!kernel_kobj) { ksysfs_init()
222 error = sysfs_create_group(kernel_kobj, &kernel_attr_group); ksysfs_init()
228 error = sysfs_create_bin_file(kernel_kobj, &notes_attr); ksysfs_init()
236 sysfs_remove_group(kernel_kobj, &kernel_attr_group); ksysfs_init()
238 kobject_put(kernel_kobj); ksysfs_init()
/linux-4.4.14/fs/configfs/
H A Dmount.c142 err = sysfs_create_mount_point(kernel_kobj, "config"); configfs_init()
153 sysfs_remove_mount_point(kernel_kobj, "config"); configfs_init()
164 sysfs_remove_mount_point(kernel_kobj, "config"); configfs_exit()
/linux-4.4.14/fs/fscache/
H A Dmain.c154 fscache_root = kobject_create_and_add("fscache", kernel_kobj); fscache_init()
/linux-4.4.14/mm/
H A Dmm_init.c192 mm_kobj = kobject_create_and_add("mm", kernel_kobj); mm_sysfs_init()
H A Dslub.c5487 slab_kset = kset_create_and_add("slab", &slab_uevent_ops, kernel_kobj); slab_sysfs_init()
/linux-4.4.14/samples/kobject/
H A Dkobject-example.c126 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); example_init()
H A Dkset-example.c248 example_kset = kset_create_and_add("kset_example", NULL, kernel_kobj); example_init()
/linux-4.4.14/security/
H A Dinode.c215 retval = sysfs_create_mount_point(kernel_kobj, "security"); securityfs_init()
221 sysfs_remove_mount_point(kernel_kobj, "security"); securityfs_init()
/linux-4.4.14/arch/x86/kernel/
H A Dksysfs.c317 kernel_kobj); boot_params_ksysfs_init()
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dmobility.c356 mobility_kobj = kobject_create_and_add("mobility", kernel_kobj); mobility_sysfs_init()
H A Ddlpar.c634 rc = sysfs_create_file(kernel_kobj, &class_attr_dlpar.attr); pseries_dlpar_init()
/linux-4.4.14/include/linux/
H A Dkobject.h205 extern struct kobject *kernel_kobj;
/linux-4.4.14/fs/debugfs/
H A Dinode.c724 retval = sysfs_create_mount_point(kernel_kobj, "debug"); debugfs_init()
730 sysfs_remove_mount_point(kernel_kobj, "debug"); debugfs_init()
/linux-4.4.14/arch/powerpc/kernel/
H A Dfadump.c1256 rc = sysfs_create_file(kernel_kobj, &fadump_attr.attr); fadump_init_files()
1261 rc = sysfs_create_file(kernel_kobj, &fadump_register_attr.attr); fadump_init_files()
1274 rc = sysfs_create_file(kernel_kobj, &fadump_release_attr.attr); fadump_init_files()
/linux-4.4.14/crypto/
H A Dpcrypt.c480 pcrypt_kset = kset_create_and_add("pcrypt", NULL, kernel_kobj); pcrypt_init()
/linux-4.4.14/fs/dlm/
H A Dlockspace.c247 dlm_kset = kset_create_and_add("dlm", &dlm_uevent_ops, kernel_kobj); dlm_lockspace_init()
/linux-4.4.14/kernel/livepatch/
H A Dcore.c1024 klp_root_kobj = kobject_create_and_add("livepatch", kernel_kobj); klp_init()
/linux-4.4.14/fs/tracefs/
H A Dinode.c637 retval = sysfs_create_mount_point(kernel_kobj, "tracing"); tracefs_init()
/linux-4.4.14/arch/arm/common/
H A DbL_switcher.c730 bL_switcher_kobj = kobject_create_and_add("bL_switcher", kernel_kobj); bL_switcher_sysfs_init()
/linux-4.4.14/drivers/iommu/
H A Diommu.c1486 NULL, kernel_kobj); iommu_init()

Completed in 994 milliseconds