Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/mm/
Dinit-common.c127 unsigned long minalign = max(MAX_PGTABLE_INDEX_SIZE + 1, in pgtable_cache_add() local
134 BUG_ON(!is_power_of_2(minalign)); in pgtable_cache_add()
140 align = max_t(unsigned long, align, minalign); in pgtable_cache_add()
/linux-6.1.9/mm/
Dslob.c481 unsigned int minalign; in __do_kmalloc_node() local
484 minalign = max_t(unsigned int, ARCH_KMALLOC_MINALIGN, in __do_kmalloc_node()
490 if (size < PAGE_SIZE - minalign) { in __do_kmalloc_node()
491 int align = minalign; in __do_kmalloc_node()
498 align = max_t(unsigned int, minalign, size); in __do_kmalloc_node()
503 m = slob_alloc(size + minalign, gfp, align, node, minalign); in __do_kmalloc_node()
508 ret = (void *)m + minalign; in __do_kmalloc_node()
510 trace_kmalloc(caller, ret, size, size + minalign, gfp, node); in __do_kmalloc_node()
/linux-6.1.9/arch/powerpc/kernel/
Dprom_init.c1981 u32 minalign, minsize; in prom_initialize_tce_table() local
2021 if (prom_getprop(node, "tce-table-minalign", &minalign, in prom_initialize_tce_table()
2022 sizeof(minalign)) == PROM_ERROR) in prom_initialize_tce_table()
2023 minalign = 0; in prom_initialize_tce_table()
2037 align = max(minalign, minsize); in prom_initialize_tce_table()