Lines Matching defs:kobj
67 struct kobject kobj;
82 static struct esre_entry *to_entry(struct kobject *kobj)
84 return container_of(kobj, struct esre_entry, kobj);
92 static ssize_t esre_attr_show(struct kobject *kobj,
95 struct esre_entry *entry = to_entry(kobj);
147 static void esre_release(struct kobject *kobj)
149 struct esre_entry *entry = to_entry(kobj);
173 entry->kobj.kset = esrt_kset;
179 rc = kobject_init_and_add(&entry->kobj, &esre1_ktype, NULL,
182 kobject_put(&entry->kobj);
193 static ssize_t name##_show(struct kobject *kobj, \
221 static umode_t esrt_attr_is_visible(struct kobject *kobj,
366 kobject_put(&entry->kobj);