Home
last modified time | relevance | path

Searched refs:RequestDataWrapper (Results 1 – 3 of 3) 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() argument
174 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() argument
194 pub(crate) struct RequestDataWrapper { struct
203 impl RequestDataWrapper { impl
247 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
H A Doperations.rs9 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()
H A Dtag_set.rs11 block::mq::{operations::OperationsVTable, request::RequestDataWrapper, Operations},
42 let tag_set: Result<_> = core::mem::size_of::<RequestDataWrapper>() in new()