Home
last modified time | relevance | path

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

/linux/include/linux/
A Dslab.h478 #if ARCH_DMA_MINALIGN > 8 && !defined(ARCH_KMALLOC_MINALIGN)
479 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
483 #ifndef ARCH_KMALLOC_MINALIGN
484 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
485 #elif ARCH_KMALLOC_MINALIGN > 8
486 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN
516 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
A Dcrypto.h153 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
/linux/arch/riscv/include/asm/
A Dcache.h16 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux/arch/parisc/include/asm/
A Dcache.h28 #define ARCH_KMALLOC_MINALIGN 16 /* ldcw requires 16-byte alignment */ macro
/linux/arch/arm64/include/asm/
A Dcache.h36 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux/Documentation/translations/zh_CN/core-api/
A Dmemory-allocation.rst117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
/linux/net/netfilter/
A Dnft_set_pipapo.h71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
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/mm/
A Dslab_common.c650 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
889 minalign = ARCH_KMALLOC_MINALIGN; in __kmalloc_minalign()
926 if (minalign > ARCH_KMALLOC_MINALIGN) { in new_kmalloc_cache()
/linux/drivers/fpga/
A Dmicrochip-spi.c46 u8 tx __aligned(ARCH_KMALLOC_MINALIGN);
/linux/Documentation/core-api/
A Dmemory-allocation.rst148 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
/linux/drivers/gpu/drm/
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/
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/block/
A Dbio.c94 ARCH_KMALLOC_MINALIGN, in create_bio_slab()
/linux/drivers/usb/misc/
A Dusbtest.c381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
/linux/drivers/infiniband/hw/mlx5/
A Dmr.c1909 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
/linux/drivers/crypto/caam/
A Dcaamalg.c1703 aligned_size += ~(ARCH_KMALLOC_MINALIGN - 1) & in skcipher_edesc_alloc()

Completed in 49 milliseconds