Lines Matching refs:hs
263 WHV_X64_SEGMENT_REGISTER hs; in whpx_seg_q2h() local
266 hs.Base = qs->base; in whpx_seg_q2h()
267 hs.Limit = qs->limit; in whpx_seg_q2h()
268 hs.Selector = qs->selector; in whpx_seg_q2h()
271 hs.Attributes = 0; in whpx_seg_q2h()
272 hs.SegmentType = 3; in whpx_seg_q2h()
273 hs.Present = 1; in whpx_seg_q2h()
274 hs.DescriptorPrivilegeLevel = 3; in whpx_seg_q2h()
275 hs.NonSystemSegment = 1; in whpx_seg_q2h()
278 hs.Attributes = (flags >> DESC_TYPE_SHIFT); in whpx_seg_q2h()
285 return hs; in whpx_seg_q2h()
288 static SegmentCache whpx_seg_h2q(const WHV_X64_SEGMENT_REGISTER *hs) in whpx_seg_h2q() argument
292 qs.base = hs->Base; in whpx_seg_h2q()
293 qs.limit = hs->Limit; in whpx_seg_h2q()
294 qs.selector = hs->Selector; in whpx_seg_h2q()
296 qs.flags = ((uint32_t)hs->Attributes) << DESC_TYPE_SHIFT; in whpx_seg_h2q()