Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/core/
Dbuffer.c39 if (ARCH_KMALLOC_MINALIGN <= 32) in usb_init_pool_max()
41 else if (ARCH_KMALLOC_MINALIGN <= 64) in usb_init_pool_max()
43 else if (ARCH_KMALLOC_MINALIGN <= 128) in usb_init_pool_max()
/Linux-v5.4/include/linux/
Dslab.h208 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro
212 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro
229 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
Dcrypto.h137 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
/Linux-v5.4/mm/
Dslob.c472 int minalign = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __do_kmalloc_node()
548 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in kfree()
576 align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __ksize()
706 .align = ARCH_KMALLOC_MINALIGN,
Dslab_common.c1034 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
/Linux-v5.4/Documentation/core-api/
Dmemory-allocation.rst102 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
/Linux-v5.4/drivers/base/
Ddevres.c36 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
/Linux-v5.4/net/netfilter/
Dnf_conntrack_core.c547 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) { in nf_ct_tmpl_alloc()
578 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) in nf_ct_tmpl_free()
/Linux-v5.4/block/
Dbio.c105 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab()
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c2402 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in get_fence_array()
/Linux-v5.4/drivers/usb/misc/
Dusbtest.c381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
/Linux-v5.4/drivers/md/
Ddm-crypt.c2646 ARCH_KMALLOC_MINALIGN); in crypt_ctr()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmr.c1514 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()