Lines Matching full:child
49 // attributes, `message` and `bar` and child group type `Child`. `mkdir`
51 // backed by the `Child` type.
55 child: Child,
72 type Child = Child;
74 fn make_group(&self, name: &CStr) -> Result<impl PinInit<configfs::Group<Child>, Error>> {
75 // Define a group with data type `Child`, one attribute `baz` and child
79 container: configfs::Group<Child>,
80 data: Child,
81 child: GrandChild,
87 Ok(configfs::Group::new(name.try_into()?, tpe, Child::new()))
127 struct Child {}
129 impl Child {
136 impl configfs::GroupOperations for Child {
137 type Child = GrandChild;
141 // child type is specified, it will not be possible to create subgroups
161 impl configfs::AttributeOperations<0> for Child {
162 type Data = Child;
164 fn show(_container: &Child, page: &mut [u8; PAGE_SIZE]) -> Result<usize> {
187 pr_info!("Show grand child\n");