Home
last modified time | relevance | path

Searched refs:l1_slot (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dpmap.c515 *l1_slot = (va >> L1_SHIFT) & Ln_ADDR_MASK; in pmap_early_page_idx()
518 KASSERT((l1[*l1_slot] & PTE_RX) == 0, in pmap_early_page_idx()
531 u_int l1_slot, l2_slot; in pmap_early_vtophys() local
535 l2 = pmap_early_page_idx(l1pt, va, &l1_slot, &l2_slot); in pmap_early_vtophys()
554 u_int l1_slot; in pmap_bootstrap_dmap() local
561 l1_slot = pmap_l1_index(DMAP_MIN_ADDRESS); in pmap_bootstrap_dmap()
564 pa += L1_SIZE, va += L1_SIZE, l1_slot++) { in pmap_bootstrap_dmap()
565 KASSERT(l1_slot < Ln_ENTRIES, ("Invalid L1 index")); in pmap_bootstrap_dmap()
571 pmap_store(&l1[l1_slot], entry); in pmap_bootstrap_dmap()
627 u_int l1_slot, l2_slot; in pmap_bootstrap() local
[all …]
/freebsd/sys/arm64/arm64/
H A Dpmap.c948 u_int l1_slot; member
960 .l1_slot = Ln_ENTRIES,
988 state->l1_slot = Ln_ENTRIES; in pmap_bootstrap_l0_table()
1022 u_int l1_slot; in pmap_bootstrap_l1_table() local
1028 l1_slot = pmap_l1_index(state->va); in pmap_bootstrap_l1_table()
1029 if (l1_slot != state->l1_slot) { in pmap_bootstrap_l1_table()
1031 MPASS(state->l1_slot < l1_slot || in pmap_bootstrap_l1_table()
1032 state->l1_slot == Ln_ENTRIES || in pmap_bootstrap_l1_table()
1040 state->l1_slot = l1_slot; in pmap_bootstrap_l1_table()
1042 l1e = state->l1[l1_slot]; in pmap_bootstrap_l1_table()
[all …]