Home
last modified time | relevance | path

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

/kernel/
Dksysfs.c136 struct kobject *kernel_kobj; variable
137 EXPORT_SYMBOL_GPL(kernel_kobj);
163 kernel_kobj = kobject_create_and_add("kernel", NULL); in ksysfs_init()
164 if (!kernel_kobj) { in ksysfs_init()
168 error = sysfs_create_group(kernel_kobj, &kernel_attr_group); in ksysfs_init()
174 error = sysfs_create_bin_file(kernel_kobj, &notes_attr); in ksysfs_init()
188 sysfs_remove_bin_file(kernel_kobj, &notes_attr); in ksysfs_init()
190 sysfs_remove_group(kernel_kobj, &kernel_attr_group); in ksysfs_init()
192 kobject_put(kernel_kobj); in ksysfs_init()
Duser.c279 uids_kset = kset_create_and_add("uids", NULL, kernel_kobj); in uids_sysfs_init()