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.h29 desc->dpl = 0x3; in fill_ldt()
81 unsigned dpl, unsigned ist, unsigned seg) in pack_gate() argument
85 gate->bits.dpl = dpl; in pack_gate()
/arch/x86/kernel/
Didt.c24 .bits.dpl = _dpl, \
/arch/x86/kvm/
Demulate.c1588 u8 dpl, rpl; in __load_segment_descriptor() local
1612 seg_desc.dpl = 3; in __load_segment_descriptor()
1638 seg_desc.dpl = cpl; in __load_segment_descriptor()
1662 dpl = seg_desc.dpl; in __load_segment_descriptor()
1670 if (rpl != cpl || (seg_desc.type & 0xa) != 0x2 || dpl != cpl) in __load_segment_descriptor()
1679 if (dpl > cpl) in __load_segment_descriptor()
1683 if (rpl > cpl || dpl != cpl) in __load_segment_descriptor()
1714 (rpl > dpl && cpl > dpl))) in __load_segment_descriptor()
2341 desc->dpl = (flags >> 13) & 3; in rsm_set_desc_flags()
2666 cs->dpl = 0; /* will be adjusted later */ in setup_syscalls_segments()
[all …]
Dx86.c7408 desc->dpl = var.dpl; in emulator_get_segment()
7434 var.dpl = desc->dpl; in emulator_set_segment()
9268 flags |= seg->dpl << 13; in enter_smm_get_segment_flags()
9468 cs.dpl = ds.dpl = 0; in enter_smm()
/arch/x86/include/uapi/asm/
Dkvm.h138 __u8 present, dpl, db, s, l, g, avl; member
/arch/arm64/boot/dts/freescale/
Dfsl-ls1088a-ten64.dts322 label = "dpl";
/arch/x86/kvm/vmx/
Dvmx.c2814 save->dpl = save->selector & SEGMENT_RPL_MASK; in fix_pmode_seg()
2863 var.dpl = 0x3; in fix_rmode_seg()
3340 var->dpl = (ar >> 5) & 3; in vmx_get_segment()
3384 ar |= (var->dpl & 3) << 5; in vmx_segment_access_rights()
3477 var.dpl = 0x3; in rmode_segment_valid()
3507 if (cs.dpl > cs_rpl) in code_segment_valid()
3510 if (cs.dpl != cs_rpl) in code_segment_valid()
3534 if (ss.dpl != ss_rpl) /* DPL != RPL */ in stack_segment_valid()
3557 if (var.dpl < rpl) /* DPL < RPL */ in data_segment_valid()
/arch/x86/kvm/svm/
Dsvm.c213 unsigned base1:8, type:5, dpl:2, p:1; member
1641 var->dpl = (s->attrib >> SVM_SELECTOR_DPL_SHIFT) & 3; in svm_get_segment()
1695 var->dpl = to_svm(vcpu)->vmcb->save.cpl; in svm_get_segment()
1842 s->attrib |= (var->dpl & 3) << SVM_SELECTOR_DPL_SHIFT; in svm_set_segment()
1857 svm->vmcb->save.cpl = (var->dpl & 3); in svm_set_segment()
/arch/x86/xen/
Denlighten_pv.c688 info->flags = val->bits.dpl; in cvt_gate_to_trap()
/arch/x86/kernel/cpu/
Dcommon.c2019 d.dpl = 3; /* Visible to user code */ in setup_getcpu()