Home
last modified time | relevance | path

Searched refs:intpte_t (Results 1 – 10 of 10) sorted by relevance

/xen/xen/arch/x86/mm/shadow/
A Dpv.c32 sh_write_guest_entry(struct vcpu *v, intpte_t *p, intpte_t new, mfn_t gmfn) in sh_write_guest_entry()
52 sh_cmpxchg_guest_entry(struct vcpu *v, intpte_t *p, intpte_t *old, in sh_cmpxchg_guest_entry()
53 intpte_t new, mfn_t gmfn) in sh_cmpxchg_guest_entry()
56 intpte_t t = *old; in sh_cmpxchg_guest_entry()
A Dprivate.h390 bool sh_write_guest_entry(struct vcpu *v, intpte_t *p, intpte_t new,
392 bool sh_cmpxchg_guest_entry(struct vcpu *v, intpte_t *p, intpte_t *old,
393 intpte_t new, mfn_t gmfn);
/xen/xen/include/asm-x86/x86_64/
A Dpage.h87 typedef u64 intpte_t; typedef
90 typedef struct { intpte_t l1; } l1_pgentry_t;
91 typedef struct { intpte_t l2; } l2_pgentry_t;
92 typedef struct { intpte_t l3; } l3_pgentry_t;
93 typedef struct { intpte_t l4; } l4_pgentry_t;
134 static inline unsigned int get_pte_flags(intpte_t x) in get_pte_flags()
139 static inline intpte_t put_pte_flags(unsigned int x) in put_pte_flags()
141 return (((intpte_t)x & ~0xfff) << 40) | (x & 0xfff); in put_pte_flags()
/xen/xen/arch/x86/pv/
A Dmm.h39 static inline bool update_intpte(intpte_t *p, intpte_t old, intpte_t new, in update_intpte()
52 intpte_t t = old; in update_intpte()
56 intpte_t _new = new; in update_intpte()
74 BUG_ON((t ^ old) & ~(intpte_t)(_PAGE_ACCESSED|_PAGE_DIRTY)); in update_intpte()
A Dro-page-fault.c59 static int ptwr_emulated_update(unsigned long addr, intpte_t *p_old, in ptwr_emulated_update()
60 intpte_t val, unsigned int bytes, in ptwr_emulated_update()
67 intpte_t old = p_old ? *p_old : 0; in ptwr_emulated_update()
86 intpte_t full; in ptwr_emulated_update()
101 full &= ~((((intpte_t)1 << (bytes * 8)) - 1) << offset); in ptwr_emulated_update()
103 val &= (((intpte_t)1 << (bytes * 8)) - 1); in ptwr_emulated_update()
107 old &= (((intpte_t)1 << (bytes * 8)) - 1); in ptwr_emulated_update()
210 intpte_t val = 0; in ptwr_emulated_write()
228 intpte_t old = 0, new = 0; in ptwr_emulated_cmpxchg()
/xen/xen/include/asm-x86/
A Dpaging.h99 bool (*write_guest_entry )(struct vcpu *v, intpte_t *p,
100 intpte_t new, mfn_t gmfn);
101 bool (*cmpxchg_guest_entry )(struct vcpu *v, intpte_t *p,
102 intpte_t *old, intpte_t new,
317 struct vcpu *v, intpte_t *p, intpte_t new, mfn_t gmfn) in paging_write_guest_entry()
335 struct vcpu *v, intpte_t *p, intpte_t *old, intpte_t new, mfn_t gmfn) in paging_cmpxchg_guest_entry()
A Dpage.h116 ((l1_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) })
118 ((l2_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) })
120 ((l3_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) })
122 ((l4_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) })
155 #define l1e_from_intpte(intpte) ((l1_pgentry_t) { (intpte_t)(intpte) })
156 #define l2e_from_intpte(intpte) ((l2_pgentry_t) { (intpte_t)(intpte) })
157 #define l3e_from_intpte(intpte) ((l3_pgentry_t) { (intpte_t)(intpte) })
158 #define l4e_from_intpte(intpte) ((l4_pgentry_t) { (intpte_t)(intpte) })
A Dshadow.h168 static inline bool is_l1tf_safe_maddr(intpte_t pte) in is_l1tf_safe_maddr()
178 intpte_t pte) in pv_l1tf_check_pte()
A Dguest_pt.h146 typedef intpte_t guest_intpte_t;
/xen/xen/arch/x86/efi/
A Defi-boot.h35 extern const intpte_t __page_tables_start[], __page_tables_end[];
36 #define in_page_tables(v) ((intpte_t *)(v) >= __page_tables_start && \
37 (intpte_t *)(v) < __page_tables_end)

Completed in 14 milliseconds