Home
last modified time | relevance | path

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

/linux-6.15/rust/pin-init/src/
H A D__internal.rs68 type Datee: ?Sized + HasPinData;
98 type Datee: ?Sized + HasInitData;
109 pub struct AllData<T: ?Sized>(Invariant<T>);
111 impl<T: ?Sized> Clone for AllData<T> {
117 impl<T: ?Sized> Copy for AllData<T> {}
125 unsafe impl<T: ?Sized> HasInitData for T {
220 pub struct DropGuard<T: ?Sized> {
224 impl<T: ?Sized> DropGuard<T> {
241 impl<T: ?Sized> Drop for DropGuard<T> {
270 pub struct AlwaysFail<T: ?Sized> {
[all …]
H A Dlib.rs1003 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized {
1041 pub struct ChainPinInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, T)>);
1047 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainPinInit<I, F, T, E>
1102 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
1149 pub struct ChainInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, T)>);
1154 unsafe impl<T: ?Sized, E, I, F> Init<T, E> for ChainInit<I, F, T, E>
1170 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainInit<I, F, T, E>
1194 pub const unsafe fn pin_init_from_closure<T: ?Sized, E>( in pin_init_from_closure() argument
1213 pub const unsafe fn init_from_closure<T: ?Sized, E>( in init_from_closure() argument
1441 {<T: ?Sized>} PhantomData<T>, core::marker::PhantomPinned, (),
[all …]
H A Dalloc.rs25 pub trait InPlaceInit<T>: Sized {
H A Dmacros.rs1407 fn assert_zeroable<T: ?::core::marker::Sized + $crate::Zeroable>() {}
/linux-6.15/rust/kernel/sync/
H A Darc.rs130 pub struct Arc<T: ?Sized> {
145 struct ArcInner<T: ?Sized> {
150 impl<T: ?Sized> ArcInner<T> {
186 impl<T: ?Sized + core::marker::Unsize<U>, U: ?Sized> core::ops::CoerceUnsized<Arc<U>> for Arc<T> {}
190 impl<T: ?Sized + core::marker::Unsize<U>, U: ?Sized> core::ops::DispatchFromDyn<Arc<U>> for Arc<T> …
244 impl<T: ?Sized> Arc<T> {
410 impl<T: ?Sized> Deref for Arc<T> {
426 impl<T: ?Sized> Clone for Arc<T> {
442 impl<T: ?Sized> Drop for Arc<T> {
541 impl<T: ?Sized + core::marker::Unsize<U>, U: ?Sized> core::ops::DispatchFromDyn<ArcBorrow<'_, U>>
[all …]
H A Dlocked_by.rs78 pub struct LockedBy<T: ?Sized, U: ?Sized> {
84 unsafe impl<T: ?Sized + Send, U: ?Sized> Send for LockedBy<T, U> {}
92 unsafe impl<T: ?Sized + Send, U: ?Sized> Sync for LockedBy<T, U> {}
114 impl<T: ?Sized, U> LockedBy<T, U> {
H A Dlock.rs106 pub struct Lock<T: ?Sized, B: Backend> {
122 unsafe impl<T: ?Sized + Send, B: Backend> Send for Lock<T, B> {}
126 unsafe impl<T: ?Sized + Send, B: Backend> Sync for Lock<T, B> {}
165 impl<T: ?Sized, B: Backend> Lock<T, B> {
191 pub struct Guard<'a, T: ?Sized, B: Backend> {
198 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {}
200 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> {
243 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> {
252 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> {
259 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> {
[all …]
H A Dcondvar.rs114 fn wait_internal<T: ?Sized, B: Backend>( in wait_internal() argument
145 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() argument
156 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() argument
168 pub fn wait_interruptible_freezable<T: ?Sized, B: Backend>( in wait_interruptible_freezable() argument
186 pub fn wait_interruptible_timeout<T: ?Sized, B: Backend>( in wait_interruptible_timeout() argument
/linux-6.15/rust/kernel/
H A Dlist.rs41 pub struct List<T: ?Sized + ListItem<ID>, const ID: u64 = 0> {
51 T: ?Sized + ListItem<ID>,
59 T: ?Sized + ListItem<ID>,
198 pub struct ListLinksSelfPtr<T: ?Sized, const ID: u64 = 0> {
217 impl<T: ?Sized, const ID: u64> ListLinksSelfPtr<T, ID> {
237 impl<T: ?Sized + ListItem<ID>, const ID: u64> List<T, ID> {
525 impl<T: ?Sized + ListItem<ID>, const ID: u64> Drop for List<T, ID> {
541 pub struct Iter<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> {
719 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> {
725 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> {
[all …]
H A Dworkqueue.rs354 pub struct Work<T: ?Sized, const ID: u64 = 0> {
363 unsafe impl<T: ?Sized, const ID: u64> Send for Work<T, ID> {}
367 unsafe impl<T: ?Sized, const ID: u64> Sync for Work<T, ID> {}
369 impl<T: ?Sized, const ID: u64> Work<T, ID> {
471 Self: Sized, in work_container_of() argument
H A Dinit.rs144 pub trait InPlaceInit<T>: Sized {
H A Dlib.rs103 pub trait Module: Sized + Sync + Send {
H A Dtypes.rs21 pub trait ForeignOwnable: Sized {
H A Dmiscdevice.rs108 pub trait MiscDevice: Sized {
/linux-6.15/rust/kernel/list/
H A Darc.rs165 T: ListArcSafe<ID> + ?Sized,
204 T: ListArcSafe<ID> + ?Sized,
215 T: ListArcSafe<ID> + ?Sized,
231 T: ListArcSafe<ID> + ?Sized,
413 T: ListArcSafe<ID> + ?Sized,
425 T: ListArcSafe<ID> + ?Sized,
437 T: ListArcSafe<ID> + ?Sized,
450 T: ListArcSafe<ID> + core::marker::Unsize<U> + ?Sized,
451 U: ListArcSafe<ID> + ?Sized,
460 T: ListArcSafe<ID> + core::marker::Unsize<U> + ?Sized,
[all …]
H A Dimpl_list_item_mod.rs77 pub unsafe trait HasSelfPtr<T: ?Sized, const ID: u64 = 0>
/linux-6.15/rust/kernel/alloc/
H A Dkbox.rs65 pub struct Box<T: ?Sized, A: Allocator>(NonNull<T>, PhantomData<A>);
110 T: Send + ?Sized,
118 T: Sync + ?Sized,
125 T: ?Sized,
301 T: ?Sized,
438 T: ?Sized,
452 T: ?Sized,
464 T: ?Sized + fmt::Display,
474 T: ?Sized + fmt::Debug,
484 T: ?Sized,
/linux-6.15/rust/kernel/sync/lock/
H A Dglobal.rs118 pub struct GlobalLockedBy<T: ?Sized, B: GlobalLockBackend> {
126 T: ?Sized,
135 T: ?Sized,
153 impl<T: ?Sized, B: GlobalLockBackend> GlobalLockedBy<T, B> {
/linux-6.15/rust/kernel/time/
H A Dhrtimer.rs179 pub trait HrTimerPointer: Sync + Sized {
206 pub unsafe trait UnsafeHrTimerPointer: Sync + Sized {
285 Self: Sized; in run()
343 Self: Sized; in timer_container_of()
/linux-6.15/rust/kernel/block/mq/
H A Doperations.rs28 pub trait Operations: Sized {
/linux-6.15/Documentation/RCU/
H A DRTFP.txt800 ,title="The Repeat Offender Problem: A Mechanism for Supporting Dynamic-Sized,
/linux-6.15/Documentation/filesystems/xfs/
H A Dxfs-online-fsck-design.rst1977 Arrays of Fixed-Sized Records