Lines Matching refs:kset
68 struct kset *kset;
152 * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem.
154 * A kset defines a group of kobjects. They can be individually
160 * @list: the list of all kobjects for this kset
162 * @kobj: the embedded kobject for this kset (recursion, isn't it fun...)
163 * @uevent_ops: the set of uevent operations for this kset. These are
164 * called whenever a kobject has something happen to it so that the kset
168 struct kset {
175 void kset_init(struct kset *kset);
176 int __must_check kset_register(struct kset *kset);
177 void kset_unregister(struct kset *kset);
178 struct kset * __must_check kset_create_and_add(const char *name, const struct kset_uevent_ops *u,
181 static inline struct kset *to_kset(struct kobject *kobj)
183 return kobj ? container_of(kobj, struct kset, kobj) : NULL;
186 static inline struct kset *kset_get(struct kset *k)
191 static inline void kset_put(struct kset *k)
201 struct kobject *kset_find_obj(struct kset *, const char *);