Searched refs:ARCH_KMALLOC_MINALIGN (Results 1 – 19 of 19) sorted by relevance
/Linux-v6.1/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-v6.1/mm/ |
D | slob.c | 484 minalign = max_t(unsigned int, ARCH_KMALLOC_MINALIGN, in __do_kmalloc_node() 551 ARCH_KMALLOC_MINALIGN, in kfree() 576 return ALIGN(size, ARCH_KMALLOC_MINALIGN); in kmalloc_size_roundup() 596 align = max_t(unsigned int, ARCH_KMALLOC_MINALIGN, in __ksize() 745 .align = ARCH_KMALLOC_MINALIGN,
|
D | slab_common.c | 630 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
|
/Linux-v6.1/include/linux/ |
D | slab.h | 225 #define ARCH_KMALLOC_MINALIGN ARCH_DMA_MINALIGN macro 229 #define ARCH_KMALLOC_MINALIGN __alignof__(unsigned long long) macro 258 #define __assume_kmalloc_alignment __assume_aligned(ARCH_KMALLOC_MINALIGN)
|
D | crypto.h | 170 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
|
/Linux-v6.1/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
|
/Linux-v6.1/net/netfilter/ |
D | nft_set_pipapo.h | 71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
|
D | nf_conntrack_core.c | 538 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) { in nf_ct_tmpl_alloc() 568 if (ARCH_KMALLOC_MINALIGN <= NFCT_INFOMASK) in nf_ct_tmpl_free()
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_managed.c | 55 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
|
D | drm_format_helper.c | 96 size_t stmp_off = round_up(dbuf_len, ARCH_KMALLOC_MINALIGN); /* for sbuf alignment */ in __drm_fb_xfrm_toio()
|
/Linux-v6.1/include/linux/iio/ |
D | iio.h | 721 #define IIO_DMA_MINALIGN ARCH_KMALLOC_MINALIGN
|
/Linux-v6.1/drivers/spi/ |
D | spidev.c | 231 unsigned int len_aligned = ALIGN(u_tmp->len, ARCH_KMALLOC_MINALIGN); in spidev_message()
|
/Linux-v6.1/Documentation/core-api/ |
D | memory-allocation.rst | 147 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
|
/Linux-v6.1/drivers/base/ |
D | devres.c | 35 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
|
/Linux-v6.1/block/ |
D | bio.c | 90 ARCH_KMALLOC_MINALIGN, in create_bio_slab()
|
/Linux-v6.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 2780 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_timeline_fence_array() 2929 BUILD_BUG_ON(~(ARCH_KMALLOC_MINALIGN - 1) & in add_fence_array()
|
/Linux-v6.1/drivers/infiniband/hw/mlx5/ |
D | mr.c | 1534 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
|
/Linux-v6.1/drivers/usb/misc/ |
D | usbtest.c | 381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
|
/Linux-v6.1/drivers/md/ |
D | dm-crypt.c | 3253 ARCH_KMALLOC_MINALIGN); in crypt_ctr()
|