Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dslab.h258 #if ARCH_DMA_MINALIGN > 8 && !defined(ARCH_KMALLOC_MINALIGN)
259 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
263 #ifndef ARCH_KMALLOC_MINALIGN
264 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
265 #elif ARCH_KMALLOC_MINALIGN > 8
266 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN
296 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
Dcrypto.h155 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
/linux-6.6.21/arch/riscv/include/asm/
Dcache.h16 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux-6.6.21/arch/arm64/include/asm/
Dcache.h36 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
/linux-6.6.21/net/netfilter/
Dnft_set_pipapo.h71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
Dnf_conntrack_core.c527 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) { in nf_ct_tmpl_alloc()
557 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) in nf_ct_tmpl_free()
/linux-6.6.21/mm/
Dslab_common.c634 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
902 minalign = ARCH_KMALLOC_MINALIGN; in __kmalloc_minalign()
938 if (minalign > ARCH_KMALLOC_MINALIGN) { in new_kmalloc_cache()
/linux-6.6.21/drivers/fpga/
Dmicrochip-spi.c46 u8 tx __aligned(ARCH_KMALLOC_MINALIGN);
/linux-6.6.21/Documentation/core-api/
Dmemory-allocation.rst147 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
/linux-6.6.21/drivers/gpu/drm/
Ddrm_format_helper.c96 size_t stmp_off = round_up(dbuf_len, ARCH_KMALLOC_MINALIGN); /* for sbuf alignment */ in __drm_fb_xfrm_toio()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c2844 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_timeline_fence_array()
3000 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_fence_array()
/linux-6.6.21/block/
Dbio.c95 ARCH_KMALLOC_MINALIGN, in create_bio_slab()
/linux-6.6.21/drivers/usb/misc/
Dusbtest.c381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmr.c1779 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
/linux-6.6.21/drivers/crypto/caam/
Dcaamalg.c1703 aligned_size += ~(ARCH_KMALLOC_MINALIGN - 1) & in skcipher_edesc_alloc()