Lines Matching refs:data
26 data: Revocable<T>, field
131 data: impl PinInit<T, E> + 'a, in new()
160 data <- Revocable::new(data), in new()
172 fn data(&self) -> &Revocable<T> { in data() method
173 &self.inner().data in data()
185 if !inner.data.revoke() { in devres_callback()
248 Ok(unsafe { self.data().access() }) in access()
253 self.data().try_access() in try_access()
258 self.data().try_access_with(f) in try_access_with()
263 self.data().try_access_with_guard(guard) in try_access_with_guard()
278 if unsafe { self.data().revoke_nosync() } { in drop()
302 fn register_foreign<P>(dev: &Device<Bound>, data: P) -> Result in register_foreign()
306 let ptr = data.into_foreign(); in register_foreign()
352 pub fn register<T, E>(dev: &Device<Bound>, data: impl PinInit<T, E>, flags: Flags) -> Result in register()
357 let data = KBox::pin_init(data, flags)?; in register()
359 register_foreign(dev, data) in register()