Home
last modified time | relevance | path

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

12

/linux/rust/kernel/alloc/
H A Dallocator.rs24 alloc::Layout,
98 layout: Layout, in call()
99 old_layout: Layout, in call()
139 /// Returns a [`Layout`] that makes [`Kmalloc`] fulfill the requested size and alignment of
141 pub fn aligned_layout(layout: Layout) -> Layout {
159 layout: Layout,
160 old_layout: Layout,
232 layout: Layout,
233 old_layout: Layout,
87 call( &self, ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> call() argument
88 call( &self, ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> call() argument
130 aligned_layout(layout: Layout) -> Layout aligned_layout() argument
148 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
149 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
218 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
219 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
239 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
240 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
[all...]
H A Dkbox.rs28 alloc::Layout,
274 let layout = Layout::new::<MaybeUninit<T>>();
708 let layout = Layout::for_value::<T>(self);
715 // - `layout` is equal to the `Layout´ `self.0` was allocated with. in page_iter()
/linux/rust/kernel/
H A Dalloc.rs28 alloc::Layout,
151 /// via [`Layout`].
194 fn alloc(layout: Layout, flags: Flags, nid: NumaNode) -> Result<NonNull<[u8]>, AllocError> {
197 unsafe { Self::realloc(None, layout, Layout::new::<()>(), flags, nid) }
213 /// to `realloc` guarantees that the new or grown buffer has at least `Layout::size` bytes, but
230 /// - `old_layout` must match the `Layout` the allocation has been created with. in realloc()
242 layout: Layout,
243 old_layout: Layout,
255 /// - `layout` must match the `Layout` the allocation has been created with. in free()
257 unsafe fn free(ptr: NonNull<u8>, layout: Layout) { in free()
184 alloc(layout: Layout, flags: Flags, nid: NumaNode) -> Result<NonNull<[u8]>, AllocError> alloc() argument
232 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
233 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
247 free(ptr: NonNull<u8>, layout: Layout) free() argument
[all...]
/linux/Documentation/arch/arm/samsung/
H A Doverview.rst31 Layout chapter
48 Layout changes
/linux/Documentation/arch/arm/sti/
H A Doverview.rst18 Layout chapter
/linux/rust/kernel/drm/
H A Ddevice.rs34 alloc::Layout,
209 // compatible `Layout`. in release()
210 let layout = Kmalloc::aligned_layout(Layout::new::<Device<T, Normal>>()); in release()
/linux/Documentation/arch/arm/stm32/
H A Doverview.rst20 Layout chapter
/linux/drivers/nvmem/layouts/
H A DKconfig9 menu "Layout Types"
/linux/rust/zerocopy/src/
H A Dlayout.rs1144 /// Like `Layout::extend`, this creates a layout that describes a record in test_dst_layout_extend_sized_with_sized()
1324 /// Like `Layout::pad_to_align`, this routine rounds the size of this layout in test_validate_cast_and_convert_metadata()
2422 /// Layout construction uses [`DstLayout::for_repr_c_struct`], and the
3954 use core::alloc::Layout;
4156 // `THEORETICAL_MAX_ALIGN`. `Layout` admits that maximum alignment for
4166 /// `Layout::from_size_align`. For a DST, `size_base + size_phase` must also
4177 SizeInfo::Sized { size } => Layout::from_size_align(size, align.get()),
4193 Some(min_size) => Layout::from_size_align(min_size, align.get()),
4194 None => Layout::from_size_align(usize::MAX, align.get()),
4797 // For testing purposes, we'll also construct `alloc::Layout`
[all...]
/linux/rust/zerocopy/src/util/
H A Dmod.rs389 allocate: unsafe fn(core::alloc::Layout) -> *mut u8, in new_box()
416 let layout: Layout = unsafe { Layout::from_size_align_unchecked(size, align) }; in new_box()
/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
H A Dimc.rst107 LDBAR Register Layout
/linux/Documentation/arch/arm/spear/
H A Doverview.rst45 Layout chapter
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-linksys-rango.dts83 /* AMD/Spansion S34ML02G2 256MiB, OEM Layout */
/linux/Documentation/userspace-api/media/drivers/
H A Ddw100.rst49 Remap Register Layout
/linux/Documentation/sound/designs/
H A Djack-injection.rst35 The Layout of Jack Injection Interface
/linux/Documentation/arch/arm/
H A Dmemory.rst2 Kernel Memory Layout on ARM Linux
/linux/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_image.h331 MPI2_FLASH_LAYOUT Layout[]; /*0x10 */ member
/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/admin-guide/media/
H A Dsi476x.rst159 RSQ(Received Signal Quality) for primary tuner only. Layout is as
/linux/Documentation/filesystems/ext4/
H A Dgroup_descr.rst7 associated with it. As noted in the Layout section above, the group
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Dethernet-driver.rst163 Datapath Layout Binary file (DPL) that is parsed by MC at boot time; or created
/linux/Documentation/devicetree/bindings/net/
H A Dkeystone-netcp.txt22 NetCP Ethernet SubSystem Layout:

12