Home
last modified time | relevance | path

Searched refs:simple_child (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/samples/configfs/
H A Dconfigfs_sample.c121 struct simple_child { struct
126 static inline struct simple_child *to_simple_child(struct config_item *item) in to_simple_child() argument
128 return container_of(item, struct simple_child, item); in to_simple_child()
139 struct simple_child *simple_child = to_simple_child(item); in simple_child_storeme_store() local
142 ret = kstrtoint(page, 10, &simple_child->storeme); in simple_child_storeme_store()
184 struct simple_child *simple_child; in simple_children_make_item() local
186 simple_child = kzalloc(sizeof(struct simple_child), GFP_KERNEL); in simple_children_make_item()
187 if (!simple_child) in simple_children_make_item()
190 config_item_init_type_name(&simple_child->item, name, in simple_children_make_item()
193 return &simple_child->item; in simple_children_make_item()
/openbmc/linux/Documentation/filesystems/
H A Dconfigfs.rst370 subsystem/group and the simple_child item in