Home | History | Annotate | Download | only in linux

Lines Matching refs:kobject

2  * kobject.h - generic kernel object infrastructure.
10 * Please read Documentation/kobject.txt before using the kobject
36 /* counter to tag the uevent, read only except for the kobject core */
51 struct kobject {
56 struct kobject * parent;
63 extern int kobject_set_name(struct kobject *, const char *, ...)
66 static inline const char * kobject_name(const struct kobject * kobj)
71 extern void kobject_init(struct kobject *);
72 extern void kobject_cleanup(struct kobject *);
74 extern int kobject_add(struct kobject *);
75 extern void kobject_del(struct kobject *);
77 extern int kobject_rename(struct kobject *, const char *new_name);
79 extern int kobject_register(struct kobject *);
80 extern void kobject_unregister(struct kobject *);
82 extern struct kobject * kobject_get(struct kobject *);
83 extern void kobject_put(struct kobject *);
85 extern struct kobject *kobject_add_dir(struct kobject *, const char *);
87 extern char * kobject_get_path(struct kobject *, gfp_t);
90 void (*release)(struct kobject *);
114 int (*filter)(struct kset *kset, struct kobject *kobj);
115 const char *(*name)(struct kset *kset, struct kobject *kobj);
116 int (*uevent)(struct kset *kset, struct kobject *kobj, char **envp,
125 struct kobject kobj;
135 static inline struct kset * to_kset(struct kobject * kobj)
150 static inline struct kobj_type * get_ktype(struct kobject * k)
158 extern struct kobject * kset_find_obj(struct kset *, const char *);
204 * kobj_set_kset_s(obj,subsys) - set kset for embedded kobject.
220 * Sets the kset of @obj's embedded kobject (via its embedded
234 * Sets the kset of @obj's kobject to @subsys.kset. This makes
264 void kobject_uevent(struct kobject *kobj, enum kobject_action action);
271 static inline void kobject_uevent(struct kobject *kobj, enum kobject_action action) { }