Home
last modified time | relevance | path

Searched refs:minalign (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/mm/
H A Dinit-common.c127 unsigned long minalign = MAX_PGTABLE_INDEX_SIZE + 1; in pgtable_cache_add() local
133 BUG_ON(!is_power_of_2(minalign)); in pgtable_cache_add()
139 align = max_t(unsigned long, align, minalign); in pgtable_cache_add()
/linux/mm/
H A Dslab_common.c876 unsigned int minalign = dma_get_cache_alignment(); in __kmalloc_minalign() local
880 minalign = ARCH_KMALLOC_MINALIGN; in __kmalloc_minalign()
882 return max(minalign, arch_slab_minalign()); in __kmalloc_minalign()
889 unsigned int minalign = __kmalloc_minalign(); in new_kmalloc_cache() local
917 if (minalign > ARCH_KMALLOC_MINALIGN) { in new_kmalloc_cache()
918 aligned_size = ALIGN(aligned_size, minalign); in new_kmalloc_cache()
/linux/arch/powerpc/kernel/
H A Dprom_init.c1989 u32 minalign, minsize; in prom_initialize_tce_table() local
2029 if (prom_getprop(node, "tce-table-minalign", &minalign, in prom_initialize_tce_table()
2030 sizeof(minalign)) == PROM_ERROR) in prom_initialize_tce_table()
2031 minalign = 0; in prom_initialize_tce_table()
2045 align = max(minalign, minsize); in prom_initialize_tce_table()