Searched refs:ARCH_KMALLOC_MINALIGN (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/drivers/usb/core/ |
| D | buffer.c | 39 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/ |
| D | slab.h | 208 #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)
|
| D | crypto.h | 137 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
|
| /Linux-v5.4/mm/ |
| D | slob.c | 472 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,
|
| D | slab_common.c | 1034 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
|
| /Linux-v5.4/Documentation/core-api/ |
| D | memory-allocation.rst | 102 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
|
| /Linux-v5.4/drivers/base/ |
| D | devres.c | 36 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
|
| /Linux-v5.4/net/netfilter/ |
| D | nf_conntrack_core.c | 547 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/ |
| D | bio.c | 105 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab()
|
| /Linux-v5.4/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_execbuffer.c | 2402 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in get_fence_array()
|
| /Linux-v5.4/drivers/usb/misc/ |
| D | usbtest.c | 381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
|
| /Linux-v5.4/drivers/md/ |
| D | dm-crypt.c | 2646 ARCH_KMALLOC_MINALIGN); in crypt_ctr()
|
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | mr.c | 1514 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
|