Searched refs:ARCH_KMALLOC_MINALIGN (Results 1 – 17 of 17) sorted by relevance
/linux/drivers/usb/core/ |
A 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/mm/ |
A D | slob.c | 480 int minalign = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __do_kmalloc_node() 557 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in kfree() 585 align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __ksize() 713 .align = ARCH_KMALLOC_MINALIGN,
|
A D | slab_common.c | 638 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
|
/linux/include/linux/ |
A D | slab.h | 206 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro 210 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro 227 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
|
A D | crypto.h | 161 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | memory-allocation.rst | 117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
|
/linux/net/netfilter/ |
A D | nft_set_pipapo.h | 71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
|
A D | nf_conntrack_core.c | 568 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) { in nf_ct_tmpl_alloc() 598 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) in nf_ct_tmpl_free()
|
/linux/drivers/gpu/drm/ |
A D | drm_managed.c | 54 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
|
/linux/drivers/spi/ |
A D | spidev.c | 230 unsigned int len_aligned = ALIGN(u_tmp->len, ARCH_KMALLOC_MINALIGN); in spidev_message()
|
/linux/Documentation/core-api/ |
A D | memory-allocation.rst | 147 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
|
/linux/drivers/base/ |
A D | devres.c | 35 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
|
/linux/block/ |
A D | bio.c | 90 ARCH_KMALLOC_MINALIGN, in create_bio_slab()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_execbuffer.c | 2639 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_timeline_fence_array() 2788 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_fence_array()
|
/linux/drivers/usb/misc/ |
A D | usbtest.c | 381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | mr.c | 1886 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
|
/linux/drivers/md/ |
A D | dm-crypt.c | 3264 ARCH_KMALLOC_MINALIGN); in crypt_ctr()
|
Completed in 51 milliseconds