Searched refs:Arc (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/rust/kernel/sync/ |
H A D | arc.rs | 10 //! It is different from the standard library's [`Arc`] in a few ways: 16 //! [`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html 41 /// The reference count is incremented when new instances of [`Arc`] are created, and decremented 46 /// The reference count on an instance of [`Arc`] is always non-zero. 47 /// The object pointed to by [`Arc`] is always pinned. 52 /// use kernel::sync::Arc; 60 /// let obj = Arc::try_new(Example { a: 10, b: 20 })?; 79 /// Using `Arc<T>` as the type of `self`: 82 /// use kernel::sync::Arc; 128 pub struct Arc<T: ?Sized> { global() structure names 163 impl<T> Arc<T> { global() impls 203 impl<T: ?Sized> Arc<T> { global() impls [all...] |
/kernel/linux/linux-6.6/rust/kernel/sync/arc/ |
H A D | std_vendor.rs | 8 use crate::sync::{arc::ArcInner, Arc}; 11 impl Arc<dyn Any + Send + Sync> { impls 12 /// Attempt to downcast the `Arc<dyn Any + Send + Sync>` to a concrete type. 13 pub fn downcast<T>(self) -> core::result::Result<Arc<T>, Self> in downcast() 22 Ok(Arc::from_inner(ptr)) in downcast()
|
/kernel/linux/linux-6.6/samples/rust/ |
H A D | rust_print.rs | 21 let a = Arc::try_new(1)?; in arc_print() 30 let a: Arc<&str> = b.into(); in arc_print()
|
/kernel/linux/linux-6.6/rust/kernel/ |
H A D | sync.rs | 15 pub use arc::{Arc, ArcBorrow, UniqueArc};
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | sgiarcs.h | 58 Arc, Cpu, Fpu, enumerator
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | sgiarcs.h | 58 Arc, Cpu, Fpu, enumerator
|
Completed in 4 milliseconds