Searched refs:RequestDataWrapper (Results 1 – 3 of 3) sorted by relevance
169 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() argument174 unsafe { bindings::blk_mq_rq_to_pdu(request_ptr).cast::<RequestDataWrapper>() }; in wrapper_ptr()182 pub(crate) fn wrapper_ref(&self) -> &RequestDataWrapper { in wrapper_ref() argument194 pub(crate) struct RequestDataWrapper { struct203 impl RequestDataWrapper { impl247 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
9 block::mq::{request::RequestDataWrapper, Request},230 unsafe { RequestDataWrapper::refcount_ptr(pdu.as_ptr()).write(Refcount::new(0)) }; in init_request_callback()251 let pdu = unsafe { bindings::blk_mq_rq_to_pdu(rq) }.cast::<RequestDataWrapper>(); in exit_request_callback()
11 block::mq::{operations::OperationsVTable, request::RequestDataWrapper, Operations},42 let tag_set: Result<_> = core::mem::size_of::<RequestDataWrapper>() in new()