Home
last modified time | relevance | path

Searched refs:RequestDataWrapper (Results 1 – 3 of 3) sorted by relevance

/linux/rust/kernel/block/mq/
A Drequest.rs133 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() argument
138 unsafe { bindings::blk_mq_rq_to_pdu(request_ptr).cast::<RequestDataWrapper>() }; in wrapper_ptr()
146 pub(crate) fn wrapper_ref(&self) -> &RequestDataWrapper { in wrapper_ref() argument
156 pub(crate) struct RequestDataWrapper { struct
165 impl RequestDataWrapper { implementation
243 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
A Doperations.rs9 block::mq::request::RequestDataWrapper,
189 unsafe { RequestDataWrapper::refcount_ptr(pdu.as_ptr()).write(AtomicU64::new(0)) }; in init_request_callback()
210 let pdu = unsafe { bindings::blk_mq_rq_to_pdu(rq) }.cast::<RequestDataWrapper>(); in exit_request_callback()
A Dtag_set.rs11 block::mq::{operations::OperationsVTable, request::RequestDataWrapper, Operations},
45 let tag_set = core::mem::size_of::<RequestDataWrapper>() in new()

Completed in 13 milliseconds