Home
last modified time | relevance | path

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

/linux-6.14.4/rust/kernel/block/mq/
Drequest.rs140 pub(crate) unsafe fn wrapper_ptr(this: *mut Self) -> NonNull<RequestDataWrapper> { in wrapper_ptr() argument
145 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() argument
165 pub(crate) struct RequestDataWrapper { struct
174 impl RequestDataWrapper { implementation
252 let refcount = unsafe { &*RequestDataWrapper::refcount_ptr(wrapper_ptr) }; in dec_ref()
Doperations.rs9 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()
Dtag_set.rs11 block::mq::{operations::OperationsVTable, request::RequestDataWrapper, Operations},
45 let tag_set = core::mem::size_of::<RequestDataWrapper>() in new()