Lines Matching refs:_x
65 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument
66 static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \
68 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}; \
69 struct __HVM_SAVE_TYPE_COMPAT_##_x { _ctype t; }
72 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument
73 static inline int __HVM_SAVE_FIX_COMPAT_##_x(void *h, uint32_t size) \
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];}
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
94 # define HVM_SAVE_FIX_COMPAT(_x, _dst, _size) __HVM_SAVE_FIX_COMPAT_##_x(_dst, _size) argument