Home
last modified time | relevance | path

Searched refs:nat (Results 1 – 17 of 17) sorted by relevance

/xen-4.10.0-shim-comet/xen/common/compat/
A Dmemory.c74 } nat; in compat_memory_op() local
109 space = (xen_pfn_t *)(nat.rsrv + 1); in compat_memory_op()
142 nat.rsrv->nr_extents = end_extent; in compat_memory_op()
189 space = (xen_pfn_t *)(nat.xchg + 1); in compat_memory_op()
235 nat.hnd = compat; in compat_memory_op()
245 XLAT_add_to_physmap(nat.atp, &cmp.atp); in compat_memory_op()
252 / (sizeof(nat.atpb->idxs.p) + sizeof(nat.atpb->gpfns.p)); in compat_memory_op()
307 nat.atpb->size = end_extent; in compat_memory_op()
335 XLAT_mem_access_op(nat.mao, &cmp.mao); in compat_memory_op()
402 rc = do_memory_op(cmd, nat.hnd); in compat_memory_op()
[all …]
A Dgrant_table.c137 } nat; in compat_grant_table_op() local
145 set_xen_guest_handle(nat.uop, COMPAT_ARG_XLAT_VIRT_BASE); in compat_grant_table_op()
158 (COMPAT_ARG_XLAT_SIZE - sizeof(*nat.setup)) / in compat_grant_table_op()
159 sizeof(*nat.setup->frame_list.p); in compat_grant_table_op()
163 XLAT_gnttab_setup_table(nat.setup, &cmp.setup); in compat_grant_table_op()
165 rc = gnttab_setup_table(guest_handle_cast(nat.uop, in compat_grant_table_op()
186 XLAT_gnttab_setup_table(&cmp.setup, nat.setup); in compat_grant_table_op()
202 XLAT_gnttab_transfer(nat.xfer + n, &cmp.xfer); in compat_grant_table_op()
247 XLAT_gnttab_copy(nat.copy + n, &cmp.copy); in compat_grant_table_op()
276 (COMPAT_ARG_XLAT_SIZE - sizeof(*nat.get_status)) / in compat_grant_table_op()
[all …]
A Ddomain.c104 struct vcpu_runstate_info nat; in compat_vcpu_op() member
108 vcpu_runstate_get(v, &runstate.nat); in compat_vcpu_op()
109 xlat_vcpu_runstate_info(&runstate.nat); in compat_vcpu_op()
118 struct vcpu_set_singleshot_timer *nat; in compat_vcpu_op() local
122 nat = COMPAT_ARG_XLAT_VIRT_BASE; in compat_vcpu_op()
123 XLAT_vcpu_set_singleshot_timer(nat, &cmp); in compat_vcpu_op()
124 rc = do_vcpu_op(cmd, vcpuid, guest_handle_from_ptr(nat, void)); in compat_vcpu_op()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/compat/
A Dmm.c25 struct xen_foreign_memory_map *nat = COMPAT_ARG_XLAT_VIRT_BASE; in compat_arch_memory_op() local
32 XLAT_foreign_memory_map(nat, &cmp); in compat_arch_memory_op()
35 rc = arch_memory_op(cmd, guest_handle_from_ptr(nat, void)); in compat_arch_memory_op()
44 struct xen_memory_map *nat = COMPAT_ARG_XLAT_VIRT_BASE; in compat_arch_memory_op() local
51 XLAT_memory_map(nat, &cmp); in compat_arch_memory_op()
54 rc = arch_memory_op(cmd, guest_handle_from_ptr(nat, void)); in compat_arch_memory_op()
59 XLAT_memory_map(&cmp, nat); in compat_arch_memory_op()
71 struct xen_pod_target *nat = COMPAT_ARG_XLAT_VIRT_BASE; in compat_arch_memory_op() local
76 XLAT_pod_target(nat, &cmp); in compat_arch_memory_op()
83 hypercall_xlat_continuation(NULL, 2, 0x2, nat, arg); in compat_arch_memory_op()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddomain.c776 #define c(fld) (compat ? (c.cmp->fld) : (c.nat->fld)) in arch_set_info_guest()
786 (c.nat->ldt_ents && !is_canonical_address(c.nat->ldt_base)) || in arch_set_info_guest()
806 if ( !__addr_ok(c.nat->ldt_base) ) in arch_set_info_guest()
837 memcpy(v->arch.fpu_ctxt, &c.nat->fpu_ctxt, sizeof(c.nat->fpu_ctxt)); in arch_set_info_guest()
859 memcpy(&v->arch.user_regs, &c.nat->user_regs, sizeof(c.nat->user_regs)); in arch_set_info_guest()
862 sizeof(c.nat->trap_ctxt)); in arch_set_info_guest()
945 v->arch.pv_vcpu.fs_base = c.nat->fs_base; in arch_set_info_guest()
1019 rc = (int)pv_set_gdt(v, c.nat->gdt_frames, c.nat->gdt_ents); in arch_set_info_guest()
1037 cr3_gfn = xen_cr3_to_pfn(c.nat->ctrlreg[3]); in arch_set_info_guest()
1081 if ( c.nat->ctrlreg[1] ) in arch_set_info_guest()
[all …]
A Ddomctl.c1578 memcpy(&c.nat->fpu_ctxt, v->arch.fpu_ctxt, sizeof(c.nat->fpu_ctxt)); in arch_get_info_guest()
1586 memcpy(&c.nat->user_regs, &v->arch.user_regs, sizeof(c.nat->user_regs)); in arch_get_info_guest()
1614 c.nat->user_regs.cs = sreg.sel; in arch_get_info_guest()
1616 c.nat->user_regs.ss = sreg.sel; in arch_get_info_guest()
1618 c.nat->user_regs.ds = sreg.sel; in arch_get_info_guest()
1620 c.nat->user_regs.es = sreg.sel; in arch_get_info_guest()
1622 c.nat->user_regs.fs = sreg.sel; in arch_get_info_guest()
1623 c.nat->fs_base = sreg.base; in arch_get_info_guest()
1675 c.nat->ctrlreg[1] = in arch_get_info_guest()
1680 c.nat->debugreg[7] |= c.nat->debugreg[5]; in arch_get_info_guest()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dshim.c629 struct gnttab_setup_table nat; in pv_shim_grant_table_op() local
634 : copy_from_guest(&nat, uop, 1)) || in pv_shim_grant_table_op()
645 XLAT_gnttab_setup_table(&nat, &cmp); in pv_shim_grant_table_op()
648 nat.status = GNTST_okay; in pv_shim_grant_table_op()
678 if ( nat.nr_frames > nr_grant_list ) in pv_shim_grant_table_op()
685 for ( i = 0; i < nat.nr_frames; i++ ) in pv_shim_grant_table_op()
723 nat.status = GNTST_bad_virt_addr; in pv_shim_grant_table_op()
728 else if ( __copy_to_guest_offset(nat.frame_list, i, in pv_shim_grant_table_op()
731 nat.status = GNTST_bad_virt_addr; in pv_shim_grant_table_op()
740 XLAT_gnttab_setup_table(&cmp, &nat); in pv_shim_grant_table_op()
[all …]
/xen-4.10.0-shim-comet/xen/include/public/arch-x86/hvm/
A Dsave.h281 struct hvm_hw_cpu nat; in _hvm_hw_fix_cpu() member
291 ucpu->nat.error_code = ucpu->cmp.error_code; in _hvm_hw_fix_cpu()
292 ucpu->nat.pending_event = ucpu->cmp.pending_event; in _hvm_hw_fix_cpu()
293 ucpu->nat.tsc = ucpu->cmp.tsc; in _hvm_hw_fix_cpu()
294 ucpu->nat.msr_tsc_aux = 0; in _hvm_hw_fix_cpu()
297 ucpu->nat.flags = XEN_X86_FPU_INITIALISED; in _hvm_hw_fix_cpu()
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/
A Dmce.c1316 struct xen_mc_fetch *nat; in do_mca() member
1320 struct xen_mc_physcpuinfo *nat; in do_mca() member
1345 mc_fetch.nat = &op->u.mc_fetch; in do_mca()
1346 cmdflags = mc_fetch.nat->flags; in do_mca()
1372 ? guest_handle_is_null(mc_fetch.nat->data) in do_mca()
1387 mc_fetch.nat->fetch_id = 0; in do_mca()
1397 mc_fetch.nat->fetch_id = 0; in do_mca()
1400 mc_fetch.nat->flags = flags; in do_mca()
1411 mc_physcpuinfo.nat = &op->u.mc_physcpuinfo; in do_mca()
1418 if ( mc_physcpuinfo.nat->ncpus <= 0 ) in do_mca()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Ddomctl.c427 vcpu_guest_context_u c = { .nat = NULL }; in do_domctl()
450 if ( (c.nat = alloc_vcpu_guest_context()) == NULL ) in do_domctl()
455 ret = copy_from_guest(c.nat, op->u.vcpucontext.ctxt, 1); in do_domctl()
461 ret = copy_from_guest(c.nat, op->u.vcpucontext.ctxt, 1); in do_domctl()
476 free_vcpu_guest_context(c.nat); in do_domctl()
854 vcpu_guest_context_u c = { .nat = NULL }; in do_domctl()
872 if ( (c.nat = xzalloc(struct vcpu_guest_context)) == NULL ) in do_domctl()
884 ret = copy_to_guest(op->u.vcpucontext.ctxt, c.nat, 1); in do_domctl()
889 ret = copy_to_guest(op->u.vcpucontext.ctxt, c.nat, 1); in do_domctl()
897 xfree(c.nat); in do_domctl()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Ddomctl.c190 struct vcpu_guest_context *ctxt = c.nat; in arch_get_info_guest()
191 struct vcpu_guest_core_regs *regs = &c.nat->user_regs; in arch_get_info_guest()
A Ddomain.c767 struct vcpu_guest_context *ctxt = c.nat; in arch_set_info_guest()
768 struct vcpu_guest_core_regs *regs = &c.nat->user_regs; in arch_set_info_guest()
/xen-4.10.0-shim-comet/docs/designs/
A Ddmop.markdown166 struct xen_dm_op_buf nat[MAX_NR_BUFS];
171 if ( copy_from_guest_offset(nat, bufs, 0, nr_bufs) )
174 return dm_op(domid, nr_bufs, nat);
/xen-4.10.0-shim-comet/xen/include/xen/
A Ddomain.h12 struct vcpu_guest_context *nat; member
/xen-4.10.0-shim-comet/tools/hotplug/Linux/
A DMakefile17 XEN_SCRIPTS += vif-nat
/xen-4.10.0-shim-comet/tools/examples/
A DREADME23 vif-nat - xen virtual network start/stop script in NAT mode
/xen-4.10.0-shim-comet/
A D.rootkeys581 41fc0c18hVgK5rKJyZUsqybux9D9Dg tools/examples/network-nat
584 41fc0c18AFAVXA1uGm1JFWHMeeznVw tools/examples/vif-nat

Completed in 28 milliseconds