Home
last modified time | relevance | path

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

/linux-6.15/rust/kernel/block/mq/
H A Drequest.rs140 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() method
144 let wrapper_ptr = in wrapper_ptr() localVariable
148 unsafe { NonNull::new_unchecked(wrapper_ptr) } in wrapper_ptr()
158 unsafe { Self::wrapper_ptr(self as *const Self as *mut Self).as_ref() } in wrapper_ref()
249 let wrapper_ptr = unsafe { Self::wrapper_ptr(obj.as_ptr()).as_ptr() }; in dec_ref() localVariable
252 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
H A Doperations.rs186 let pdu = unsafe { Request::wrapper_ptr(rq.cast::<Request<T>>()) }; in init_request_callback()