Lines Matching full:drop
44 /// [`Drop`] implementation.
87 /// impl<const SIZE: usize> Drop for IoMem<SIZE> {
88 /// fn drop(&mut self) {
259 impl<T: Send> Drop for Devres<T> {
260 fn drop(&mut self) { in drop() method
261 // SAFETY: When `drop` runs, it is guaranteed that nobody is accessing the revocable data in drop()
267 // for `devm_add_action()`. Since `remove_action()` was successful, we have to drop in drop()
269 drop(unsafe { Arc::from_raw(Arc::as_ptr(&self.data)) }); in drop()
275 /// Consume `data` and [`Drop::drop`] `data` once `dev` is unbound.
285 drop(unsafe { P::from_foreign(ptr.cast()) }); in register_foreign()
298 /// Encapsulate `data` in a [`KBox`] and [`Drop::drop`] `data` once `dev` is unbound.
322 /// impl Drop for Registration {
323 /// fn drop(&mut self) {