Home
last modified time | relevance | path

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

/linux/rust/kernel/sync/
H A Datomic.rs52 pub struct Atomic<T: AtomicType>(AtomicRepr<T::Repr>);
55 unsafe impl<T: AtomicType> Sync for Atomic<T> {}
111 pub unsafe trait AtomicType: Sized + Send + Copy { interface
124 pub unsafe trait AtomicAdd<Rhs = Self>: AtomicType {
130 const fn into_repr<T: AtomicType>(v: T) -> T::Repr { in into_repr()
140 const unsafe fn from_repr<T: AtomicType>(r: T::Repr) -> T { in from_repr()
145 impl<T: AtomicType> Atomic<T> {
248 impl<T: AtomicType> Atomic<T>
311 impl<T: AtomicType + core::fmt::Debug> core::fmt::Debug for Atomic<T>
320 impl<T: AtomicType> Atomic<T>
[all …]
/linux/rust/kernel/sync/atomic/
H A Dpredefine.rs15 unsafe impl super::AtomicType for bool {
21 unsafe impl super::AtomicType for i8 {
27 unsafe impl super::AtomicType for i16 {
33 unsafe impl super::AtomicType for i32 {
46 unsafe impl super::AtomicType for i64 {
86 unsafe impl super::AtomicType for isize {
99 unsafe impl super::AtomicType for u32 {
112 unsafe impl super::AtomicType for u64 {
125 unsafe impl super::AtomicType for usize {
/linux/rust/kernel/debugfs/
H A Dtraits.rs15 AtomicType,
196 impl<T: AtomicType + FromStr> Reader for Atomic<T>