Searched refs:parent_kobj (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/fs/sysfs/ |
D | dir.c | 134 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/ |
D | xfs_sysfs.h | 32 struct xfs_kobj *parent_kobj, in xfs_sysfs_init() argument 38 parent = parent_kobj ? &parent_kobj->kobject : NULL; in xfs_sysfs_init()
|
D | xfs_sysfs.c | 614 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/ |
D | sysfs.h | 268 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
|
D | kobject.h | 184 struct kobject *parent_kobj);
|
/Linux-v6.1/lib/ |
D | kobject.c | 932 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/ |
D | kobject.rst | 310 struct kobject *parent_kobj);
|
/Linux-v6.1/drivers/base/ |
D | core.c | 3040 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/ |
D | kobject.rst | 357 struct kobject *parent_kobj);
|