Searched refs:PTRS_PER_P4D (Results 1 – 12 of 12) sorted by relevance
124 memset(p4d, 0, sizeof(*p4d) * PTRS_PER_P4D); in sme_prepare_pgd()125 ppd->pgtable_area += sizeof(*p4d) * PTRS_PER_P4D; in sme_prepare_pgd()270 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()271 entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()281 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()282 tables += DIV_ROUND_UP(entries, PGDIR_SIZE) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
156 #define PGD_LEVEL_MULT (PTRS_PER_P4D * P4D_LEVEL_MULT)
312 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
63 #define PTRS_PER_P4D ptrs_per_p4d macro
906 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); in p4d_index()
217 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()218 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()354 memset(p4d_p, 0, sizeof(*p4d_p) * PTRS_PER_P4D); in __early_make_pgtable()
220 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
70 if (PTRS_PER_P4D != 1) in show_pte()
384 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
439 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
434 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in try_free_p4d_table()
343 #define PTRS_PER_P4D _CRST_ENTRIES macro1231 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))