Searched refs:RequestDataWrapper (Results 1 – 3 of 3) sorted by relevance
140 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() argument145 unsafe { bindings::blk_mq_rq_to_pdu(request_ptr).cast::<RequestDataWrapper>() }; in wrapper_ptr()153 pub(crate) fn wrapper_ref(&self) -> &RequestDataWrapper { in wrapper_ref() argument165 pub(crate) struct RequestDataWrapper { struct174 impl RequestDataWrapper { implementation252 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
9 block::mq::request::RequestDataWrapper,190 unsafe { RequestDataWrapper::refcount_ptr(pdu.as_ptr()).write(AtomicU64::new(0)) }; in init_request_callback()211 let pdu = unsafe { bindings::blk_mq_rq_to_pdu(rq) }.cast::<RequestDataWrapper>(); in exit_request_callback()
11 block::mq::{operations::OperationsVTable, request::RequestDataWrapper, Operations},45 let tag_set = core::mem::size_of::<RequestDataWrapper>() in new()