Home
last modified time | relevance | path

Searched refs:l1_pgentry_t (Results 1 – 25 of 38) sorted by relevance

12

/xen/xen/arch/x86/pv/
A Dmm.c33 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 Dmm.h4 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 Ddescriptor-tables.c34 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 Dgrant_table.c52 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 Dro-page-fault.c35 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 Ddom0_build.c55 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 Dp2m-pt.c115 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 Dpage.h109 #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 Dpaging.h142 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 Dtrace.h39 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 Dmm.h399 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 Ddesc.h213 DECLARE_PER_CPU(l1_pgentry_t, gdt_l1e);
216 DECLARE_PER_CPU(l1_pgentry_t, compat_gdt_l1e);
A Dp2m.h269 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 Dshadow.h214 static inline bool pv_l1tf_check_l1e(struct domain *d, l1_pgentry_t l1e) in pv_l1tf_check_l1e()
/xen/xen/arch/x86/
A Dtrace.c119 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 Ddomain_page.c258 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 Dmm.c1344 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 Dmachine_kexec.c39 l1_pgentry_t *l1 = NULL; in machine_kexec_add_page()
A Ddebug.c72 l1_pgentry_t l1e, *l1t; in dbg_pv_va2mfn()
/xen/xen/arch/x86/mm/shadow/
A Dnone.c64 l1_pgentry_t *p, l1_pgentry_t new, in _write_p2m_entry()
A Dprivate.h386 l1_pgentry_t *p, l1_pgentry_t new,
A Dtypes.h58 typedef l1_pgentry_t shadow_l1e_t;
/xen/xen/arch/x86/mm/hap/
A Dnested_hap.c76 l1_pgentry_t *p, l1_pgentry_t new, unsigned int level) in nestedp2m_write_p2m_entry()
A Dhap.c777 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 Dpage.h90 typedef struct { intpte_t l1; } l1_pgentry_t; typedef

Completed in 52 milliseconds

12