Lines Matching defs:selector
152 u16 selector;
216 .selector = GUEST_##seg##_SELECTOR, \
223 unsigned selector;
754 static unsigned long segment_base(u16 selector)
761 if (!(selector & ~3))
767 if (selector & 4) { /* from ldt */
775 d = (struct desc_struct *)(table_base + (selector & ~7));
1640 vmcs_write16(sf->selector, save->selector);
1645 u32 dpl = (vmcs_read16(sf->selector) & SELECTOR_RPL_MASK)
1707 save->selector = vmcs_read16(sf->selector);
1711 vmcs_write16(sf->selector, save->base >> 4);
2009 var->selector = vmcs_read16(sf->selector);
2065 vmx->rmode.tr.selector = var->selector;
2073 vmcs_write16(sf->selector, var->selector);
2078 if (var->base == 0xffff0000 && var->selector == 0xf000)
2141 if (var.base != (var.selector << 4))
2157 cs_rpl = cs.selector & SELECTOR_RPL_MASK;
2185 ss_rpl = ss.selector & SELECTOR_RPL_MASK;
2207 rpl = var.selector & SELECTOR_RPL_MASK;
2234 if (tr.selector & SELECTOR_TI_MASK) /* TI = 1 */
2252 if (ldtr.selector & SELECTOR_TI_MASK) /* TI = 1 */
2269 return ((cs.selector & SELECTOR_RPL_MASK) ==
2270 (ss.selector & SELECTOR_RPL_MASK));
2396 vmcs_write16(sf->selector, 0);