Home
last modified time | relevance | path

Searched refs:l3e (Results 1 – 11 of 11) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dmm.h124 static inline l3_pgentry_t adjust_guest_l3e(l3_pgentry_t l3e, in adjust_guest_l3e() argument
127 if ( likely(l3e_get_flags(l3e) & _PAGE_PRESENT) ) in adjust_guest_l3e()
128 l3e_add_flags(l3e, (likely(!is_pv_32bit_domain(d)) in adjust_guest_l3e()
131 return l3e; in adjust_guest_l3e()
134 static inline l3_pgentry_t unadjust_guest_l3e(l3_pgentry_t l3e, in unadjust_guest_l3e() argument
138 likely(l3e_get_flags(l3e) & _PAGE_PRESENT) ) in unadjust_guest_l3e()
139 l3e_remove_flags(l3e, _PAGE_USER | _PAGE_RW | _PAGE_ACCESSED); in unadjust_guest_l3e()
141 return l3e; in unadjust_guest_l3e()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dmm.c51 l3_pgentry_t l3e, *l3t; in do_page_walk() local
65 l3e = l3t[l3_table_offset(addr)]; in do_page_walk()
67 mfn = l3e_get_pfn(l3e); in do_page_walk()
160 l3_pgentry_t l3e; in share_hotadd_m2p_table() local
716 l3_pgentry_t l3e; in cleanup_frame_table() local
835 l3_pgentry_t l3e; in subarch_init_memory() local
910 l3_pgentry_t l3e; in subarch_memory_op() local
944 mfn = l3e_get_pfn(l3e) in subarch_memory_op()
1179 l3_pgentry_t l3e; in handle_memadd_fault() local
1205 l3e = pl3e[3]; in handle_memadd_fault()
[all …]
A Dtraps.c188 l3_pgentry_t l3e, *l3t; in show_page_walk() local
209 l3e = l3t[l3_table_offset(addr)]; in show_page_walk()
211 mfn = l3e_get_pfn(l3e); in show_page_walk()
215 l3_table_offset(addr), l3e_get_intpte(l3e), pfn, in show_page_walk()
216 (l3e_get_flags(l3e) & _PAGE_PSE) ? " (PSE)" : ""); in show_page_walk()
217 if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) || in show_page_walk()
218 (l3e_get_flags(l3e) & _PAGE_PSE) || in show_page_walk()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dguest_walk.c166 gw->l3e = l3p[guest_l3_table_offset(va)]; in guest_walk_tables()
167 gflags = guest_l3e_get_flags(gw->l3e); in guest_walk_tables()
172 if ( guest_l3e_rsvd_bits(v, gw->l3e) ) in guest_walk_tables()
188 gfn_t start = guest_l3e_get_gfn(gw->l3e); in guest_walk_tables()
200 flags |= (guest_l3e_get_flags(gw->l3e) in guest_walk_tables()
218 gw->l3e = ((guest_l3e_t *) top_map)[guest_l3_table_offset(va)]; in guest_walk_tables()
219 gflags = guest_l3e_get_flags(gw->l3e); in guest_walk_tables()
223 if ( guest_l3e_rsvd_bits(v, gw->l3e) ) in guest_walk_tables()
233 guest_l3e_get_gfn(gw->l3e), in guest_walk_tables()
457 if ( set_ad_bits(&l3p[guest_l3_table_offset(va)].l3, &gw->l3e.l3, in guest_walk_tables()
A Dp2m-pt.c793 l3e += l3_table_offset(addr); in p2m_pt_get_entry()
798 flags = l3e_get_flags(*l3e); in p2m_pt_get_entry()
812 unmap_domain_page(l3e); in p2m_pt_get_entry()
817 mfn = _mfn(l3e_get_pfn(*l3e) + in p2m_pt_get_entry()
822 unmap_domain_page(l3e); in p2m_pt_get_entry()
828 mfn = l3e_get_mfn(*l3e); in p2m_pt_get_entry()
831 unmap_domain_page(l3e); in p2m_pt_get_entry()
993 l3_pgentry_t *l3e; in p2m_pt_audit_p2m() local
1005 l3e = map_l3t_from_l4e(l4e[i4]); in p2m_pt_audit_p2m()
1019 mfn = l3e_get_pfn(l3e[i3]); in p2m_pt_audit_p2m()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddebug.c97 l3_pgentry_t l3e, *l3t; in dbg_pv_va2mfn() local
121 l3e = l3t[l3_table_offset(vaddr)]; in dbg_pv_va2mfn()
123 mfn = l3e_get_mfn(l3e); in dbg_pv_va2mfn()
125 l3_table_offset(vaddr), l3e, mfn_x(mfn)); in dbg_pv_va2mfn()
126 if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) || in dbg_pv_va2mfn()
127 (l3e_get_flags(l3e) & _PAGE_PSE) ) in dbg_pv_va2mfn()
A Dtraps.c1179 l3_pgentry_t l3e, *l3t; in __page_fault_type() local
1221 l3e = l3e_read_atomic(&l3t[l3_table_offset(addr)]); in __page_fault_type()
1222 mfn = l3e_get_pfn(l3e); in __page_fault_type()
1224 if ( ((l3e_get_flags(l3e) & required_flags) != required_flags) || in __page_fault_type()
1225 (l3e_get_flags(l3e) & disallowed_flags) ) in __page_fault_type()
1227 page_user &= l3e_get_flags(l3e); in __page_fault_type()
1228 if ( l3e_get_flags(l3e) & _PAGE_PSE ) in __page_fault_type()
A Dmm.c1145 if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) in get_page_from_l3e()
1148 if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) in get_page_from_l3e()
1151 l3e_get_flags(l3e) & l3_disallow_mask(d)); in get_page_from_l3e()
1156 l3e_get_mfn(l3e), PGT_l2_page_table, d, partial, 1); in get_page_from_l3e()
1159 get_l3_linear_pagetable(l3e, pfn, d) ) in get_page_from_l3e()
1288 static int put_page_from_l3e(l3_pgentry_t l3e, unsigned long pfn, in put_page_from_l3e() argument
1294 if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) || (l3e_get_pfn(l3e) == pfn) ) in put_page_from_l3e()
1297 if ( unlikely(l3e_get_flags(l3e) & _PAGE_PSE) ) in put_page_from_l3e()
1299 unsigned long mfn = l3e_get_pfn(l3e); in put_page_from_l3e()
1300 int writeable = l3e_get_flags(l3e) & _PAGE_RW; in put_page_from_l3e()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dguest_pt.h314 static inline bool guest_l3e_rsvd_bits(const struct vcpu *v, guest_l3e_t l3e) in guest_l3e_rsvd_bits() argument
316 return ((l3e.l3 & (guest_rsvd_bits(v) | GUEST_L3_PAGETABLE_RSVD | in guest_l3e_rsvd_bits()
318 ((l3e.l3 & _PAGE_PSE) && in guest_l3e_rsvd_bits()
319 (l3e.l3 & SUPERPAGE_RSVD(GUEST_L3_PAGETABLE_SHIFT)))); in guest_l3e_rsvd_bits()
345 guest_l3e_t l3e; /* Guest's level 3 entry */ member
394 if ( guest_l3e_get_flags(gw->l3e) & _PAGE_PSE ) in guest_walk_to_page_order()
439 gw->l3e.l3, mfn_x(gw->l3mfn)); in print_gw()
441 gprintk(XENLOG_INFO, " l3e=%" PRI_gpte "\n", gw->l3e.l3); in print_gw()
A Dpage.h40 #define l3e_write_atomic(l3ep, l3e) \ argument
41 pte_write_atomic(&l3e_get_intpte(*(l3ep)), l3e_get_intpte(l3e))
53 #define l3e_write(l3ep, l3e) \ argument
54 pte_write(&l3e_get_intpte(*(l3ep)), l3e_get_intpte(l3e))
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dmulti.c232 mismatch |= (gw->l3e.l3 != in shadow_check_gwalk()
1587 l3_pgentry_t *l3e; in sh_make_monitor_table() local
1599 l3e = map_domain_page(m3mfn); in sh_make_monitor_table()
1601 unmap_domain_page(l3e); in sh_make_monitor_table()
1622 unmap_domain_page(l3e); in sh_make_monitor_table()
2017 l3_pgentry_t *l3e; in sh_destroy_monitor_table() local
2024 l3e = map_domain_page(m3mfn); in sh_destroy_monitor_table()
2026 shadow_free(d, l3e_get_mfn(l3e[0])); in sh_destroy_monitor_table()
2027 unmap_domain_page(l3e); in sh_destroy_monitor_table()
2036 l3e = map_domain_page(m3mfn); in sh_destroy_monitor_table()
[all …]

Completed in 37 milliseconds