Searched refs:ARef (Results 1 – 5 of 5) sorted by relevance
| /linux/rust/kernel/block/mq/ |
| A D | request.rs | 11 types::{ARef, AlwaysRefCounted, Opaque}, 63 pub(crate) unsafe fn aref_from_raw(ptr: *mut bindings::request) -> ARef<Self> { in aref_from_raw() 67 unsafe { ARef::from_raw(NonNull::new_unchecked(ptr as *const Self as *mut Self)) } in aref_from_raw() 80 pub(crate) unsafe fn start_unchecked(this: &ARef<Self>) { in start_unchecked() 93 fn try_set_end(this: ARef<Self>) -> Result<*mut bindings::request, ARef<Self>> { in try_set_end() 114 pub fn end_ok(this: ARef<Self>) -> Result<(), ARef<Self>> { in end_ok()
|
| A D | operations.rs | 12 types::ARef, 30 fn queue_rq(rq: ARef<Request<Self>>, is_last: bool) -> Result; in queue_rq()
|
| /linux/rust/kernel/ |
| A D | types.rs | 362 pub struct ARef<T: AlwaysRefCounted> { struct 371 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {} implementation 378 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {} implementation 380 impl<T: AlwaysRefCounted> ARef<T> { implementation 430 impl<T: AlwaysRefCounted> Clone for ARef<T> { implementation 438 impl<T: AlwaysRefCounted> Deref for ARef<T> { implementation 447 impl<T: AlwaysRefCounted> From<&T> for ARef<T> { implementation 455 impl<T: AlwaysRefCounted> Drop for ARef<T> { implementation
|
| A D | device.rs | 9 types::{ARef, Opaque}, 54 pub unsafe fn get_device(ptr: *mut bindings::device) -> ARef<Self> { in get_device()
|
| /linux/drivers/block/ |
| A D | rnull.rs | 24 types::ARef, 61 fn queue_rq(rq: ARef<mq::Request<Self>>, _is_last: bool) -> Result { in queue_rq()
|
Completed in 12 milliseconds