Lines Matching defs:l2e

1157 	pd_entry_t *l2, l2e;
1167 l2e = pmap_load(l2);
1170 * use l2e rather than loading from l2 multiple times to
1173 * to use an old l2e because the L3 page is preserved by
1176 if ((l2e & PTE_RX) != 0) {
1178 pa = L2PTE_TO_PHYS(l2e);
1183 l3 = pmap_l2_to_l3(&l2e, va);
2351 pmap_pv_insert_l2(pmap_t pmap, vm_offset_t va, pd_entry_t l2e, u_int flags,
2364 pa = PTE_TO_PHYS(l2e);
2473 pd_entry_t l2e, struct spglist *free, struct rwlock **lockp)
2501 return (pmap_unuse_pt(pmap, va, l2e, free));
2516 pd_entry_t *l0, *l1, *l2, l2e;
2563 if ((l2e = pmap_load(l2)) == 0)
2565 if ((l2e & PTE_RWX) != 0) {
2577 l2e = pmap_load(l2);
2600 if (pmap_remove_l3(pmap, l3, sva, l2e, &free, &lock)) {
2635 pd_entry_t *l2, l2e __diagused;
2660 l2e = pmap_load(l2);
2662 KASSERT((l2e & PTE_RX) == 0,
2696 pd_entry_t *l0, *l1, *l2, l2e;
2746 if ((l2e = pmap_load(l2)) == 0)
2748 if ((l2e & PTE_RWX) != 0) {
2752 (l2e & (PTE_SW_MANAGED | PTE_D)) ==
2754 m = PTE_TO_VM_PAGE(l2e);
2758 if (!atomic_fcmpset_long(l2, &l2e, l2e & ~mask))
2813 pd_entry_t *l2, l2e;
2822 if (l2 == NULL || ((l2e = pmap_load(l2)) & PTE_V) == 0)
2824 if ((l2e & PTE_RWX) == 0) {
2830 oldpte = l2e;
3161 pd_entry_t *l2, l2e;
3219 if (l2 != NULL && ((l2e = pmap_load(l2)) & PTE_V) != 0 &&
3220 ((l2e & PTE_RWX) == 0 || pmap_demote_l2_locked(pmap, l2,
3831 pd_entry_t *l0, *l1, *l2, l2e;
3864 if ((l2e = pmap_load(l2)) == 0)
3866 if ((l2e & PTE_RWX) != 0) {
3868 if ((l2e & PTE_SW_WIRED) == 0)
3870 "PTE_SW_WIRED", (uintmax_t)l2e);
4567 pd_entry_t *l2, l2e;
4602 l2e = pmap_load(l2);
4603 if ((l2e & (PTE_W | PTE_D)) == (PTE_W | PTE_D)) {
4605 * Although l2e is mapping a 2MB page, because
4611 if ((l2e & PTE_A) != 0) {
4632 (l2e & PTE_SW_WIRED) == 0) {
4862 pd_entry_t *l2, l2e;
4909 if (((l2e = pmap_load(l2)) & PTE_V) == 0)
4911 if ((l2e & PTE_RWX) != 0) {
4916 if ((l2e & mask) == bits) {
4970 l2e = pmap_load(l2);
4971 if ((l2e & PTE_RWX) != 0) {
4973 if ((l2e & mask) == bits) {
4978 l2e &= ~mask;
4979 l2e |= bits;
4980 pmap_store(l2, l2e);
4984 phys = L2PTE_TO_PHYS(l2e);
5383 vm_offset_t va, pd_entry_t l1e, pd_entry_t l2e, pt_entry_t l3e)
5392 } else if (l2e != 0)
5393 attrs |= l2e & PTE_G;
5395 if ((l2e & PTE_RWX) != 0) {
5396 attrs |= l2e & (PTE_RWX | PTE_U);
5397 attrs |= l2e & memattr_mask;
5414 pd_entry_t *l1, l1e, *l2, l2e;
5458 l2e = l2[j];
5459 if ((l2e & PTE_V) == 0) {
5464 if ((l2e & PTE_RWX) != 0) {
5465 sysctl_kmaps_check(sb, &range, sva, l1e, l2e, 0);
5470 pa = PTE_TO_PHYS(l2e);
5481 l1e, l2e, l3e);