Home
last modified time | relevance | path

Searched refs:wrapper_ptr (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/block/mq/
H A Drequest.rs169 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() method
173 let wrapper_ptr = in wrapper_ptr() localVariable
177 unsafe { NonNull::new_unchecked(wrapper_ptr) } in wrapper_ptr()
187 unsafe { Self::wrapper_ptr(core::ptr::from_ref(self).cast_mut()).as_ref() } in wrapper_ref()
244 let wrapper_ptr = unsafe { Self::wrapper_ptr(obj.as_ptr()).as_ptr() }; in dec_ref() localVariable
247 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
H A Doperations.rs226 let pdu = unsafe { Request::wrapper_ptr(rq.cast::<Request<T>>()) }; in init_request_callback()