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

/linux-4.1.27/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.c864 * @uevent_ops: a struct kset_uevent_ops for the kset
876 const struct kset_uevent_ops *uevent_ops, kset_create()
890 kset->uevent_ops = uevent_ops; kset_create()
908 * @uevent_ops: a struct kset_uevent_ops for the kset
919 const struct kset_uevent_ops *uevent_ops, kset_create_and_add()
925 kset = kset_create(name, uevent_ops, parent_kobj); kset_create_and_add()
875 kset_create(const char *name, const struct kset_uevent_ops *uevent_ops, struct kobject *parent_kobj) kset_create() argument
918 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.1.27/include/linux/
H A Dkobject.h162 * @uevent_ops: the set of uevent operations for this kset. These are
171 const struct kset_uevent_ops *uevent_ops; member in struct:kset
/linux-4.1.27/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 179 milliseconds