/linux/rust/kernel/alloc/ |
H A D | allocator.rs | 12 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 D | layout.rs | 5 //! 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 D | allocator_test.rs | 13 use core::alloc::Layout; 40 layout: Layout, in realloc() argument 41 old_layout: Layout, in realloc() argument
|
H A D | kbox.rs | 8 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 D | alloc.rs | 31 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 D | overview.rst | 31 Layout chapter 48 Layout changes
|
/linux/drivers/gpu/nova-core/ |
H A D | dma.rs | 18 let len = core::alloc::Layout::from_size_align(len, PAGE_SIZE) in new()
|
/linux/Documentation/arch/arm/sti/ |
H A D | overview.rst | 18 Layout chapter
|
/linux/Documentation/arch/arm/stm32/ |
H A D | overview.rst | 20 Layout chapter
|
/linux/drivers/nvmem/layouts/ |
H A D | Kconfig | 9 menu "Layout Types"
|
/linux/rust/kernel/sync/ |
H A D | arc.rs | 28 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 D | kaslr-booke32.rst | 7 The word KASLR stands for Kernel Address Space Layout Randomization.
|
H A D | qe_firmware.rst | 18 V - Firmware Structure Layout 166 V - Firmware Structure Layout
|
/linux/Documentation/arch/arm/spear/ |
H A D | overview.rst | 45 Layout chapter
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-gsmi | 17 Layout:
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-linksys-rango.dts | 83 /* AMD/Spansion S34ML02G2 256MiB, OEM Layout */
|
/linux/Documentation/gpu/ |
H A D | i915.rst | 509 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 D | dw100.rst | 49 Remap Register Layout
|
/linux/Documentation/leds/ |
H A D | leds-class-multicolor.rst | 32 Directory Layout Example
|
/linux/Documentation/sound/designs/ |
H A D | jack-injection.rst | 35 The Layout of Jack Injection Interface
|
/linux/drivers/scsi/mpt3sas/mpi/ |
H A D | mpi2_image.h | 295 /*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 D | memory.rst | 2 Kernel Memory Layout on ARM Linux
|
/linux/Documentation/arch/riscv/ |
H A D | vm-layout.rst | 4 Virtual Memory Layout on RISC-V Linux
|
/linux/Documentation/gpu/nova/core/ |
H A D | fwsec.rst | 42 FWSEC Memory Layout
|
/linux/Documentation/filesystems/ext4/ |
H A D | group_descr.rst | 7 associated with it. As noted in the Layout section above, the group
|