/xen/xen/arch/x86/pv/ |
A D | mm.c | 33 l1_pgentry_t *map_guest_l1e(unsigned long linear, mfn_t *gl1mfn) in map_guest_l1e() 55 return (l1_pgentry_t *)map_domain_page(*gl1mfn) + l1_table_offset(linear); in map_guest_l1e() 62 static l1_pgentry_t guest_get_eff_kern_l1e(unsigned long linear) in guest_get_eff_kern_l1e() 66 l1_pgentry_t l1e; in guest_get_eff_kern_l1e() 89 l1_pgentry_t gl1e, *pl1e; in pv_map_ldt_shadow_page()
|
A D | mm.h | 4 l1_pgentry_t *map_guest_l1e(unsigned long linear, mfn_t *gl1mfn); 9 static inline l1_pgentry_t guest_get_eff_l1e(unsigned long linear) in guest_get_eff_l1e() 11 l1_pgentry_t l1e; in guest_get_eff_l1e() 19 sizeof(l1_pgentry_t)) ) in guest_get_eff_l1e() 91 static always_inline l1_pgentry_t adjust_guest_l1e(l1_pgentry_t l1e, in adjust_guest_l1e()
|
A D | descriptor-tables.c | 34 l1_pgentry_t *pl1e; in pv_destroy_ldt() 63 l1_pgentry_t *pl1e = pv_gdt_ptes(v); in pv_destroy_gdt() 65 l1_pgentry_t zero_l1e = l1e_from_mfn(zero_mfn, __PAGE_HYPERVISOR_RO); in pv_destroy_gdt() 88 l1_pgentry_t *pl1e; in pv_set_gdt()
|
A D | grant_table.c | 52 l1_pgentry_t nl1e, ol1e = { }, *pl1e; in create_grant_pv_mapping() 138 static bool steal_linear_address(unsigned long linear, l1_pgentry_t *out) in steal_linear_address() 142 l1_pgentry_t *pl1e, ol1e; in steal_linear_address() 194 l1_pgentry_t nl1e = l1e_empty(), ol1e, *pl1e; in replace_grant_pv_mapping()
|
A D | ro-page-fault.c | 35 l1_pgentry_t pte; 66 l1_pgentry_t pte, ol1e, nl1e, *pl1e; in ptwr_emulated_update() 258 unsigned long addr, l1_pgentry_t pte) in ptwr_do_page_fault() 313 unsigned long addr, l1_pgentry_t pte) in mmio_ro_do_page_fault() 338 l1_pgentry_t pte; in pv_ro_page_fault()
|
A D | dom0_build.c | 55 l1_pgentry_t *pl1e = map_l1t_from_l2e(*pl2e) + l1_table_offset(vpt_start); in mark_pv_pt_pages_rdonly() 108 l1_pgentry_t *pl1e = NULL; in setup_pv_physmap() 311 l1_pgentry_t *l1tab = NULL, *l1start = NULL; in dom0_construct_pv()
|
/xen/xen/arch/x86/mm/ |
A D | p2m-pt.c | 115 static l1_pgentry_t * 165 l1_pgentry_t *p2m_entry, new_entry; in p2m_next_level() 195 l1_pgentry_t *l1_entry; in p2m_next_level() 275 l1_pgentry_t *pent, *plast; in p2m_pt_set_recalc_range() 308 l1_pgentry_t e = *pent; in p2m_pt_set_recalc_range() 342 l1_pgentry_t *pent; in do_recalc() 420 l1_pgentry_t e = *pent; in do_recalc() 708 l1_pgentry_t *l1e; in p2m_pt_get_entry() 871 l1_pgentry_t *tab; in p2m_pt_change_entry_type_global() 884 l1_pgentry_t e = tab[i]; in p2m_pt_change_entry_type_global() [all …]
|
/xen/xen/include/asm-x86/ |
A D | page.h | 109 #define l1e_empty() ((l1_pgentry_t) { 0 }) 116 ((l1_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) }) 132 static inline l1_pgentry_t l1e_from_paddr(paddr_t pa, unsigned int flags) in l1e_from_paddr() 135 return (l1_pgentry_t) { pa | put_pte_flags(flags) }; in l1e_from_paddr() 155 #define l1e_from_intpte(intpte) ((l1_pgentry_t) { (intpte_t)(intpte) }) 192 #define l2e_to_l1e(x) ((l1_pgentry_t *)__va(l2e_get_paddr(x))) 196 #define map_l1t_from_l2e(x) (l1_pgentry_t *)map_domain_page(l2e_get_mfn(x)) 202 const l1_pgentry_t *l1t_ = map_l1t_from_l2e(l2e_); \ 203 l1_pgentry_t l1e_ = l1t_[offset_]; \ 300 #define __linear_l1_table ((l1_pgentry_t *)(LINEAR_PT_VIRT_START)) [all …]
|
A D | paging.h | 142 l1_pgentry_t *p, l1_pgentry_t new, 349 static inline void safe_write_pte(l1_pgentry_t *p, l1_pgentry_t new) in safe_write_pte() 363 l1_pgentry_t *p, l1_pgentry_t new,
|
A D | trace.h | 39 void __trace_ptwr_emulation(unsigned long addr, l1_pgentry_t npte); 40 static inline void trace_ptwr_emulation(unsigned long addr, l1_pgentry_t npte) in trace_ptwr_emulation()
|
A D | mm.h | 399 l1_pgentry_t l1e, struct domain *l1e_owner, struct domain *pg_owner); 400 void put_page_from_l1e(l1_pgentry_t l1e, struct domain *l1e_owner); 590 l1_pgentry_t *virt_to_xen_l1e(unsigned long v); 604 unsigned int nr, l1_pgentry_t **,
|
A D | desc.h | 213 DECLARE_PER_CPU(l1_pgentry_t, gdt_l1e); 216 DECLARE_PER_CPU(l1_pgentry_t, compat_gdt_l1e);
|
A D | p2m.h | 269 unsigned long gfn, l1_pgentry_t *p, 270 l1_pgentry_t new, unsigned int level); 840 l1_pgentry_t *p, l1_pgentry_t new, unsigned int level);
|
A D | shadow.h | 214 static inline bool pv_l1tf_check_l1e(struct domain *d, l1_pgentry_t l1e) in pv_l1tf_check_l1e()
|
/xen/xen/arch/x86/ |
A D | trace.c | 119 void __trace_ptwr_emulation(unsigned long addr, l1_pgentry_t npte) in __trace_ptwr_emulation() 134 l1_pgentry_t pte; in __trace_ptwr_emulation() 146 l1_pgentry_t pte; in __trace_ptwr_emulation()
|
A D | domain_page.c | 258 NIL(l1_pgentry_t *), NULL); in mapcache_domain_init() 276 NIL(l1_pgentry_t *), NULL); in mapcache_vcpu_init() 336 const l1_pgentry_t *pl1e; in domain_page_map_to_mfn()
|
A D | mm.c | 1344 l1_pgentry_t *pl1e; in promote_l1_table() 1857 l1_pgentry_t *pl1e; in demote_l1_table() 2145 static int mod_l1_entry(l1_pgentry_t *pl1e, l1_pgentry_t nl1e, in mod_l1_entry() 4376 l1_pgentry_t *pl1e; in __do_update_va_mapping() 5210 l1_pgentry_t *pl1e, ol1e; in map_pages_to_xen() 5411 l1_pgentry_t *l1t; in map_pages_to_xen() 5481 const l1_pgentry_t *l1t; in map_pages_to_xen() 5607 l1_pgentry_t *pl1e; in modify_xen_mappings() 5719 l1_pgentry_t *l1t; in modify_xen_mappings() 5747 l1_pgentry_t nl1e, *l1t; in modify_xen_mappings() [all …]
|
A D | machine_kexec.c | 39 l1_pgentry_t *l1 = NULL; in machine_kexec_add_page()
|
A D | debug.c | 72 l1_pgentry_t l1e, *l1t; in dbg_pv_va2mfn()
|
/xen/xen/arch/x86/mm/shadow/ |
A D | none.c | 64 l1_pgentry_t *p, l1_pgentry_t new, in _write_p2m_entry()
|
A D | private.h | 386 l1_pgentry_t *p, l1_pgentry_t new,
|
A D | types.h | 58 typedef l1_pgentry_t shadow_l1e_t;
|
/xen/xen/arch/x86/mm/hap/ |
A D | nested_hap.c | 76 l1_pgentry_t *p, l1_pgentry_t new, unsigned int level) in nestedp2m_write_p2m_entry()
|
A D | hap.c | 777 hap_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn, l1_pgentry_t *p, in hap_write_p2m_entry() 778 l1_pgentry_t new, unsigned int level) in hap_write_p2m_entry()
|
/xen/xen/include/asm-x86/x86_64/ |
A D | page.h | 90 typedef struct { intpte_t l1; } l1_pgentry_t; typedef
|