Home
last modified time | relevance | path

Searched refs:Layout (Results 1 – 25 of 47) sorted by relevance

12

/linux/rust/kernel/alloc/
H A Dallocator.rs12 use core::alloc::Layout;
47 fn aligned_size(new_layout: Layout) -> usize { in aligned_size()
48 // Customized layouts from `Layout::from_size_align()` can have size < align, so pad first. in aligned_size()
87 layout: Layout, in call() argument
88 old_layout: Layout, in call() argument
134 layout: Layout, in realloc() argument
135 old_layout: Layout, in realloc() argument
151 layout: Layout, in realloc() argument
152 old_layout: Layout, in realloc() argument
175 layout: Layout, in realloc() argument
176 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
[all...]
H A Dlayout.rs5 //! Custom layout types extending or improving [`Layout`].
7 use core::{alloc::Layout, marker::PhantomData};
103 impl<T> From<ArrayLayout<T>> for Layout { implementation
105 let res = Layout::array::<T>(value.len); in from()
H A Dallocator_test.rs13 use core::alloc::Layout;
40 layout: Layout, in realloc() argument
41 old_layout: Layout, in realloc() argument
H A Dkbox.rs8 use core::alloc::Layout;
275 let layout = Layout::new::<MaybeUninit<T>>(); in new_uninit()
590 let layout = Layout::for_value::<T>(self); in drop()
597 // - `layout` is equal to the `Layout´ `self.0` was allocated with. in drop()
/linux/rust/kernel/
H A Dalloc.rs31 use core::{alloc::Layout, ptr::NonNull};
121 /// via [`Layout`].
156 fn alloc(layout: Layout, flags: Flags) -> Result<NonNull<[u8]>, AllocError> { in alloc() argument
159 unsafe { Self::realloc(None, layout, Layout::new::<()>(), flags) } in alloc()
167 /// to `realloc` guarantees that the new or grown buffer has at least `Layout::size` bytes, but
184 /// - `old_layout` must match the `Layout` the allocation has been created with.
196 layout: Layout, in realloc() argument
197 old_layout: Layout, in realloc() argument
208 /// - `layout` must match the `Layout` the allocation has been created with.
210 unsafe fn free(ptr: NonNull<u8>, layout: Layout) { in free() argument
[all...]
/linux/Documentation/arch/arm/samsung/
H A Doverview.rst31 Layout chapter
48 Layout changes
/linux/drivers/gpu/nova-core/
H A Ddma.rs18 let len = core::alloc::Layout::from_size_align(len, PAGE_SIZE) in new()
/linux/Documentation/arch/arm/sti/
H A Doverview.rst18 Layout chapter
/linux/Documentation/arch/arm/stm32/
H A Doverview.rst20 Layout chapter
/linux/drivers/nvmem/layouts/
H A DKconfig9 menu "Layout Types"
/linux/rust/kernel/sync/
H A Darc.rs28 alloc::Layout,
160 let refcount_layout = Layout::new::<bindings::refcount_t>(); in container_of()
162 let val_layout = Layout::for_value(unsafe { &*ptr }); in container_of()
/linux/Documentation/arch/powerpc/
H A Dkaslr-booke32.rst7 The word KASLR stands for Kernel Address Space Layout Randomization.
H A Dqe_firmware.rst18 V - Firmware Structure Layout
166 V - Firmware Structure Layout
/linux/Documentation/arch/arm/spear/
H A Doverview.rst45 Layout chapter
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-gsmi17 Layout:
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-linksys-rango.dts83 /* AMD/Spansion S34ML02G2 256MiB, OEM Layout */
/linux/Documentation/gpu/
H A Di915.rst509 WOPCM Layout
513 :doc: WOPCM Layout
523 GuC Firmware Layout
527 :doc: Firmware Layout
572 HuC Firmware Layout
574 The HuC FW layout is the same as the GuC one, see `GuC Firmware Layout`_
/linux/Documentation/userspace-api/media/drivers/
H A Ddw100.rst49 Remap Register Layout
/linux/Documentation/leds/
H A Dleds-class-multicolor.rst32 Directory Layout Example
/linux/Documentation/sound/designs/
H A Djack-injection.rst35 The Layout of Jack Injection Interface
/linux/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_image.h295 /*FLASH Layout Extended Image Data */
299 *RegionsPerLayout at runtime before using Layout[] and Region[].
331 MPI2_FLASH_LAYOUT Layout[]; /*0x10 */ member
/linux/Documentation/arch/arm/
H A Dmemory.rst2 Kernel Memory Layout on ARM Linux
/linux/Documentation/arch/riscv/
H A Dvm-layout.rst4 Virtual Memory Layout on RISC-V Linux
/linux/Documentation/gpu/nova/core/
H A Dfwsec.rst42 FWSEC Memory Layout
/linux/Documentation/filesystems/ext4/
H A Dgroup_descr.rst7 associated with it. As noted in the Layout section above, the group

12