Home
last modified time | relevance | path

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

12

/xen/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/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/tools/include/xen-tools/
A Dlibs.h27 const typeof(x) _x = (x); \
29 (void) (&_x == &_y); \
30 (_x < _y) ? _x : _y; \
37 const typeof(x) _x = (x); \
39 (void)(&_x == &_y); \
40 (_x > _y) ? _x : _y; \
47 const type _x = (x); \
49 (_x < _y) ? _x: _y; \
56 const type _x = (x); \
58 (_x > _y) ? _x: _y; \
/xen/xen/include/xen/
A Dbitops.h231 #define __L2(_x) (((_x) & 0x00000002) ? 1 : 0) argument
232 #define __L4(_x) (((_x) & 0x0000000c) ? ( 2 + __L2( (_x)>> 2)) : __L2( _x)) argument
233 #define __L8(_x) (((_x) & 0x000000f0) ? ( 4 + __L4( (_x)>> 4)) : __L4( _x)) argument
234 #define __L16(_x) (((_x) & 0x0000ff00) ? ( 8 + __L8( (_x)>> 8)) : __L8( _x)) argument
235 #define ilog2(_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.h62 #define ABS(_x) ({ \ argument
63 typeof(_x) __x = (_x); \
108 #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/xen/arch/x86/boot/
A Ddefs.h35 const typeof(x) _x = (x); \
37 (void) (&_x == &_y); \
38 _x < _y ? _x : _y; })
41 const typeof(x) _x = (x); \
43 (void) (&_x == &_y); \
44 _x > _y ? _x : _y; })
/xen/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/tools/tests/vhpet/
A Demul.h262 #define HVM_SAVE_CODE(_x) HVM_SAVE_CODE_##_x argument
263 #define HVM_SAVE_LENGTH(_x) HVM_SAVE_LENGTH_##_x argument
316 #define HVM_REGISTER_SAVE_RESTORE(_x, _save, _load, _num, _k) \ argument
317 int __init __hvm_register_##_x##_save_and_restore(void) \
319 hvm_register_savevm(HVM_SAVE_CODE(_x), \
320 #_x, \
323 (_num) * (HVM_SAVE_LENGTH(_x) \
/xen/xen/include/asm-arm/
A Dguest_access.h39 type *_x = (hnd).p; \
40 (XEN_GUEST_HANDLE_PARAM(type)) { _x }; \
45 typeof((hnd).p) _x = (hnd).p; \
46 XEN_GUEST_HANDLE_PARAM(type) _y = { _x }; \
50 (void)(&_x == &_y.p); \
/xen/xen/arch/arm/vgic/
A Dvgic.h29 #define IS_VGIC_ADDR_UNDEF(_x) ((_x) == VGIC_ADDR_UNDEF) argument
/xen/tools/libs/gnttab/
A Dprivate.h9 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen/tools/libxc/
A Dxg_private.h98 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen/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/tools/libs/call/
A Dbuffer.c25 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen/xen/include/asm-x86/
A Dguest_access.h51 type *_x = (hnd).p; \
52 (XEN_GUEST_HANDLE_PARAM(type)) { _x }; \
/xen/tools/libxl/
A Dlibxlu_pci.c8 #define XLU__PCI_ERR(_c, _x, _a...) \ argument
9 if((_c) && (_c)->report) fprintf((_c)->report, _x, ##_a)
/xen/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/tools/libs/foreignmemory/
A Dlinux.c31 #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) argument
/xen/xen/common/
A Dtrace.c80 #define fit_to_type(_type, _x) (((_x)+sizeof(_type)-1) / sizeof(_type)) argument
/xen/xen/arch/x86/mm/shadow/
A Dprivate.h102 #define TRACE_SHADOW_PATH_FLAG(_x) \ argument
104 this_cpu(trace_shadow_path_flags) |= (1<<(_x)); \
/xen/tools/ocaml/xenstored/
A Dconnections.ml150 let fire_rec _x = function
/xen/xen/arch/x86/mm/
A Dp2m-pod.c32 #define superpage_aligned(_x) (((_x)&(SUPERPAGE_PAGES-1))==0) argument

Completed in 34 milliseconds

12