Home
last modified time | relevance | path

Searched refs:_x (Results 1 – 25 of 28) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/include/public/hvm/
A Dsave.h69 struct __HVM_SAVE_TYPE_COMPAT_##_x { _ctype t; }
76 struct __HVM_SAVE_TYPE_COMPAT_##_x { _type t; }
79 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}
82 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}
85 #define HVM_SAVE_TYPE(_x) typeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->t) argument
86 #define HVM_SAVE_LENGTH(_x) (sizeof (HVM_SAVE_TYPE(_x))) argument
87 #define HVM_SAVE_CODE(_x) (sizeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->c)) argument
90 # define HVM_SAVE_TYPE_COMPAT(_x) typeof (((struct __HVM_SAVE_TYPE_COMPAT_##_x *)(0))->t) argument
91 # define HVM_SAVE_LENGTH_COMPAT(_x) (sizeof (HVM_SAVE_TYPE_COMPAT(_x))) argument
93 # define HVM_SAVE_HAS_COMPAT(_x) (sizeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->cpt)-1) argument
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dsave.h41 #define hvm_save_entry(_x, _inst, _h, _src) ({ \ argument
43 r = _hvm_init_entry((_h), HVM_SAVE_CODE(_x), \
44 (_inst), HVM_SAVE_LENGTH(_x)); \
46 _hvm_write_entry((_h), (_src), HVM_SAVE_LENGTH(_x)); \
61 #define _hvm_load_entry(_x, _h, _dst, _strict) ({ \ argument
65 if ( (r = _hvm_check_entry((_h), HVM_SAVE_CODE(_x), \
81 #define hvm_load_entry(_x, _h, _dst) \ argument
82 _hvm_load_entry(_x, _h, _dst, 1)
83 #define hvm_load_entry_zeroextend(_x, _h, _dst) \ argument
84 _hvm_load_entry(_x, _h, _dst, 0)
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Dbitops.h222 #define __L2(_x) (((_x) & 0x00000002) ? 1 : 0) argument
223 #define __L4(_x) (((_x) & 0x0000000c) ? ( 2 + __L2( (_x)>> 2)) : __L2( _x)) argument
224 #define __L8(_x) (((_x) & 0x000000f0) ? ( 4 + __L4( (_x)>> 4)) : __L4( _x)) argument
225 #define __L16(_x) (((_x) & 0x0000ff00) ? ( 8 + __L8( (_x)>> 8)) : __L8( _x)) argument
226 #define LOG_2(_x) (((_x) & 0xffff0000) ? (16 + __L16((_x)>>16)) : __L16(_x)) argument
A Dkernel.h16 const typeof(x) _x = (x); \
18 (void) (&_x == &_y); \
19 _x < _y ? _x : _y; })
22 const typeof(x) _x = (x); \
24 (void) (&_x == &_y); \
25 _x > _y ? _x : _y; })
A Dlib.h46 #define ABS(_x) ({ \ argument
47 typeof(_x) __x = (_x); \
90 #define _p(_x) ((void *)(unsigned long)(_x)) argument
A Dtypesafe.h25 static inline _type _name##_x(_name##_t n) { return n._name; }
32 static inline _type _name##_x(_name##_t n) { return n; }
A Dcompat.h37 type *_x = (__typeof__(**(chnd)._) *)(full_ptr_t)(chnd).c; \
38 (COMPAT_HANDLE(type)) { (full_ptr_t)_x }; \
/xen-4.10.0-shim-comet/xen/arch/x86/boot/
A Ddefs.h34 const typeof(x) _x = (x); \
36 (void) (&_x == &_y); \
37 _x < _y ? _x : _y; })
40 const typeof(x) _x = (x); \
42 (void) (&_x == &_y); \
43 _x > _y ? _x : _y; })
/xen-4.10.0-shim-comet/xen/include/public/io/
A Dring.h56 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
57 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
58 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
59 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
60 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dguest_access.h33 type *_x = (hnd).p; \
34 (XEN_GUEST_HANDLE_PARAM(type)) { _x }; \
39 typeof((hnd).p) _x = (hnd).p; \
40 XEN_GUEST_HANDLE_PARAM(type) _y = { _x }; \
44 (void)(&_x == &_y.p); \
51 typeof((hnd).p) _x = (hnd).p; \
52 XEN_GUEST_HANDLE(type) _y = { _x }; \
56 (void)(&_x == &_y.p); \
/xen-4.10.0-shim-comet/tools/tests/vhpet/
A Demul.h264 #define HVM_SAVE_CODE(_x) HVM_SAVE_CODE_##_x argument
265 #define HVM_SAVE_LENGTH(_x) HVM_SAVE_LENGTH_##_x argument
318 #define HVM_REGISTER_SAVE_RESTORE(_x, _save, _load, _num, _k) \ argument
319 int __init __hvm_register_##_x##_save_and_restore(void) \
321 hvm_register_savevm(HVM_SAVE_CODE(_x), \
322 #_x, \
325 (_num) * (HVM_SAVE_LENGTH(_x) \
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_private.h396 const typeof (X) _x = (X); \
398 (void) (&_x == &_y); \
399 (_x < _y) ? _x : _y; })
401 const typeof (X) _x = (X); \
403 (void) (&_x == &_y); \
404 (_x > _y) ? _x : _y; })
A Dxg_private.h98 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen-4.10.0-shim-comet/tools/libs/gnttab/
A Dprivate.h9 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-hvmctx.c56 #define READ(_x) do { \ argument
57 if ( len - off < sizeof (_x) ) \
60 (unsigned int)sizeof(_x), len - off); \
63 memcpy(&(_x), buf + off, sizeof (_x)); \
64 off += sizeof (_x); \
/xen-4.10.0-shim-comet/tools/libs/call/
A Dbuffer.c25 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen-4.10.0-shim-comet/tools/libs/foreignmemory/
A Dlinux.c31 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxlu_pci.c8 #define XLU__PCI_ERR(_c, _x, _a...) \ argument
9 if((_c) && (_c)->report) fprintf((_c)->report, _x, ##_a)
A Dlibxl_internal.h141 const typeof (X) _x = (X); \
143 (void) (&_x == &_y); \
144 (_x < _y) ? _x : _y; })
146 const typeof (X) _x = (X); \
148 (void) (&_x == &_y); \
149 (_x > _y) ? _x : _y; })
152 ({ const type _x = (x); const type _y = (y); _x < _y ? _x: _y; })
154 ({ const type _x = (x); const type _y = (y); _x > _y ? _x: _y; })
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dguest_access.h51 type *_x = (hnd).p; \
52 (XEN_GUEST_HANDLE_PARAM(type)) { _x }; \
/xen-4.10.0-shim-comet/tools/xentrace/
A Dxentrace.c102 #define MEMBUF_PROD_SET(_x) \ argument
104 if ( (_x) < membuf.prod ) { \
106 __func__, membuf.prod, (unsigned long)(_x)); \
109 membuf.prod = (_x); \
110 if ( (_x) > MEMBUF_INDEX_RESET_THRESHOLD ) \
/xen-4.10.0-shim-comet/xen/common/
A Dtrace.c79 #define fit_to_type(_type, _x) (((_x)+sizeof(_type)-1) / sizeof(_type)) argument
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dprivate.h100 #define TRACE_SHADOW_PATH_FLAG(_x) \ argument
102 this_cpu(trace_shadow_path_flags) |= (1<<(_x)); \
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dp2m-pod.c38 #define superpage_aligned(_x) (((_x)&(SUPERPAGE_PAGES-1))==0) argument
/xen-4.10.0-shim-comet/tools/console/daemon/
A Dio.c82 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument

Completed in 42 milliseconds

12