Home
last modified time | relevance | path

Searched refs:Sized (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/rust/kernel/sync/
Darc.rs128 pub struct Arc<T: ?Sized> {
135 struct ArcInner<T: ?Sized> {
141 impl<T: ?Sized> core::ops::Receiver for Arc<T> {}
145 impl<T: ?Sized + Unsize<U>, U: ?Sized> core::ops::CoerceUnsized<Arc<U>> for Arc<T> {}
148 impl<T: ?Sized + Unsize<U>, U: ?Sized> core::ops::DispatchFromDyn<Arc<U>> for Arc<T> {}
154 unsafe impl<T: ?Sized + Sync + Send> Send for Arc<T> {}
161 unsafe impl<T: ?Sized + Sync + Send> Sync for Arc<T> {}
203 impl<T: ?Sized> Arc<T> {
261 impl<T: ?Sized> Deref for Arc<T> {
271 impl<T: ?Sized> AsRef<T> for Arc<T> {
[all …]
Dlock.rs78 pub struct Lock<T: ?Sized, B: Backend> {
94 unsafe impl<T: ?Sized + Send, B: Backend> Send for Lock<T, B> {}
98 unsafe impl<T: ?Sized + Send, B: Backend> Sync for Lock<T, B> {}
116 impl<T: ?Sized, B: Backend> Lock<T, B> {
133 pub struct Guard<'a, T: ?Sized, B: Backend> {
140 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {}
142 impl<T: ?Sized, B: Backend> Guard<'_, T, B> {
155 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> {
164 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> {
171 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> {
[all …]
Dlocked_by.rs75 pub struct LockedBy<T: ?Sized, U: ?Sized> {
81 unsafe impl<T: ?Sized + Send, U: ?Sized> Send for LockedBy<T, U> {}
85 unsafe impl<T: ?Sized + Send, U: ?Sized> Sync for LockedBy<T, U> {}
107 impl<T: ?Sized, U> LockedBy<T, U> {
Dcondvar.rs106 fn wait_internal<T: ?Sized, B: Backend>(&self, wait_state: u32, guard: &mut Guard<'_, T, B>) { in wait_internal() argument
133 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait() argument
142 pub fn wait_uninterruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait_uninterruptible() argument
/linux-6.6.21/rust/kernel/init/
D__internal.rs21 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>);
25 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
37 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E>
65 type Datee: ?Sized + HasPinData;
94 type Datee: ?Sized + HasInitData;
105 pub struct AllData<T: ?Sized>(PhantomData<fn(Box<T>) -> Box<T>>);
107 impl<T: ?Sized> Clone for AllData<T> {
113 impl<T: ?Sized> Copy for AllData<T> {}
115 unsafe impl<T: ?Sized> InitData for AllData<T> {
119 unsafe impl<T: ?Sized> HasInitData for T {
[all …]
Dmacros.rs1375 fn assert_zeroable<T: ?::core::marker::Sized + $crate::init::Zeroable>() {}
/linux-6.6.21/rust/alloc/
Dboxed.rs200 T: ?Sized,
909 impl<T: ?Sized> Box<T> {
959 impl<T: ?Sized, A: Allocator> Box<T, A> {
1229 unsafe impl<#[may_dangle] T: ?Sized, A: Allocator> Drop for Box<T, A> {
1340 impl<T: ?Sized + PartialEq, A: Allocator> PartialEq for Box<T, A> {
1351 impl<T: ?Sized + PartialOrd, A: Allocator> PartialOrd for Box<T, A> {
1374 impl<T: ?Sized + Ord, A: Allocator> Ord for Box<T, A> {
1381 impl<T: ?Sized + Eq, A: Allocator> Eq for Box<T, A> {}
1384 impl<T: ?Sized + Hash, A: Allocator> Hash for Box<T, A> {
1391 impl<T: ?Sized + Hasher, A: Allocator> Hasher for Box<T, A> {
[all …]
Dslice.rs120 Self: Sized; in to_vec() argument
559 pub fn concat<Item: ?Sized>(&self) -> <Self as Concat<Item>>::Output in concat()
685 pub trait Concat<Item: ?Sized> {
Dalloc.rs409 pub(crate) trait WriteCloneIntoRaw: Sized {
/linux-6.6.21/rust/kernel/
Dinit.rs768 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized {
827 pub struct ChainPinInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, Box<T>)>);
833 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainPinInit<I, F, T, E>
883 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
929 pub struct ChainInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, Box<T>)>);
934 unsafe impl<T: ?Sized, E, I, F> Init<T, E> for ChainInit<I, F, T, E>
952 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainInit<I, F, T, E>
976 pub const unsafe fn pin_init_from_closure<T: ?Sized, E>( in pin_init_from_closure() argument
995 pub const unsafe fn init_from_closure<T: ?Sized, E>( in init_from_closure() argument
1113 pub trait InPlaceInit<T>: Sized {
[all …]
Dlib.rs63 pub trait Module: Sized + Sync {
Dtypes.rs22 pub trait ForeignOwnable: Sized {
/linux-6.6.21/rust/alloc/vec/
Dis_zero.rs106 unsafe impl<T: ?Sized> IsZero for Option<&T> {
113 unsafe impl<T: ?Sized> IsZero for Option<Box<T>> {
/linux-6.6.21/Documentation/RCU/
DRTFP.txt800 ,title="The Repeat Offender Problem: A Mechanism for Supporting Dynamic-Sized,
/linux-6.6.21/Documentation/filesystems/
Dxfs-online-fsck-design.rst1984 Arrays of Fixed-Sized Records