Home
last modified time | relevance | path

Searched refs:ARCH_KMALLOC_MINALIGN (Results 1 – 20 of 20) 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.h541 #if ARCH_DMA_MINALIGN > 8 && !defined(ARCH_KMALLOC_MINALIGN)
542 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
546 #ifndef ARCH_KMALLOC_MINALIGN
547 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
548 #elif ARCH_KMALLOC_MINALIGN > 8
549 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN
579 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
H A Dcrypto.h171 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
/linux/arch/riscv/include/asm/
H A Dcache.h16 #define ARCH_KMALLOC_MINALIGN (8) macro
/linux/rust/bindings/
H A Dbindings_helper.h95 const size_t RUST_CONST_HELPER_ARCH_KMALLOC_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/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.c660 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
899 minalign = ARCH_KMALLOC_MINALIGN; in __kmalloc_minalign()
936 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/drivers/gpu/drm/
H A Ddrm_format_helper.c190 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/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/infiniband/hw/mlx5/
H A Dmr.c1986 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()