Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dslab.h501 #if ARCH_DMA_MINALIGN > 8 && !defined(ARCH_KMALLOC_MINALIGN)
502 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
506 #ifndef ARCH_KMALLOC_MINALIGN
507 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
508 #elif ARCH_KMALLOC_MINALIGN > 8
509 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN
539 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
H A Dcrypto.h153 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
/linux/arch/parisc/include/asm/
H A Dcache.h28 #define ARCH_KMALLOC_MINALIGN 16 /* ldcw requires 16-byte alignment */ macro
/linux/arch/arm64/include/asm/
H A Dcache.h36 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
/linux/mm/
H A Dslab_common.c659 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
898 minalign = ARCH_KMALLOC_MINALIGN; in __kmalloc_minalign()
935 if (minalign > ARCH_KMALLOC_MINALIGN) { in new_kmalloc_cache()
/linux/net/netfilter/
H A Dnft_set_pipapo.h71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
H A 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/drivers/fpga/
H A Dmicrochip-spi.c46 u8 tx __aligned(ARCH_KMALLOC_MINALIGN);
/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/
H A Ddrm_format_helper.c187 size_t stmp_off = round_up(dbuf_len, ARCH_KMALLOC_MINALIGN); /* for sbuf alignment */ in __drm_fb_xfrm_toio()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c2837 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_timeline_fence_array()
2993 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_fence_array()
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c1909 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
/linux/drivers/crypto/caam/
H A Dcaamalg.c1703 aligned_size += ~(ARCH_KMALLOC_MINALIGN - 1) & in skcipher_edesc_alloc()