Home
last modified time | relevance | path

Searched refs:dpl (Results 1 – 11 of 11) sorted by relevance

/arch/x86/include/asm/
Ddesc_defs.h19 u16 base1: 8, type: 4, s: 1, dpl: 2, p: 1; member
32 .dpl = (flags >> 5) & 0x03, \
58 u16 base1 : 8, type : 5, dpl : 2, p : 1; member
73 dpl : 2, member
Ddesc.h28 desc->dpl = 0x3; in fill_ldt()
85 unsigned dpl, unsigned ist, unsigned seg) in pack_gate() argument
89 gate->bits.dpl = dpl; in pack_gate()
/arch/x86/boot/compressed/
Deboot.c847 desc->dpl = 0; in efi_main()
868 desc->dpl = 0; in efi_main()
890 desc->dpl = 0; in efi_main()
907 desc->dpl = 0; in efi_main()
/arch/x86/kvm/
Demulate.c1672 u8 dpl, rpl; in __load_segment_descriptor() local
1696 seg_desc.dpl = 3; in __load_segment_descriptor()
1722 seg_desc.dpl = cpl; in __load_segment_descriptor()
1746 dpl = seg_desc.dpl; in __load_segment_descriptor()
1754 if (rpl != cpl || (seg_desc.type & 0xa) != 0x2 || dpl != cpl) in __load_segment_descriptor()
1763 if (dpl > cpl) in __load_segment_descriptor()
1767 if (rpl > cpl || dpl != cpl) in __load_segment_descriptor()
1798 (rpl > dpl && cpl > dpl))) in __load_segment_descriptor()
2430 desc->dpl = (flags >> 13) & 3; in rsm_set_desc_flags()
2736 cs->dpl = 0; /* will be adjusted later */ in setup_syscalls_segments()
[all …]
Dsvm.c661 unsigned base1:8, type:5, dpl:2, p:1; member
2481 var->dpl = (s->attrib >> SVM_SELECTOR_DPL_SHIFT) & 3; in svm_get_segment()
2535 var->dpl = to_svm(vcpu)->vmcb->save.cpl; in svm_get_segment()
2677 s->attrib |= (var->dpl & 3) << SVM_SELECTOR_DPL_SHIFT; in svm_set_segment()
2692 svm->vmcb->save.cpl = (var->dpl & 3); in svm_set_segment()
Dx86.c6207 desc->dpl = var.dpl; in emulator_get_segment()
6233 var.dpl = desc->dpl; in emulator_set_segment()
7784 flags |= seg->dpl << 13; in enter_smm_get_segment_flags()
7985 cs.dpl = ds.dpl = 0; in enter_smm()
/arch/x86/kernel/
Didt.c29 .bits.dpl = _dpl, \
/arch/x86/include/uapi/asm/
Dkvm.h136 __u8 present, dpl, db, s, l, g, avl; member
/arch/x86/kvm/vmx/
Dvmx.c2741 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()
2792 var.dpl = 0x3; in fix_rmode_seg()
3204 var->dpl = (ar >> 5) & 3; in vmx_get_segment()
3248 ar |= (var->dpl & 3) << 5; in vmx_segment_access_rights()
3337 var.dpl = 0x3; in rmode_segment_valid()
3367 if (cs.dpl > cs_rpl) in code_segment_valid()
3370 if (cs.dpl != cs_rpl) in code_segment_valid()
3394 if (ss.dpl != ss_rpl) /* DPL != RPL */ in stack_segment_valid()
3417 if (var.dpl < rpl) /* DPL < RPL */ in data_segment_valid()
/arch/x86/xen/
Denlighten_pv.c688 info->flags = val->bits.dpl; in cvt_gate_to_trap()
/arch/x86/kernel/cpu/
Dcommon.c1978 d.dpl = 3; /* Visible to user code */ in setup_getcpu()