Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/mm/
Dslob.c484 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,
Dslab_common.c630 unsigned int align = ARCH_KMALLOC_MINALIGN; in create_boot_cache()
/Linux-v6.1/include/linux/
Dslab.h225 #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)
Dcrypto.h170 #define CRYPTO_MINALIGN ARCH_KMALLOC_MINALIGN
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst117 用 `kmalloc` 分配的块的地址至少要对齐到ARCH_KMALLOC_MINALIGN字节。对于2的幂的大小,
/Linux-v6.1/net/netfilter/
Dnft_set_pipapo.h71 (NFT_PIPAPO_ALIGN - ARCH_KMALLOC_MINALIGN)
Dnf_conntrack_core.c538 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/
Ddrm_managed.c55 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
Ddrm_format_helper.c96 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/
Diio.h721 #define IIO_DMA_MINALIGN ARCH_KMALLOC_MINALIGN
/Linux-v6.1/drivers/spi/
Dspidev.c231 unsigned int len_aligned = ALIGN(u_tmp->len, ARCH_KMALLOC_MINALIGN); in spidev_message()
/Linux-v6.1/Documentation/core-api/
Dmemory-allocation.rst147 ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the
/Linux-v6.1/drivers/base/
Ddevres.c35 u8 __aligned(ARCH_KMALLOC_MINALIGN) data[];
/Linux-v6.1/block/
Dbio.c90 ARCH_KMALLOC_MINALIGN, in create_bio_slab()
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c2780 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/
Dmr.c1534 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
/Linux-v6.1/drivers/usb/misc/
Dusbtest.c381 return (unsigned long)buf & (ARCH_KMALLOC_MINALIGN - 1); in buffer_offset()
/Linux-v6.1/drivers/md/
Ddm-crypt.c3253 ARCH_KMALLOC_MINALIGN); in crypt_ctr()