Lines Matching defs:item
62 static inline struct childless *to_childless(struct config_item *item)
64 return item ? container_of(to_configfs_subsystem(to_config_group(item)), struct childless, subsys) : NULL;
136 static ssize_t childless_attr_show(struct config_item *item,
140 struct childless *childless = to_childless(item);
150 static ssize_t childless_attr_store(struct config_item *item,
154 struct childless *childless = to_childless(item);
199 struct config_item item;
203 static inline struct simple_child *to_simple_child(struct config_item *item)
205 return item ? container_of(item, struct simple_child, item) : NULL;
219 static ssize_t simple_child_attr_show(struct config_item *item,
224 struct simple_child *simple_child = to_simple_child(item);
231 static ssize_t simple_child_attr_store(struct config_item *item,
235 struct simple_child *simple_child = to_simple_child(item);
251 static void simple_child_release(struct config_item *item)
253 kfree(to_simple_child(item));
273 static inline struct simple_children *to_simple_children(struct config_item *item)
275 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL;
286 config_item_init_type_name(&simple_child->item, name,
291 return &simple_child->item;
305 static ssize_t simple_children_attr_show(struct config_item *item,
316 static void simple_children_release(struct config_item *item)
318 kfree(to_simple_children(item));
389 static ssize_t group_children_attr_show(struct config_item *item,