| /linux/rust/zerocopy/src/pointer/ |
| H A D | ptr.rs | 172 impl<'a, T> Ptr<'a, T, (Shared, Aligned, Valid)> 199 impl<'a, T> Ptr<'a, T, (Exclusive, Aligned, Valid)> 227 I: Invariants<Alignment = Aligned, Validity = Valid>, 380 impl<'a, T> Ptr<'a, T, (Exclusive, Aligned, Valid)> 561 ) -> Ptr<'a, crate::Unalign<T>, (I::Aliasing, Aligned, I::Validity)> { in into_unalign() argument 680 ) -> Result<Ptr<'a, T, (I::Aliasing, Aligned, I::Validity)>, AlignmentError<Self, T>> in try_into_aligned() argument 691 Ok(unsafe { self.assume_alignment::<Aligned>() }) in try_into_aligned() 699 pub fn bikeshed_recall_aligned(self) -> Ptr<'a, T, (I::Aliasing, Aligned, I::Validity)> in bikeshed_recall_aligned() argument 705 unsafe { self.assume_alignment::<Aligned>() } in bikeshed_recall_aligned() 1018 pub fn as_bytes<R>(self) -> Ptr<'a, [u8], (I::Aliasing, Aligned, Valid)> in as_bytes() argument [all …]
|
| H A D | invariant.rs | 159 pub enum Aligned {} enum 160 impl Alignment for Aligned { implementation 287 impl Sealed for Aligned {} implementation
|
| /linux/rust/zerocopy/src/ |
| H A D | split_at.rs | 13 use crate::pointer::invariant::{Aligned, Exclusive, Invariants, Shared, Valid}; 307 fn into_ptr(self) -> Split<Ptr<'a, T, (Shared, Aligned, Valid)>> { in into_ptr() argument 605 fn into_ptr(self) -> Split<Ptr<'a, T, (Exclusive, Aligned, Valid)>> { in into_ptr() argument 808 I: Invariants<Alignment = Aligned, Validity = Valid>,
|
| H A D | ref.rs | 201 invariant::{Aligned, BecauseExclusive, Initialized, Unaligned, Valid}, 641 let ptr = unsafe { ptr.assume_alignment::<Aligned>() }; in into_ref() 696 let ptr = unsafe { ptr.assume_alignment::<Aligned>() }; in into_mut() 823 let ptr = unsafe { ptr.assume_alignment::<Aligned>() }; in deref() 872 let ptr = unsafe { ptr.assume_alignment::<Aligned>() }; in deref_mut() 961 ptr: Ptr<'a, [u8], (A, Aligned, Valid)>, in cast_for_sized() argument
|
| H A D | error.rs | 1126 struct Aligned { in alignment_display() struct 1132 let aligned = Aligned { bytes: [0; 128] }; in alignment_display()
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | indirect-target-selection.rst | 116 on (default) Deploy the "Aligned branch/return thunks" mitigation. 156 * - Mitigation: Aligned branch/return thunks
|
| /linux/arch/alpha/lib/ |
| H A D | ev6-clear_user.S | 101 beq $3, $bigalign # U .. .. .. : U L U L : Aligned 0mod64
|
| /linux/rust/zerocopy/src/util/ |
| H A D | macro_util.rs | 32 invariant::{Aligned, Initialized, Valid}, 611 let ptr = unsafe { ptr.assume_alignment::<Aligned>() }; in try_transmute_ref() 675 let ptr = unsafe { ptr.assume_alignment::<Aligned>() }; in try_transmute_mut()
|
| /linux/Documentation/networking/device_drivers/ethernet/stmicro/ |
| H A D | stmmac.rst | 552 5) Enable Address Aligned Beats::
|