Lines Matching defs:item
55 static inline struct childless *to_childless(struct config_item *item)
57 return item ? container_of(to_configfs_subsystem(to_config_group(item)), struct childless, subsys) : NULL;
162 struct config_item item;
166 static inline struct simple_child *to_simple_child(struct config_item *item)
168 return item ? container_of(item, struct simple_child, item) : NULL;
182 static ssize_t simple_child_attr_show(struct config_item *item,
187 struct simple_child *simple_child = to_simple_child(item);
194 static ssize_t simple_child_attr_store(struct config_item *item,
198 struct simple_child *simple_child = to_simple_child(item);
214 static void simple_child_release(struct config_item *item)
216 kfree(to_simple_child(item));
236 static inline struct simple_children *to_simple_children(struct config_item *item)
238 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL;
249 config_item_init_type_name(&simple_child->item, name,
254 return &simple_child->item;
268 static ssize_t simple_children_attr_show(struct config_item *item,
279 static void simple_children_release(struct config_item *item)
281 kfree(to_simple_children(item));
352 static ssize_t group_children_attr_show(struct config_item *item,