Lines Matching defs:entries
91 * PMD entries (see vmlinux.lds.S).
224 /* If start is not 2MB aligned, create PTE entries */
228 /* Create PMD entries */
232 /* If end is not 2MB aligned, create PTE entries */
254 unsigned long entries = 0, tables = 0;
258 * entries that are needed. Those mappings will be covered mostly
259 * by 2MB PMD entries so we can conservatively calculate the required
264 * two extra pages to hold PTE entries for each range that is mapped.
266 * cross entries.
271 entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D;
272 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD;
273 entries += (DIV_ROUND_UP(len, PUD_SIZE) + 1) * sizeof(pmd_t) * PTRS_PER_PMD;
274 entries += 2 * sizeof(pte_t) * PTRS_PER_PTE;
282 tables += DIV_ROUND_UP(entries, PGDIR_SIZE) * sizeof(p4d_t) * PTRS_PER_P4D;
283 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD;
284 tables += DIV_ROUND_UP(entries, PUD_SIZE) * sizeof(pmd_t) * PTRS_PER_PMD;
286 return entries + tables;
373 * we don't try to create/allocate PTE entries from the workarea
389 * Make sure the current pagetable structure has entries for
413 * pagetable entries for the decrypted mapping. Choose the next
476 * the PGD entry/entries.