Home
last modified time | relevance | path

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

/linux/rust/kernel/alloc/
H A Dallocator.rs20 const ARCH_KMALLOC_MINALIGN: usize = bindings::ARCH_KMALLOC_MINALIGN; constant
143 const MIN_ALIGN: usize = ARCH_KMALLOC_MINALIGN;
234 const MIN_ALIGN: usize = ARCH_KMALLOC_MINALIGN;
/linux/include/linux/
H A Dslab.h534 #if ARCH_DMA_MINALIGN > 8 && !defined(ARCH_KMALLOC_MINALIGN)
535 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
539 #ifndef ARCH_KMALLOC_MINALIGN
540 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
541 #elif ARCH_KMALLOC_MINALIGN > 8
542 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN
572 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
/linux/arch/riscv/include/asm/
H A Dcache.h16 #define ARCH_KMALLOC_MINALIGN (8) macro
/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.h106 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_parameters37 --blocklist-item ARCH_KMALLOC_MINALIGN
/linux/net/netfilter/
H A Dnft_set_pipapo.h71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
H A Dnf_conntrack_core.c529 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) { in nf_ct_tmpl_alloc()
557 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) in nf_ct_tmpl_free()
/linux/drivers/fpga/
H A Dmicrochip-spi.c46 u8 tx __aligned(ARCH_KMALLOC_MINALIGN);
/linux/mm/
H A Dslab_common.c700 unsigned int align = ARCH_KMALLOC_MINALIGN;
895 * around with ARCH_KMALLOC_MINALIGN in __kmalloc_minalign()
939 minalign = ARCH_KMALLOC_MINALIGN; in new_kmalloc_cache()
976 if (minalign > ARCH_KMALLOC_MINALIGN) { in create_kmalloc_caches()
/linux/Documentation/core-api/
H A Dmemory-allocation.rst148 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c2823 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_timeline_fence_array()
2979 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_fence_array()
/linux/block/
H A Dbio.c94 ARCH_KMALLOC_MINALIGN, in create_bio_slab()
/linux/drivers/usb/misc/
H A Dusbtest.c381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
/linux/drivers/crypto/caam/
H A Dcaamalg.c1783 aligned_size += ~(ARCH_KMALLOC_MINALIGN - 1) & in skcipher_edesc_alloc()
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c1986 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()