Searched refs:minalign (Results 1 – 1 of 1) sorted by relevance
/mm/ |
D | slob.c | 472 int minalign = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); in __do_kmalloc_node() local 480 if (size < PAGE_SIZE - minalign) { in __do_kmalloc_node() 481 int align = minalign; in __do_kmalloc_node() 488 align = max(minalign, (int) size); in __do_kmalloc_node() 493 m = slob_alloc(size + minalign, gfp, align, node, minalign); in __do_kmalloc_node() 498 ret = (void *)m + minalign; in __do_kmalloc_node() 501 size, size + minalign, gfp, node); in __do_kmalloc_node()
|