Searched refs:uevent_ops (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/lib/
H A Dkobject_uevent.c173 const struct kset_uevent_ops *uevent_ops; kobject_uevent_env() local
196 uevent_ops = kset->uevent_ops; kobject_uevent_env()
206 if (uevent_ops && uevent_ops->filter) kobject_uevent_env()
207 if (!uevent_ops->filter(kset, kobj)) { kobject_uevent_env()
215 if (uevent_ops && uevent_ops->name) kobject_uevent_env()
216 subsystem = uevent_ops->name(kset, kobj); kobject_uevent_env()
259 if (uevent_ops && uevent_ops->uevent) { kobject_uevent_env()
260 retval = uevent_ops->uevent(kset, kobj, env); kobject_uevent_env()
H A Dkobject.c882 * @uevent_ops: a struct kset_uevent_ops for the kset
894 const struct kset_uevent_ops *uevent_ops, kset_create()
908 kset->uevent_ops = uevent_ops; kset_create()
926 * @uevent_ops: a struct kset_uevent_ops for the kset
937 const struct kset_uevent_ops *uevent_ops, 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/include/linux/
H A Dkobject.h163 * @uevent_ops: the set of uevent operations for this kset. These are
172 const struct kset_uevent_ops *uevent_ops; member in struct:kset
/linux-4.4.14/drivers/base/
H A Dcore.c389 if (!kset->uevent_ops || !kset->uevent_ops->uevent) uevent_show()
393 if (kset->uevent_ops && kset->uevent_ops->filter) uevent_show()
394 if (!kset->uevent_ops->filter(kset, &dev->kobj)) uevent_show()
402 retval = kset->uevent_ops->uevent(kset, &dev->kobj, env); uevent_show()

Completed in 428 milliseconds