Home
last modified time | relevance | path

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

/Linux-v6.1/fs/sysfs/
Ddir.c134 int sysfs_create_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_create_mount_point() argument
136 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point()
155 void sysfs_remove_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_remove_mount_point() argument
157 struct kernfs_node *parent = parent_kobj->sd; in sysfs_remove_mount_point()
/Linux-v6.1/fs/xfs/
Dxfs_sysfs.h32 struct xfs_kobj *parent_kobj, in xfs_sysfs_init() argument
38 parent = parent_kobj ? &parent_kobj->kobject : NULL; in xfs_sysfs_init()
Dxfs_sysfs.c614 struct xfs_kobj *parent_kobj, in xfs_error_sysfs_init_class() argument
623 error = xfs_sysfs_init(parent_kobj, &xfs_error_ktype, in xfs_error_sysfs_init_class()
631 parent_kobj, init[i].name); in xfs_error_sysfs_init_class()
650 xfs_sysfs_del(parent_kobj); in xfs_error_sysfs_init_class()
/Linux-v6.1/include/linux/
Dsysfs.h268 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
270 void sysfs_remove_mount_point(struct kobject *parent_kobj,
385 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, in sysfs_create_mount_point() argument
391 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, in sysfs_remove_mount_point() argument
Dkobject.h184 struct kobject *parent_kobj);
/Linux-v6.1/lib/
Dkobject.c932 struct kobject *parent_kobj) in kset_create() argument
946 kset->kobj.parent = parent_kobj; in kset_create()
975 struct kobject *parent_kobj) in kset_create_and_add() argument
980 kset = kset_create(name, uevent_ops, parent_kobj); in kset_create_and_add()
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dkobject.rst310 struct kobject *parent_kobj);
/Linux-v6.1/drivers/base/
Dcore.c3040 class_dir_create_and_add(struct class *class, struct kobject *parent_kobj) in class_dir_create_and_add() argument
3054 retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); in class_dir_create_and_add()
3069 struct kobject *parent_kobj; in get_device_parent() local
3087 parent_kobj = virtual_device_parent(dev); in get_device_parent()
3091 parent_kobj = &parent->kobj; in get_device_parent()
3098 if (k->parent == parent_kobj) { in get_device_parent()
3109 k = class_dir_create_and_add(dev->class, parent_kobj); in get_device_parent()
/Linux-v6.1/Documentation/core-api/
Dkobject.rst357 struct kobject *parent_kobj);