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

/linux-4.4.14/fs/sysfs/
H A Ddir.c127 * @parent_kobj: kobject that will contain this always empty directory
130 int sysfs_create_mount_point(struct kobject *parent_kobj, const char *name) sysfs_create_mount_point() argument
132 struct kernfs_node *kn, *parent = parent_kobj->sd; sysfs_create_mount_point()
147 * @parent_kobj: kobject that will contain this always empty directory
151 void sysfs_remove_mount_point(struct kobject *parent_kobj, const char *name) sysfs_remove_mount_point() argument
153 struct kernfs_node *parent = parent_kobj->sd; sysfs_remove_mount_point()
/linux-4.4.14/drivers/staging/most/hdm-dim2/
H A Ddim2_sysfs.h29 int dim2_sysfs_probe(struct medialb_bus *bus, struct kobject *parent_kobj);
H A Ddim2_sysfs.c88 int dim2_sysfs_probe(struct medialb_bus *bus, struct kobject *parent_kobj) dim2_sysfs_probe() argument
93 err = kobject_add(&bus->kobj_group, parent_kobj, "bus"); dim2_sysfs_probe()
/linux-4.4.14/fs/xfs/
H A Dxfs_sysfs.h44 struct xfs_kobj *parent_kobj, xfs_sysfs_init()
49 &parent_kobj->kobject, "%s", name); xfs_sysfs_init()
41 xfs_sysfs_init( struct xfs_kobj *kobj, struct kobj_type *ktype, struct xfs_kobj *parent_kobj, const char *name) xfs_sysfs_init() argument
/linux-4.4.14/include/linux/
H A Dsysfs.h223 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
225 void sysfs_remove_mount_point(struct kobject *parent_kobj,
318 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, sysfs_create_mount_point() argument
324 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, sysfs_remove_mount_point() argument
H A Dkobject.h180 struct kobject *parent_kobj);
/linux-4.4.14/lib/
H A Dkobject.c883 * @parent_kobj: the parent kobject of this kset, if any.
895 struct kobject *parent_kobj) kset_create()
909 kset->kobj.parent = parent_kobj; kset_create()
927 * @parent_kobj: the parent kobject of this kset, if any.
938 struct kobject *parent_kobj) kset_create_and_add()
943 kset = kset_create(name, uevent_ops, parent_kobj); kset_create_and_add()
893 kset_create(const char *name, const struct kset_uevent_ops *uevent_ops, struct kobject *parent_kobj) kset_create() argument
936 kset_create_and_add(const char *name, const struct kset_uevent_ops *uevent_ops, struct kobject *parent_kobj) kset_create_and_add() argument
/linux-4.4.14/drivers/firmware/efi/
H A Defivars.c714 struct kobject *parent_kobj = efivars_kobject(); efivars_sysfs_init() local
721 if (!parent_kobj) efivars_sysfs_init()
727 efivars_kset = kset_create_and_add("vars", NULL, parent_kobj); efivars_sysfs_init()
/linux-4.4.14/drivers/base/
H A Dcore.c755 class_dir_create_and_add(struct class *class, struct kobject *parent_kobj) class_dir_create_and_add() argument
769 retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); class_dir_create_and_add()
784 struct kobject *parent_kobj; get_device_parent() local
802 parent_kobj = virtual_device_parent(dev); get_device_parent()
806 parent_kobj = &parent->kobj; get_device_parent()
813 if (k->parent == parent_kobj) { get_device_parent()
824 k = class_dir_create_and_add(dev->class, parent_kobj); get_device_parent()

Completed in 465 milliseconds