Symbol: seg_desc
lib/libvmmapi/amd64/vmmapi_machdep.c
133
vm_get_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *seg_desc)
lib/libvmmapi/amd64/vmmapi_machdep.c
137
error = vm_get_desc(vcpu, reg, &seg_desc->base, &seg_desc->limit,
lib/libvmmapi/amd64/vmmapi_machdep.c
138
&seg_desc->access);
lib/libvmmapi/vmmapi.h
153
int vm_get_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *seg_desc);
sys/amd64/include/vmm.h
156
struct seg_desc;
sys/amd64/include/vmm.h
187
struct seg_desc *desc));
sys/amd64/include/vmm.h
189
struct seg_desc *desc));
sys/amd64/include/vmm.h
239
struct seg_desc *ret_desc);
sys/amd64/include/vmm.h
241
struct seg_desc *desc);
sys/amd64/include/vmm.h
556
struct seg_desc seg_desc;
sys/amd64/include/vmm_dev.h
74
struct seg_desc desc;
sys/amd64/include/vmm_instruction_emul.h
98
struct seg_desc *desc, uint64_t off, int length, int addrsize, int prot,
sys/amd64/vmm/amd/svm.c
135
static int svm_getdesc(void *vcpui, int reg, struct seg_desc *desc);
sys/amd64/vmm/amd/svm.c
2407
svm_getdesc(void *vcpui, int reg, struct seg_desc *desc)
sys/amd64/vmm/amd/svm.c
2413
svm_setdesc(void *vcpui, int reg, struct seg_desc *desc)
sys/amd64/vmm/amd/svm.c
790
error = svm_getdesc(vcpu, vis->seg_name, &vis->seg_desc);
sys/amd64/vmm/amd/vmcb.c
381
vmcb_setdesc(struct svm_vcpu *vcpu, int reg, struct seg_desc *desc)
sys/amd64/vmm/amd/vmcb.c
431
vmcb_getdesc(struct svm_vcpu *vcpu, int reg, struct seg_desc *desc)
sys/amd64/vmm/amd/vmcb.c
507
struct seg_desc desc;
sys/amd64/vmm/amd/vmcb.h
357
int vmcb_setdesc(struct svm_vcpu *vcpu, int ident, struct seg_desc *desc);
sys/amd64/vmm/amd/vmcb.h
358
int vmcb_getdesc(struct svm_vcpu *vcpu, int ident, struct seg_desc *desc);
sys/amd64/vmm/intel/vmcs.c
253
vmcs_setdesc(struct vmcs *vmcs, int running, int seg, struct seg_desc *desc)
sys/amd64/vmm/intel/vmcs.c
281
vmcs_getdesc(struct vmcs *vmcs, int running, int seg, struct seg_desc *desc)
sys/amd64/vmm/intel/vmcs.c
499
struct seg_desc desc;
sys/amd64/vmm/intel/vmcs.h
56
struct seg_desc *desc);
sys/amd64/vmm/intel/vmcs.h
58
struct seg_desc *desc);
sys/amd64/vmm/intel/vmx.c
2070
error = vmx_getdesc(vcpu, vis->seg_name, &vis->seg_desc);
sys/amd64/vmm/intel/vmx.c
316
static int vmx_getdesc(void *vcpui, int reg, struct seg_desc *desc);
sys/amd64/vmm/intel/vmx.c
3507
vmx_getdesc(void *vcpui, int reg, struct seg_desc *desc)
sys/amd64/vmm/intel/vmx.c
3522
vmx_setdesc(void *vcpui, int reg, struct seg_desc *desc)
sys/amd64/vmm/vmm.c
142
DEFINE_VMMOPS_IFUNC(int, getdesc, (void *vcpui, int num, struct seg_desc *desc))
sys/amd64/vmm/vmm.c
143
DEFINE_VMMOPS_IFUNC(int, setdesc, (void *vcpui, int num, struct seg_desc *desc))
sys/amd64/vmm/vmm.c
656
vm_get_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *desc)
sys/amd64/vmm/vmm.c
666
vm_set_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *desc)
sys/amd64/vmm/vmm_instruction_emul.c
1522
struct seg_desc ss_desc;
sys/amd64/vmm/vmm_instruction_emul.c
1885
struct seg_desc *desc, uint64_t offset, int length, int addrsize,
sys/amd64/vmm/vmm_instruction_emul.c
2818
struct seg_desc desc;
sys/amd64/vmm/vmm_instruction_emul.c
708
struct seg_desc desc;
sys/amd64/vmm/vmm_ioport.c
190
&vmexit->u.inout_str.seg_desc));
sys/dev/gve/gve_tx.c
519
gve_tx_fill_seg_desc(struct gve_tx_seg_desc *seg_desc,
sys/dev/gve/gve_tx.c
523
seg_desc->type_flags = GVE_TXD_SEG;
sys/dev/gve/gve_tx.c
526
seg_desc->type_flags |= GVE_TXSF_IPV6;
sys/dev/gve/gve_tx.c
527
seg_desc->l3_offset = l3_off >> 1;
sys/dev/gve/gve_tx.c
528
seg_desc->mss = htobe16(tso_mss);
sys/dev/gve/gve_tx.c
530
seg_desc->seg_len = htobe16(len);
sys/dev/gve/gve_tx.c
531
seg_desc->seg_addr = htobe64(addr);
sys/dev/gve/gve_tx.c
637
struct gve_tx_seg_desc *seg_desc;
sys/dev/gve/gve_tx.c
752
seg_desc = &tx->desc_ring[next_idx].seg;
sys/dev/gve/gve_tx.c
754
gve_tx_fill_seg_desc(seg_desc, is_tso, info->iov[i].iov_len,
usr.sbin/bhyve/amd64/inout.c
157
vis->seg_name, &vis->seg_desc, index, bytes,
usr.sbin/bhyve/amd64/task_switch.c
119
static struct seg_desc
usr.sbin/bhyve/amd64/task_switch.c
122
struct seg_desc seg_desc;
usr.sbin/bhyve/amd64/task_switch.c
124
seg_desc.base = (u_int)USD_GETBASE(usd);
usr.sbin/bhyve/amd64/task_switch.c
126
seg_desc.limit = (u_int)(USD_GETLIMIT(usd) << 12) | 0xfff;
usr.sbin/bhyve/amd64/task_switch.c
128
seg_desc.limit = (u_int)USD_GETLIMIT(usd);
usr.sbin/bhyve/amd64/task_switch.c
129
seg_desc.access = usd->sd_type | usd->sd_dpl << 5 | usd->sd_p << 7;
usr.sbin/bhyve/amd64/task_switch.c
130
seg_desc.access |= usd->sd_xx << 12;
usr.sbin/bhyve/amd64/task_switch.c
131
seg_desc.access |= usd->sd_def32 << 14;
usr.sbin/bhyve/amd64/task_switch.c
132
seg_desc.access |= usd->sd_gran << 15;
usr.sbin/bhyve/amd64/task_switch.c
134
return (seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
309
int segment, struct seg_desc *seg_desc, int *faultptr)
usr.sbin/bhyve/amd64/task_switch.c
361
seg_desc->base = 0;
usr.sbin/bhyve/amd64/task_switch.c
362
seg_desc->limit = 0;
usr.sbin/bhyve/amd64/task_switch.c
363
seg_desc->access = 0x10000; /* unusable */
usr.sbin/bhyve/amd64/task_switch.c
429
*seg_desc = usd_to_seg_desc(&usd);
usr.sbin/bhyve/amd64/task_switch.c
467
update_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *sd)
usr.sbin/bhyve/amd64/task_switch.c
482
struct seg_desc seg_desc, seg_desc2;
usr.sbin/bhyve/amd64/task_switch.c
562
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_LDTR, &seg_desc,
usr.sbin/bhyve/amd64/task_switch.c
566
update_seg_desc(vcpu, VM_REG_GUEST_LDTR, &seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
577
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_CS, &seg_desc,
usr.sbin/bhyve/amd64/task_switch.c
586
update_seg_desc(vcpu, VM_REG_GUEST_CS, &seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
590
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_DS, &seg_desc,
usr.sbin/bhyve/amd64/task_switch.c
594
update_seg_desc(vcpu, VM_REG_GUEST_DS, &seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
596
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_ES, &seg_desc,
usr.sbin/bhyve/amd64/task_switch.c
600
update_seg_desc(vcpu, VM_REG_GUEST_ES, &seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
602
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_FS, &seg_desc,
usr.sbin/bhyve/amd64/task_switch.c
606
update_seg_desc(vcpu, VM_REG_GUEST_FS, &seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
608
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_GS, &seg_desc,
usr.sbin/bhyve/amd64/task_switch.c
612
update_seg_desc(vcpu, VM_REG_GUEST_GS, &seg_desc);
usr.sbin/bhyve/amd64/task_switch.c
627
struct seg_desc seg_desc;
usr.sbin/bhyve/amd64/task_switch.c
639
error = vm_get_desc(vcpu, VM_REG_GUEST_SS, &seg_desc.base,
usr.sbin/bhyve/amd64/task_switch.c
640
&seg_desc.limit, &seg_desc.access);
usr.sbin/bhyve/amd64/task_switch.c
658
if (SEG_DESC_DEF32(seg_desc.access))
usr.sbin/bhyve/amd64/task_switch.c
667
&seg_desc, esp, bytes, stacksize, PROT_WRITE, &gla)) {
usr.sbin/bhyve/amd64/task_switch.c
707
struct seg_desc nt;