Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 7 of 7) sorted by relevance

/xen/xen/arch/x86/mm/
A Dguest_walk.c123 memset(gw, 0, sizeof(*gw)); in guest_walk_tables()
124 gw->va = va; in guest_walk_tables()
143 if ( !hvmemul_read_cache(v, l4gpa, &gw->l4e, sizeof(gw->l4e)) ) in guest_walk_tables()
146 hvmemul_write_cache(v, l4gpa, &gw->l4e, sizeof(gw->l4e)); in guest_walk_tables()
178 if ( !hvmemul_read_cache(v, l3gpa, &gw->l3e, sizeof(gw->l3e)) ) in guest_walk_tables()
181 hvmemul_write_cache(v, l3gpa, &gw->l3e, sizeof(gw->l3e)); in guest_walk_tables()
226 gw->l2mfn = gw->l1mfn = INVALID_MFN; in guest_walk_tables()
236 if ( !hvmemul_read_cache(v, l3gpa, &gw->l3e, sizeof(gw->l3e)) ) in guest_walk_tables()
239 hvmemul_write_cache(v, l3gpa, &gw->l3e, sizeof(gw->l3e)); in guest_walk_tables()
281 hvmemul_write_cache(v, l2gpa, &gw->l2e, sizeof(gw->l2e)); in guest_walk_tables()
[all …]
/xen/xen/arch/x86/mm/hap/
A Dnested_ept.c161 memset(gw, 0, sizeof(*gw)); in nept_walk_tables()
172 if ( nept_non_present_check(gw->lxe[lvl]) ) in nept_walk_tables()
183 gfn_t start = _gfn(gw->lxe[lvl].mfn); in nept_walk_tables()
193 base_gfn = _gfn(gw->lxe[lvl].mfn); in nept_walk_tables()
198 gw->lxe[0].epte = (gw->lxe[1].epte & PAGE_MASK) | gflags; in nept_walk_tables()
230 ept_walk_t gw; in nept_translate_l2ga() local
235 rc = nept_walk_tables(v, l2ga, &gw); in nept_translate_l2ga()
241 rwx_bits = gw.lxe[4].epte & gw.lxe[3].epte & gw.lxe[2].epte & in nept_translate_l2ga()
247 rwx_bits = gw.lxe[4].epte & gw.lxe[3].epte & gw.lxe[2].epte & in nept_translate_l2ga()
253 rwx_bits = gw.lxe[4].epte & gw.lxe[3].epte & EPTE_RWX_MASK; in nept_translate_l2ga()
[all …]
A Dguest_walk.c57 walk_t gw; in hap_p2m_ga_to_gfn() local
94 walk_ok = guest_walk_tables(v, p2m, ga, &gw, *pfec, in hap_p2m_ga_to_gfn()
102 gfn_t gfn = guest_walk_to_gfn(&gw); in hap_p2m_ga_to_gfn()
123 *page_order = guest_walk_to_page_order(&gw); in hap_p2m_ga_to_gfn()
128 *pfec = gw.pfec; in hap_p2m_ga_to_gfn()
/xen/xen/include/asm-x86/
A Dguest_pt.h374 ? _gfn(gw->el1e >> PAGE_SHIFT) in guest_walk_to_gfn()
375 : guest_l1e_get_gfn(gw->l1e)); in guest_walk_to_gfn()
382 gfn_t gfn = guest_walk_to_gfn(gw); in guest_walk_to_gpa()
398 if ( guest_l3e_get_flags(gw->l3e) & _PAGE_PSE ) in guest_walk_to_page_order()
401 if ( guest_l2e_get_flags(gw->l2e) & _PAGE_PSE ) in guest_walk_to_page_order()
436 static inline void print_gw(const walk_t *gw) in print_gw() argument
442 gw->l4e.l4, mfn_x(gw->l4mfn)); in print_gw()
444 gw->l3e.l3, mfn_x(gw->l3mfn)); in print_gw()
450 gw->l2e.l2, mfn_x(gw->l2mfn)); in print_gw()
453 gw->el1e, mfn_x(gw->l1mfn)); in print_gw()
[all …]
/xen/xen/arch/x86/mm/shadow/
A Dmulti.c353 if ( mfn_valid(gw->l4mfn) in sh_audit_gw()
357 if ( mfn_valid(gw->l3mfn) in sh_audit_gw()
373 if ( mfn_valid(gw->l1mfn) in sh_audit_gw()
2774 walk_t gw; in sh_page_fault() local
3106 sh_audit_gw(v, &gw); in sh_page_fault()
3238 sh_audit_gw(v, &gw); in sh_page_fault()
3315 sh_audit_gw(v, &gw); in sh_page_fault()
3490 sh_audit_gw(v, &gw); in sh_page_fault()
3504 sh_audit_gw(v, &gw); in sh_page_fault()
3660 walk_t gw; in sh_gva_to_gfn() local
[all …]
/xen/tools/xentrace/
A Dxenctx.c1011 unsigned int gw; in dump_ctx() local
1012 if ( !xc_domain_get_guest_width(xenctx.xc_handle, xenctx.domid, &gw) ) in dump_ctx()
1013 ctxt_word_size = guest_word_size = gw; in dump_ctx()
/xen/stubdom/
A Dlwip.patch-cvs775 netif_set_addr(netif, ipaddr, netmask, gw);

Completed in 38 milliseconds