Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 40) sorted by relevance

12

/xen/xen/arch/x86/hvm/svm/
A Dvmcb.c122 vmcb->es.attr = 0xc93; /* read/write, accessed */ in construct_vmcb()
123 vmcb->ss.attr = 0xc93; in construct_vmcb()
124 vmcb->ds.attr = 0xc93; in construct_vmcb()
125 vmcb->fs.attr = 0xc93; in construct_vmcb()
126 vmcb->gs.attr = 0xc93; in construct_vmcb()
127 vmcb->cs.attr = 0xc9b; /* exec/read, accessed */ in construct_vmcb()
130 vmcb->tr.attr = 0x08b; /* 32-bit TSS (busy) */ in construct_vmcb()
278 BUILD_BUG_ON(sizeof(vmcb.es.attr) != 2); in build_assertions()
282 BUILD_BUG_ON(offsetof(typeof(vmcb.es), attr) != 2); in build_assertions()
A Dsvmdebug.c27 name, s->sel, s->attr, s->limit, s->base); in svm_dump_sel()
/xen/tools/firmware/vgabios/
A Dvgabios.c1465 if(attr&0x80)
1520 if (attr & 0x80)
1532 if (attr & 0x80)
1549 if (attr & 0x80)
1561 if (attr & 0x80)
1599 data = attr;
1633 dummy=((Bit16u)attr<<8)+car;
1865 data ^= attr;
1870 data |= attr;
1904 attr = 0x00;
[all …]
/xen/xen/include/asm-arm/
A Dpage.h62 #define _MAIR0(attr, mt) (_AC(attr, ULL) << ((mt) * 8)) argument
63 #define _MAIR1(attr, mt) (_AC(attr, ULL) << (((mt) * 8) - 32)) argument
/xen/xen/include/xen/
A Dpercpu.h9 #define __DEFINE_PER_CPU(attr, type, name) \ argument
10 attr __typeof__(type) per_cpu_ ## name
/xen/xen/tools/kconfig/tests/
A Dconftest.py230 def _contains(self, attr, expected): argument
232 lambda s, e: getattr(s, attr).find(e) >= 0,
235 def _matches(self, attr, expected): argument
236 return self._read_and_compare(lambda s, e: getattr(s, attr) == e,
/xen/xen/arch/x86/
A Dvm_event.c147 reg->ss.ar = seg.attr; in vm_event_pack_segment_register()
154 reg->fs.ar = seg.attr; in vm_event_pack_segment_register()
161 reg->gs.ar = seg.attr; in vm_event_pack_segment_register()
168 reg->cs.ar = seg.attr; in vm_event_pack_segment_register()
175 reg->ds.ar = seg.attr; in vm_event_pack_segment_register()
182 reg->es.ar = seg.attr; in vm_event_pack_segment_register()
/xen/xen/arch/arm/tee/
A Doptee.c866 uint32_t attr; in translate_params() local
871 attr = call->xen_arg->params[i].attr; in translate_params()
873 switch ( attr & OPTEE_MSG_ATTR_TYPE_MASK ) in translate_params()
878 if ( attr & OPTEE_MSG_ATTR_NONCONTIG ) in translate_params()
979 uint32_t attr; in copy_std_request_back() local
1005 attr = call->xen_arg->params[i].attr; in copy_std_request_back()
1007 switch ( attr & OPTEE_MSG_ATTR_TYPE_MASK ) in copy_std_request_back()
1047 switch ( arg->params[i].attr & OPTEE_MSG_ATTR_TYPE_MASK ) in free_shm_buffers()
1335 shm_rpc->xen_arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT; in issue_rpc_cmd_free()
1418 if ( shm_rpc->xen_arg->params[0].attr != (OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | in handle_rpc_cmd_alloc()
[all …]
/xen/xen/xsm/flask/ss/
A Dconstraint.h41 u32 attr; /* attribute */ member
A Dservices.c134 switch ( e->attr ) in constraint_expr_eval()
236 if ( e->attr & CEXPR_TARGET ) in constraint_expr_eval()
238 else if ( e->attr & CEXPR_XTARGET ) in constraint_expr_eval()
247 if ( e->attr & CEXPR_USER ) in constraint_expr_eval()
249 else if ( e->attr & CEXPR_ROLE ) in constraint_expr_eval()
251 else if ( e->attr & CEXPR_TYPE ) in constraint_expr_eval()
/xen/xen/arch/arm/
A Dgic-v3-its.c350 uint64_t attr, reg; in its_map_baser() local
356 attr = GIC_BASER_InnerShareable << GITS_BASER_SHAREABILITY_SHIFT; in its_map_baser()
357 attr |= GIC_BASER_CACHE_SameAsInner << GITS_BASER_OUTER_CACHEABILITY_SHIFT; in its_map_baser()
358 attr |= GIC_BASER_CACHE_RaWaWb << GITS_BASER_INNER_CACHEABILITY_SHIFT; in its_map_baser()
381 reg = attr; in its_map_baser()
393 if ( (regc & BASER_ATTR_MASK) != attr ) in its_map_baser()
401 attr = regc & BASER_ATTR_MASK; in its_map_baser()
/xen/tools/xenstat/xentop/
A Dxentop.c83 static void attr_addstr(int attr, const char *str);
313 static void xentop_attron(int attr) in xentop_attron() argument
316 attron(attr); in xentop_attron()
319 static void xentop_attroff(int attr) in xentop_attroff() argument
322 attroff(attr); in xentop_attroff()
326 static void attr_addstr(int attr, const char *str) in attr_addstr() argument
328 xentop_attron(attr); in attr_addstr()
330 xentop_attroff(attr); in attr_addstr()
/xen/xen/arch/x86/hvm/vmx/
A Dvmx.c896 unsigned long attr; in vmx_get_cpl() local
898 __vmread(GUEST_SS_AR_BYTES, &attr); in vmx_get_cpl()
900 return (attr >> 5) & 3; in vmx_get_cpl()
932 unsigned long attr = 0, sel = 0, limit; in vmx_get_segment_register() local
998 reg->attr = in vmx_get_segment_register()
999 (!(attr & (1u << 16)) << 7) | (attr & 0x7f) | ((attr >> 4) & 0xf00); in vmx_get_segment_register()
1033 uint32_t attr, sel, limit; in vmx_set_segment_register() local
1037 attr = reg->attr; in vmx_set_segment_register()
1055 attr = vm86_tr_attr; in vmx_set_segment_register()
1078 attr = vm86_ds_attr; in vmx_set_segment_register()
[all …]
/xen/xen/drivers/acpi/apei/
A Derst.c76 u32 attr; member
381 range->attr = apei_exec_ctx_get_output(&ctx); in erst_get_erange()
619 if (erst_erange.attr & ERST_RANGE_NVRAM) { in erst_write()
649 if (erst_erange.attr & ERST_RANGE_NVRAM) in __erst_read_to_erange()
746 if (erst_erange.attr & ERST_RANGE_NVRAM) in erst_clear()
/xen/tools/xenstore/
A Dxs.c825 pthread_attr_t attr; in xs_watch() local
828 size_t (*getsz)(pthread_attr_t *attr); in xs_watch()
831 if (pthread_attr_init(&attr) != 0) { in xs_watch()
839 stack_size = getsz(&attr); in xs_watch()
844 if (pthread_attr_setstacksize(&attr, stack_size) != 0) { in xs_watch()
845 pthread_attr_destroy(&attr); in xs_watch()
853 if (pthread_create(&h->read_thr, &attr, read_thread, h) != 0) { in xs_watch()
855 pthread_attr_destroy(&attr); in xs_watch()
861 pthread_attr_destroy(&attr); in xs_watch()
/xen/tools/libxl/
A Dlibxl_internal.c356 pthread_mutexattr_t attr; in libxl__init_recursive_mutex() local
359 if (pthread_mutexattr_init(&attr) != 0) { in libxl__init_recursive_mutex()
364 if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) != 0) { in libxl__init_recursive_mutex()
369 if (pthread_mutex_init(lock, &attr) != 0) { in libxl__init_recursive_mutex()
375 pthread_mutexattr_destroy(&attr); in libxl__init_recursive_mutex()
/xen/xen/include/asm-arm/tee/
A Doptee_msg.h152 uint64_t attr; member
/xen/xen/tools/kconfig/
A Dnconf.gui.c71 #define mkattr(name, attr) do { \ in normal_color_theme() argument
72 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme()
103 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme() argument
/xen/xen/arch/x86/hvm/
A Dhvm.c882 ctxt.cs_arbytes = seg.attr; in hvm_save_cpu_ctxt()
888 ctxt.ds_arbytes = seg.attr; in hvm_save_cpu_ctxt()
894 ctxt.es_arbytes = seg.attr; in hvm_save_cpu_ctxt()
900 ctxt.ss_arbytes = seg.attr; in hvm_save_cpu_ctxt()
906 ctxt.fs_arbytes = seg.attr; in hvm_save_cpu_ctxt()
912 ctxt.gs_arbytes = seg.attr; in hvm_save_cpu_ctxt()
2800 segr.attr = 0xf3; in task_switch_load_seg()
3941 reg.attr = 0x9b; in hvm_vcpu_reset_state()
3946 reg.attr = 0x93; in hvm_vcpu_reset_state()
3959 reg.attr = 0; in hvm_vcpu_reset_state()
[all …]
/xen/tools/console/client/
A Dmain.c326 struct termios attr; in main() local
476 init_term(spty, &attr); in main()
/xen/xen/common/efi/
A Druntime.c261 info->mem.attr = desc->Attribute; in efi_get_info()
615 if ( (op->u.query_variable_info.attr in efi_runtime_call()
645 op->u.query_variable_info.attr, in efi_runtime_call()
/xen/xen/include/public/
A Dplatform.h209 uint32_t attr; member
289 uint64_t attr; member
/xen/xen/tools/
A Dgen-cpuid.py67 attr = res.groups()[2]
88 for a in attr:
/xen/stubdom/vtpmmgr/
A Dtpm2_marshal.h65 inline BYTE* pack_TPMA_SESSION(BYTE* ptr, const TPMA_SESSION *attr) in pack_TPMA_SESSION() argument
67 return pack_BYTE(ptr, (BYTE)(*attr)); in pack_TPMA_SESSION()
71 inline BYTE* unpack_TPMA_SESSION(BYTE* ptr, TPMA_SESSION *attr) in unpack_TPMA_SESSION() argument
73 return unpack_BYTE(ptr, (BYTE *)attr); in unpack_TPMA_SESSION()
/xen/xen/tools/kconfig/lxdialog/
A Ddialog.h202 void attr_clear(WINDOW * win, int height, int width, chtype attr);

Completed in 56 milliseconds

12