Home
last modified time | relevance | path

Searched refs:ARCH_KMALLOC_MINALIGN (Results 1 – 12 of 12) sorted by relevance

/linux/rust/kernel/alloc/
H A Dallocator.rs31 const ARCH_KMALLOC_MINALIGN: usize = bindings::ARCH_KMALLOC_MINALIGN;
154 const MIN_ALIGN: usize = ARCH_KMALLOC_MINALIGN; in realloc()
248 const MIN_ALIGN: usize = ARCH_KMALLOC_MINALIGN; in realloc()
20 const ARCH_KMALLOC_MINALIGN: usize = bindings::ARCH_KMALLOC_MINALIGN; global() constant
/linux/arch/riscv/include/asm/
H A Dcache.h16 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux/include/linux/
H A Dslab.h616 #if ARCH_DMA_MINALIGN > 8 && !defined(ARCH_KMALLOC_MINALIGN)
617 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
621 #ifndef ARCH_KMALLOC_MINALIGN
622 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
623 #elif ARCH_KMALLOC_MINALIGN > 8
624 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN
654 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
/linux/arch/parisc/include/asm/
H A Dcache.h28 #define ARCH_KMALLOC_MINALIGN 16 /* ldcw requires 16-byte alignment */ macro
/linux/rust/bindings/
H A Dbindings_helper.h115 const size_t RUST_CONST_HELPER_ARCH_KMALLOC_MINALIGN = ARCH_KMALLOC_MINALIGN;
/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
/linux/rust/
H A Dbindgen_parameters44 --blocklist-item ARCH_KMALLOC_MINALIGN
/linux/net/netfilter/
H A Dnft_set_pipapo.h68 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
H A Dnf_conntrack_core.c526 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) { in nf_ct_tmpl_alloc()
554 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) in nf_ct_tmpl_free()
/linux/mm/
H A Dslab_common.c707 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
957 minalign = ARCH_KMALLOC_MINALIGN; in __kmalloc_minalign()
1009 if (minalign > ARCH_KMALLOC_MINALIGN) { in new_kmalloc_cache()
/linux/Documentation/core-api/
H A Dmemory-allocation.rst148 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
/linux/block/
H A Dbio.c97 ARCH_KMALLOC_MINALIGN, in create_bio_slab()