Searched refs:simple_children (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/Documentation/filesystems/configfs/ |
H A D | configfs_example_explicit.c | 269 struct simple_children { struct 273 static inline struct simple_children *to_simple_children(struct config_item *item) to_simple_children() 275 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL; to_simple_children() 356 * This example reuses the simple_children group from above. However, 357 * the simple_children group is not the subsystem itself, it is a 359 * a new simple_children group. That group can then have simple_child 365 struct simple_children *simple_children; group_children_make_group() local 367 simple_children = kzalloc(sizeof(struct simple_children), group_children_make_group() 369 if (!simple_children) group_children_make_group() 372 config_group_init_type_name(&simple_children->group, name, group_children_make_group() 375 return &simple_children->group; group_children_make_group()
|
H A D | configfs_example_macros.c | 232 struct simple_children { struct 236 static inline struct simple_children *to_simple_children(struct config_item *item) to_simple_children() 238 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL; to_simple_children() 319 * This example reuses the simple_children group from above. However, 320 * the simple_children group is not the subsystem itself, it is a 322 * a new simple_children group. That group can then have simple_child 328 struct simple_children *simple_children; group_children_make_group() local 330 simple_children = kzalloc(sizeof(struct simple_children), group_children_make_group() 332 if (!simple_children) group_children_make_group() 335 config_group_init_type_name(&simple_children->group, name, group_children_make_group() 338 return &simple_children->group; group_children_make_group()
|
Completed in 60 milliseconds