Lines Matching defs:subsystem
124 /// A configfs subsystem.
131 subsystem: Opaque<bindings::configfs_subsystem>,
145 /// The subsystem will appear in configfs as a directory name given by
154 subsystem <- pin_init::init_zeroed().chain(
180 // SAFETY: We initialized `this.subsystem` according to C API contract above.
181 unsafe { bindings::configfs_register_subsystem(this.subsystem.get()) },
190 // SAFETY: We registered `self.subsystem` in the initializer returned by `Self::new`.
191 unsafe { bindings::configfs_unregister_subsystem(self.subsystem.get()) };
193 unsafe { bindings::mutex_destroy(&raw mut (*self.subsystem.get()).su_mutex) };
224 // within the `subsystem` field.
228 unsafe { &raw const (*(*this).subsystem.get()).su_group }
237 unsafe { container_of!(opaque_ptr, Subsystem<Data>, subsystem) }
301 /// If `this` does not represent the root group of a configfs subsystem,
335 /// If `this` does not represent the root group of a configfs subsystem,
380 /// If `this` does not represent the root group of a configfs subsystem,
543 /// If `item` does not represent the root group of a configfs subsystem,
576 /// If `item` does not represent the root group of a configfs subsystem,