Home
last modified time | relevance | path

Searched refs:parent_kobj (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_sysfs.h32 struct xfs_kobj *parent_kobj, in xfs_sysfs_init() argument
37 parent = parent_kobj ? &parent_kobj->kobject : NULL; in xfs_sysfs_init()
Dxfs_sysfs.c585 struct xfs_kobj *parent_kobj, in xfs_error_sysfs_init_class() argument
594 error = xfs_sysfs_init(parent_kobj, &xfs_error_ktype, in xfs_error_sysfs_init_class()
602 parent_kobj, init[i].name); in xfs_error_sysfs_init_class()
621 xfs_sysfs_del(parent_kobj); in xfs_error_sysfs_init_class()
/kernel/linux/linux-5.10/fs/sysfs/
Ddir.c135 int sysfs_create_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_create_mount_point() argument
137 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point()
156 void sysfs_remove_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_remove_mount_point() argument
158 struct kernfs_node *parent = parent_kobj->sd; in sysfs_remove_mount_point()
/kernel/linux/linux-5.10/include/linux/
Dsysfs.h244 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
246 void sysfs_remove_mount_point(struct kobject *parent_kobj,
361 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, in sysfs_create_mount_point() argument
367 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, in sysfs_remove_mount_point() argument
Dkobject.h204 struct kobject *parent_kobj);
/kernel/linux/linux-5.10/lib/
Dkobject.c964 struct kobject *parent_kobj) in kset_create() argument
978 kset->kobj.parent = parent_kobj; in kset_create()
1007 struct kobject *parent_kobj) in kset_create_and_add() argument
1012 kset = kset_create(name, uevent_ops, parent_kobj); in kset_create_and_add()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Defivars.c642 struct kobject *parent_kobj = efivars_kobject(); in efivars_sysfs_init() local
646 if (!parent_kobj || !efivar_supports_writes()) in efivars_sysfs_init()
652 efivars_kset = kset_create_and_add("vars", NULL, parent_kobj); in efivars_sysfs_init()
/kernel/linux/linux-5.10/drivers/base/
Dcore.c2502 class_dir_create_and_add(struct class *class, struct kobject *parent_kobj) in class_dir_create_and_add() argument
2516 retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); in class_dir_create_and_add()
2531 struct kobject *parent_kobj; in get_device_parent() local
2549 parent_kobj = virtual_device_parent(dev); in get_device_parent()
2553 parent_kobj = &parent->kobj; in get_device_parent()
2560 if (k->parent == parent_kobj) { in get_device_parent()
2571 k = class_dir_create_and_add(dev->class, parent_kobj); in get_device_parent()
/kernel/linux/linux-5.10/Documentation/core-api/
Dkobject.rst358 struct kobject *parent_kobj);