Searched refs:ListArcSafe (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/kernel/list/ |
| H A D | arc.rs | 33 pub trait ListArcSafe<const ID: u64 = 0> { trait 57 pub unsafe trait TryNewListArc<const ID: u64 = 0>: ListArcSafe<ID> { 86 (impl$({$($generics:tt)*})? ListArcSafe<$num:tt> for $t:ty { untracked; } $($rest:tt)*) => { 87 impl$(<$($generics)*>)? $crate::list::ListArcSafe<$num> for $t { 94 (impl$({$($generics:tt)*})? ListArcSafe<$num:tt> for $t:ty { 97 impl$(<$($generics)*>)? $crate::list::ListArcSafe<$num> for $t { 107 <$fty as $crate::list::ListArcSafe<$num>>::on_create_list_arc_from_unique(field) 113 … unsafe { <$fty as $crate::list::ListArcSafe<$num>>::on_drop_list_arc(&self.$field) }; 165 T: ListArcSafe<ID> + ?Sized, 170 impl<T: ListArcSafe<ID>, const ID: u64> ListArc<T, ID> { [all …]
|
| /linux/drivers/android/binder/ |
| H A D | rust_binder_main.rs | 17 list::{ListArc, ListArcSafe, ListLinksSelfPtr, TryNewListArc}, 134 trait DeliverToRead: ListArcSafe + Send + Sync { 166 impl{T: ListArcSafe + ?Sized} ListArcSafe<0> for DTRWrap<T> { 186 impl<T: ListArcSafe> DTRWrap<T> { 222 impl ListArcSafe<0> for DeliverCode { untracked; }
|
| H A D | node.rs | 194 impl ListArcSafe<0> for Node { 1040 impl ListArcSafe<0> for NodeDeath { 1046 impl ListArcSafe<1> for DTRWrap<NodeDeath> { untracked; } 1055 impl ListArcSafe<2> for DTRWrap<NodeDeath> { 1060 impl ListArcSafe<2> for NodeDeath {
|
| H A D | freeze.rs | 66 impl ListArcSafe<0> for FreezeMessage {
|
| H A D | process.rs | 381 impl ListArcSafe<{Self::LIST_NODE}> for NodeRefInfo { untracked; } 382 impl ListArcSafe<{Self::LIST_PROC}> for NodeRefInfo { untracked; } 468 impl ListArcSafe<0> for Process { untracked; }
|
| H A D | transaction.rs | 49 impl ListArcSafe<0> for Transaction { untracked; }
|
| H A D | thread.rs | 428 impl ListArcSafe<0> for Thread { 1593 impl ListArcSafe<0> for ThreadError {
|
| /linux/rust/kernel/ |
| H A D | list.rs | 20 pub use self::arc::{impl_list_arc_safe, AtomicTracker, ListArc, ListArcSafe, TryNewListArc}; 293 pub unsafe trait ListItem<const ID: u64 = 0>: ListArcSafe<ID> {
|