Lines Matching defs:request
9 block::mq::request::RequestDataWrapper,
29 /// Called by the kernel to queue a request with the driver. If `is_last` is
30 /// `false`, the driver is allowed to defer committing the request.
66 /// - `(*bd).rq` must point to an initialized and live `bindings:request`.
68 /// `Self::exit_request_callback` was not yet called for the request.
70 /// promise to not access the request until the driver calls
71 /// `bindings::blk_mq_end_request` for the request.
78 let request = unsafe { &*(*bd).rq.cast::<Request<T>>() };
81 request.wrapper_ref().refcount().store(2, Ordering::Relaxed);
85 // - By the safety requirements of this function, `request` is a valid
86 // `struct request` and the private data is properly initialized.
124 unsafe extern "C" fn complete_callback(_rq: *mut bindings::request) {}
174 /// - `rq` must point to an initialized `bindings::request`.
179 rq: *mut bindings::request,
206 rq: *mut bindings::request,
210 // for the request data.