Lines Matching refs:scope
107 let scope = Scope::<T>::new(data, move |data| {
110 // SAFETY: Because data derives from a scope, and our entry will be dropped before
119 scope <- scope
378 /// Creates a new scope, which is a directory associated with some data `T`.
382 /// stored in the scope.
384 /// The entire directory tree created within the scope will be removed when the returned
386 pub fn scope<'a, T: 'a, E: 'a, F>(
404 /// Handle to a DebugFS scope, which ensures that attached `data` will outlive the DebugFS entry
430 scope: Scope<T>,
445 .pin_chain(|scope| {
446 init(&scope.data);
470 .pin_chain(|scope| {
471 *scope.entry_mut() = init(&scope.data);
478 /// Creates a new scope, which is a directory at the root of the debugfs filesystem,
482 /// files can reference the data stored in the scope.
484 /// The entire directory tree created within the scope will be removed when the returned
512 &self.scope