Searched refs:ralign (Results 1 – 2 of 2) sorted by relevance
126 unsigned int ralign; in calculate_alignment() local128 ralign = cache_line_size(); in calculate_alignment()129 while (size <= ralign / 2) in calculate_alignment()130 ralign /= 2; in calculate_alignment()131 align = max(align, ralign); in calculate_alignment()
1907 size_t ralign = BYTES_PER_WORD; in __kmem_cache_create() local1936 ralign = REDZONE_ALIGN; in __kmem_cache_create()1943 if (ralign < cachep->align) { in __kmem_cache_create()1944 ralign = cachep->align; in __kmem_cache_create()1947 if (ralign > __alignof__(unsigned long long)) in __kmem_cache_create()1952 cachep->align = ralign; in __kmem_cache_create()