/xen/xen/include/asm-arm/ |
A D | guest_access.h | 68 char (*_d)[sizeof(*_s)] = (void *)(hnd).p; \ 72 raw_copy_to_guest(_d+(off), _s, sizeof(*_s)*(nr)); \ 80 void *_d = (hnd).p; \ 81 raw_clear_guest(_d+(off), nr); \ 90 typeof(*(ptr)) *_d = (ptr); \ 91 raw_copy_from_guest(_d, _s+(off), sizeof(*_d)*(nr));\ 97 void *_d = &(hnd).p->field; \ 106 raw_copy_from_guest(_d, _s, sizeof(*_d)); \ 127 __raw_clear_guest(_d+(off), nr); \ 133 __raw_copy_from_guest(_d, _s+(off), sizeof(*_d)*(nr));\ [all …]
|
A D | mm.h | 162 #define page_set_owner(_p,_d) ((_p)->v.inuse.domain = (_d)) argument 331 #define mfn_to_gmfn(_d, mfn) (mfn) argument
|
/xen/xen/include/asm-x86/ |
A D | guest_access.h | 79 char (*_d)[sizeof(*_s)] = (void *)(hnd).p; \ 83 raw_copy_to_guest(_d+(off), _s, sizeof(*_s)*(nr)); \ 92 typeof(*(ptr)) *_d = (ptr); \ 93 raw_copy_from_guest(_d, _s+(off), sizeof(*_d)*(nr));\ 97 void *_d = (hnd).p; \ 98 raw_clear_guest(_d+(off), nr); \ 113 raw_copy_from_guest(_d, _s, sizeof(*_d)); \ 141 __raw_copy_from_guest(_d, _s+(off), sizeof(*_d)*(nr));\ 145 void *_d = (hnd).p; \ 146 __raw_clear_guest(_d+(off), nr); \ [all …]
|
A D | shadow.h | 38 #define shadow_mode_enabled(_d) paging_mode_shadow(_d) argument 39 #define shadow_mode_refcounts(_d) (paging_mode_shadow(_d) && \ argument 40 paging_mode_refcounts(_d)) 41 #define shadow_mode_log_dirty(_d) (paging_mode_shadow(_d) && \ argument 42 paging_mode_log_dirty(_d)) 43 #define shadow_mode_translate(_d) (paging_mode_shadow(_d) && \ argument 44 paging_mode_translate(_d)) 45 #define shadow_mode_external(_d) (paging_mode_shadow(_d) && \ argument 46 paging_mode_external(_d))
|
A D | paging.h | 76 #define paging_mode_enabled(_d) (!!(_d)->arch.paging.mode) argument 77 #define paging_mode_shadow(_d) (!!((_d)->arch.paging.mode & PG_SH_enable)) argument 78 #define paging_mode_sh_forced(_d) (!!((_d)->arch.paging.mode & PG_SH_forced)) argument 79 #define paging_mode_hap(_d) (!!((_d)->arch.paging.mode & PG_HAP_enable)) argument 81 #define paging_mode_refcounts(_d) (!!((_d)->arch.paging.mode & PG_refcounts)) argument 82 #define paging_mode_log_dirty(_d) (!!((_d)->arch.paging.mode & PG_log_dirty)) argument 83 #define paging_mode_translate(_d) (!!((_d)->arch.paging.mode & PG_translate)) argument 84 #define paging_mode_external(_d) (!!((_d)->arch.paging.mode & PG_external)) argument
|
A D | mm.h | 320 #define page_set_owner(_p,_d) \ argument 321 ((_p)->v.inuse._domain = (_d) ? virt_to_pdx(_d) : 0) 449 #define ASSERT_PAGE_IS_DOMAIN(_p, _d) \ argument 451 ASSERT(page_get_owner(_p) == (_d)) 521 #define mfn_to_gmfn(_d, mfn) \ argument 522 ( (paging_mode_translate(_d)) \ 568 #define audit_domain(_d) _audit_domain((_d), AUDIT_ERRORS_OK) argument 573 #define _audit_domain(_d, _f) ((void)0) argument 574 #define audit_domain(_d) ((void)0) argument
|
/xen/xen/include/xen/ |
A D | compat.h | 51 char (*_d)[sizeof(*_s)] = (void *)(full_ptr_t)(hnd).c; \ 53 raw_copy_to_guest(_d + (off), _s, sizeof(*_s) * (nr)); \ 62 typeof(*(ptr)) *_d = (ptr); \ 63 raw_copy_from_guest(_d, _s + (off), sizeof(*_d) * (nr)); \ 75 void *_d = &((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c)->field; \ 78 raw_copy_to_guest(_d, _s, sizeof(*_s)); \ 85 typeof(&(ptr)->field) _d = &(ptr)->field; \ 86 raw_copy_from_guest(_d, _s, sizeof(*_d)); \ 100 char (*_d)[sizeof(*_s)] = (void *)(full_ptr_t)(hnd).c; \ 108 __raw_copy_from_guest(_d, _s + (off), sizeof(*_d) * (nr)); \ [all …]
|
A D | sched.h | 564 #define put_domain(_d) \ argument 565 if ( atomic_dec_and_test(&(_d)->refcnt) ) domain_destroy(_d) 799 #define for_each_domain(_d) \ argument 800 for ( (_d) = rcu_dereference(domain_list); \ 801 (_d) != NULL; \ 802 (_d) = rcu_dereference((_d)->next_in_list )) \ 804 #define for_each_domain_in_cpupool(_d,_c) \ argument 805 for ( (_d) = first_domain_in_cpupool(_c); \ 806 (_d) != NULL; \ 807 (_d) = next_domain_in_cpupool((_d), (_c))) [all …]
|
A D | trace.h | 91 uint32_t _d[] = { __VA_ARGS__ }; \ 92 __trace_var(_e, true, sizeof(_d), _d); \
|
/xen/xen/include/asm-x86/hvm/ |
A D | trace.h | 76 } _d; \ 77 _d.d[0]=(d1); \ 78 _d.d[1]=(d2); \ 79 _d.d[2]=(d3); \ 80 _d.d[3]=(d4); \ 81 _d.d[4]=(d5); \ 82 _d.d[5]=(d6); \ 84 sizeof(*_d.d) * count, &_d); \
|
/xen/tools/libxc/ |
A D | xg_save_restore.h | 135 #define MEMCPY_FIELD(_d, _s, _f, _w) do { \ argument 137 memcpy(&(_d)->x64._f, &(_s)->x64._f,sizeof((_d)->x64._f)); \ 139 memcpy(&(_d)->x32._f, &(_s)->x32._f,sizeof((_d)->x32._f)); \
|
/xen/xen/include/asm-x86/x86_64/ |
A D | page.h | 108 #define is_guest_l2_slot(_d, _t, _s) \ argument 109 ( !is_pv_32bit_domain(_d) || \ 111 ((_s) < COMPAT_L2_PAGETABLE_FIRST_XEN_SLOT(_d)) ) 112 #define is_guest_l4_slot(_d, _s) \ argument 113 ( is_pv_32bit_domain(_d) \
|
/xen/xen/xsm/flask/include/ |
A D | avc.h | 62 #define AVC_AUDIT_DATA_INIT(_d,_t) \ argument 63 { memset((_d), 0, sizeof(struct avc_audit_data)); \ 64 (_d)->type = AVC_AUDIT_DATA_##_t; }
|
/xen/tools/libxl/ |
A D | libxl_internal.h | 151 #define LIBXL__LOGD(ctx, loglevel, _d, _f, _a...) libxl__log(ctx, loglevel, -1, __FILE__, __LINE_… argument 152 …e LIBXL__LOGD_ERRNO(ctx, loglevel, _d, _f, _a...) libxl__log(ctx, loglevel, errno, __FILE__, __L… argument 153 …ERRNOVAL(ctx, loglevel, errnoval, _d, _f, _a...) libxl__log(ctx, loglevel, errnoval, __FILE__, _… argument 159 #define LIBXLD__LOG(ctx, loglevel, _d, _f, _a...) argument 160 #define LIBXLD__LOG_ERRNO(ctx, loglevel, _d, _f, _a...) argument 161 #define LIBXLD__LOG_ERRNOVAL(ctx, loglevel, errnoval, _d, _f, _a...) argument
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1705 } _d; in svm_do_nested_pgfault() local 1710 _d.gpa = gpa; in svm_do_nested_pgfault() 1711 _d.qualification = 0; in svm_do_nested_pgfault() 1712 _d.mfn = mfn_x(mfn); in svm_do_nested_pgfault() 1713 _d.p2mt = p2mt; in svm_do_nested_pgfault() 1715 __trace_var(TRC_HVM_NPF, 0, sizeof(_d), &_d); in svm_do_nested_pgfault()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmx.c | 3404 } _d; in ept_handle_violation() local 3406 _d.gpa = gpa; in ept_handle_violation() 3407 _d.qualification = q.raw; in ept_handle_violation() 3408 _d.mfn = mfn_x(get_gfn_query_unlocked(d, gfn, &_d.p2mt)); in ept_handle_violation() 3410 __trace_var(TRC_HVM_NPF, 0, sizeof(_d), &_d); in ept_handle_violation()
|
/xen/tools/xentrace/ |
A D | xenalyze.c | 2953 #define hvm_set_summary_handler(_h, _s, _d) \ argument 2958 if ((ret=__hvm_set_summary_handler(_h, _s, _d))) \
|