Searched refs:_type (Results 1 – 11 of 11) sorted by relevance
/xen/xen/include/xen/ |
A D | xmalloc.h | 13 #define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type))) argument 14 #define xzalloc(_type) ((_type *)_xzalloc(sizeof(_type), __alignof__(_type))) argument 33 #define xmalloc_array(_type, _num) \ argument 34 ((_type *)_xmalloc_array(sizeof(_type), __alignof__(_type), _num)) 35 #define xzalloc_array(_type, _num) \ argument 36 ((_type *)_xzalloc_array(sizeof(_type), __alignof__(_type), _num))
|
A D | typesafe.h | 22 #define TYPE_SAFE(_type, _name) \ argument 23 typedef struct { _type _name; } _name##_t; \ 24 static inline _name##_t _##_name(_type n) { return (_name##_t) { n }; } \ 25 static inline _type _name##_x(_name##_t n) { return n._name; } 29 #define TYPE_SAFE(_type, _name) \ argument 30 typedef _type _name##_t; \ 31 static inline _name##_t _##_name(_type n) { return n; } \ 32 static inline _type _name##_x(_name##_t n) { return n; }
|
/xen/xen/include/public/hvm/ |
A D | save.h | 65 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument 68 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}; \ 72 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument 75 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}; \ 76 struct __HVM_SAVE_TYPE_COMPAT_##_x { _type t; } 78 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument 79 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];} 81 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument 82 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}
|
/xen/xen/include/asm-arm/tee/ |
A D | tee.h | 68 #define REGISTER_TEE_MEDIATOR(_name, _namestr, _type, _ops) \ argument 73 .tee_type = _type \
|
/xen/tools/tests/vhpet/ |
A D | emul.h | 90 #define xmalloc_array(_type, _num) (void *)(_type)(_num) argument 91 #define DEFINE_PER_CPU(_type, _name) _type _name argument
|
/xen/xen/include/public/arch-x86/ |
A D | xen-mca.h | 313 #define x86_mcinfo_lookup(_ret, _mi, _type) \ argument 323 if (_mic->type == (_type)) { \
|
/xen/xen/common/ |
A D | trace.c | 80 #define fit_to_type(_type, _x) (((_x)+sizeof(_type)-1) / sizeof(_type)) argument
|
/xen/tools/golang/xenlight/ |
A D | helpers.gen.go | 608 x.Type = DomainType(xc._type) 648 xc._type = C.libxl_domain_type(x.Type) 1093 x.Type = DomainType(xc._type) 1426 xc._type = C.libxl_domain_type(x.Type) 2102 x.Type = UsbctrlType(xc._type) 2145 x.Type = UsbdevType(xc._type) 2591 x.Type = VsndStreamType(xc._type) 3225 x.Type = UsbctrlType(xc._type) 3934 x.Type = EventType(xc._type) 4009 xc._type = C.libxl_event_type(x.Type) [all …]
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 267 #define DECLARE_HYPERCALL_BUFFER(_type, _name) \ argument 268 _type *(_name) = NULL; \ 285 #define DECLARE_HYPERCALL_BUFFER_SHADOW(_type, _name, _hbuf) \ argument 286 _type *(_name) = (_hbuf)->hbuf; \
|
/xen/xen/arch/x86/mm/shadow/ |
A D | common.c | 2249 #define DO_UNSHADOW(_type) do { \ in sh_remove_shadows() argument 2250 t = (_type); \ in sh_remove_shadows()
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.c | 1300 #define insn_fetch_type(_type) ((_type)insn_fetch_bytes(sizeof(_type))) argument
|
Completed in 49 milliseconds