/xen/tools/xentrace/ |
A D | formats | 1 …(tsc)d (+%(reltsc)8d) unknown (0x%(event)016x) [ 0x%(1)08x 0x%(2)08x 0x%(3)08x 0x%(4)08x 0x%(5)0… 76 …c)8d) rtds:runq_pick [ dom:vcpu = 0x%(1)08x, cur_deadline = 0x%(3)08x%(2)08x, cur_budget = 0x… 78 …c)8d) rtds:repl_budget [ dom:vcpu = 0x%(1)08x, cur_deadline = 0x%(3)08x%(2)08x, cur_budget = 0x… 115 … (+%(reltsc)8d) CPUID [ func = 0x%(1)08x, eax = 0x%(2)08x, ebx = 0x%(3)08x, ecx=0x%(4)08x, … 133 …)d (+%(reltsc)8d) NPF [ gpa = 0x%(2)08x%(1)08x mfn = 0x%(4)08x%(3)08x qual = 0x%(5)04x p2… 145 …d %(tsc)d (+%(reltsc)8d) page_fault [ rip = 0x%(2)08x%(1)08x, addr = 0x%(4)08x%(3)08x, error = 0… 159 …%(reltsc)8d) ptwr_emulation [ addr = 0x%(4)08x%(3)08x, rip = 0x%(6)08x%(5)08x, npte = 0x%(2)… 161 …%(reltsc)8d) ptwr_emulation_pae [ addr = 0x%(4)08x%(3)08x, rip = 0x%(6)08x%(5)08x, npte = 0x%(2)… 166 …d) shadow_not_shadow [ gl1e = 0x%(2)08x%(1)08x, va = 0x%(4)08x%(3)08x, flags = 0x… 176 …d) shadow_fixup [ gl1e = 0x%(2)08x%(1)08x, va = 0x%(4)08x%(3)08x, flags = 0x… [all …]
|
/xen/tools/tests/x86_emulator/ |
A D | simd.c | 88 # define eq(x, y) to_bool((x) == (y)) argument 120 # define to_uint(x) to_u_int(int, x) argument 146 # define to_wint(x) to_w_int(x, ) argument 147 # define to_uwint(x) to_w_int(x, u) argument 185 # define low_half(x) (x) argument 257 # define low_half(x) _half(x, 0) argument 258 # define high_half(x) _half(x, 1) argument 316 # define swap(x) B(shufps, _mask, x, x, 0b00011011, undef(), ~0) argument 387 # define swap(x) B(shufpd, _mask, x, x, 0b01, undef(), ~0) argument 440 # define swap(x) __builtin_ia32_shufps(x, x, 0b00011011) argument [all …]
|
A D | simd-clmul.c | 10 ((vec_t)B(palignr, _mask, (vdi_t)(x), (vdi_t)(x), 64, (vdi_t){}, \ 18 # define eq(x, y) to_bool((x) == (y)) argument 25 # define clmul(x, y, c) CLMUL(pclmulqdq128, x, y, c) argument 28 # define clmul(x, y, c) CLMUL(vpclmulqdq_v4di, x, y, c) argument 31 # define clmul(x, y, c) CLMUL(vpclmulqdq_v8di, x, y, c) argument 35 #define clmul_ll(x, y) clmul(x, y, 0x00) argument 36 #define clmul_hl(x, y) clmul(x, y, 0x01) argument 37 #define clmul_lh(x, y) clmul(x, y, 0x10) argument 38 #define clmul_hh(x, y) clmul(x, y, 0x11) argument 48 vec_t t_ = (x), h_ = lane_shr_unit(x); \ [all …]
|
A D | simd-sha.c | 36 # define eq(x, y) to_bool((x) == (y)) argument 77 #define rol_c(x, n) rot_c(l, r, x, n) argument 78 #define rol_s(x, n) rot_s(l, r, x, n) argument 79 #define rol_v(x, n...) rot_v(l, x, n) argument 80 #define ror_c(x, n) rot_c(r, l, x, n) argument 81 #define ror_s(x, n) rot_s(r, l, x, n) argument 84 #define shl_s(x, n) shift_s(l, x, n) argument 86 #define shr_s(x, n) shift_s(r, x, n) argument 88 #define swap(x) shuf(x, 0b00011011) argument 89 #define vshl(x, n) vshift(l, x, n) argument [all …]
|
A D | simd-aes.c | 8 # define imc(x) ((vec_t)__builtin_ia32_aesimc128((vdi_t)(x))) argument 11 # define imc(x) ({ \ argument 18 : "m" (x), "r" (&(x)) ); \ 23 # define imc(x) ({ \ argument 34 : "m" (x), "r" (&(x)) ); \ 42 # define aes(op, x, y) ((vec_t)AES(op, (vqi_t)(x), (vqi_t)(y))) argument 46 # define aes(op, x, y) ((vec_t)AES(op, (vqi_t)(x), (vqi_t)(y))) argument 51 # define eq(x, y) to_bool((x) == (y)) argument 63 vec_t x, y; in aes_test() local 66 x = imc(src); in aes_test() [all …]
|
A D | simd-fma.c | 23 # define eq(x, y) to_bool((x) == (y)) argument 28 # define fmaddsub(x, y, z) BR(vfmaddsubps, _mask, x, y, z, ~0) argument 30 # define fmaddsub(x, y, z) BR(vfmaddsubpd, _mask, x, y, z, ~0) argument 34 # define addsub(x, y) __builtin_ia32_addsubps(x, y) argument 36 # define fmaddsub(x, y, z) __builtin_ia32_vfmaddsubps(x, y, z) argument 39 # define addsub(x, y) __builtin_ia32_addsubpd(x, y) argument 41 # define fmaddsub(x, y, z) __builtin_ia32_vfmaddsubpd(x, y, z) argument 46 # define addsub(x, y) __builtin_ia32_addsubps256(x, y) argument 48 # define fmaddsub(x, y, z) __builtin_ia32_vfmaddsubps256(x, y, z) argument 51 # define addsub(x, y) __builtin_ia32_addsubpd256(x, y) argument [all …]
|
A D | opmask.S | 2 # define R(x) e##x argument 3 # define DATA(x) x argument 6 # define R(x) r##x argument 8 # define R(x) e##x argument 10 # define DATA(x) x(%rip) argument 14 # define _(x) x##b argument 17 # define _(x) x##w argument 19 # define WIDEN(x) x##bw argument 21 # define _(x) x##d argument 23 # define WIDEN(x) x##wd argument [all …]
|
/xen/xen/include/xen/byteorder/ |
A D | swab.h | 83 # define __arch__swab16p(x) __arch__swab16(*(x)) argument 86 # define __arch__swab32p(x) __arch__swab32(*(x)) argument 89 # define __arch__swab64p(x) __arch__swab64(*(x)) argument 93 # define __arch__swab16s(x) do { *(x) = __arch__swab16p((x)); } while (0) argument 96 # define __arch__swab32s(x) do { *(x) = __arch__swab32p((x)); } while (0) argument 99 # define __arch__swab64s(x) do { *(x) = __arch__swab64p((x)); } while (0) argument 110 __fswab16((x))) 114 __fswab32((x))) 120 # define __swab16(x) __fswab16(x) argument 121 # define __swab32(x) __fswab32(x) argument [all …]
|
A D | big_endian.h | 32 #define __cpu_to_be64(x) ((__force __be64)(__u64)(x)) argument 33 #define __be64_to_cpu(x) ((__force __u64)(__be64)(x)) argument 34 #define __cpu_to_be32(x) ((__force __be32)(__u32)(x)) argument 35 #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) argument 36 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) argument 87 #define __cpu_to_le64s(x) __swab64s((x)) argument 88 #define __le64_to_cpus(x) __swab64s((x)) argument 89 #define __cpu_to_le32s(x) __swab32s((x)) argument 90 #define __le32_to_cpus(x) __swab32s((x)) argument 91 #define __cpu_to_le16s(x) __swab16s((x)) argument [all …]
|
A D | little_endian.h | 26 #define __cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument 27 #define __le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument 28 #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument 29 #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument 30 #define __cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument 93 #define __cpu_to_be64s(x) __swab64s((x)) argument 94 #define __be64_to_cpus(x) __swab64s((x)) argument 95 #define __cpu_to_be32s(x) __swab32s((x)) argument 96 #define __be32_to_cpus(x) __swab32s((x)) argument 97 #define __cpu_to_be16s(x) __swab16s((x)) argument [all …]
|
/xen/tools/libxl/ |
A D | libxl_osdeps.h | 91 # define htole16(x) (x) argument 93 # define le16toh(x) (x) argument 96 # define htole32(x) (x) argument 98 # define le32toh(x) (x) argument 101 # define htole64(x) (x) argument 103 # define le64toh(x) (x) argument 105 # define htobe16(x) (x) argument 107 # define be16toh(x) (x) argument 110 # define htobe32(x) (x) argument 112 # define be32toh(x) (x) argument [all …]
|
/xen/tools/golang/xenlight/ |
A D | helpers.gen.go | 35 x IoportRange 44 return &x, nil} 66 x IomemRange 128 x VncInfo 175 x SpiceInfo 250 x SdlInfo 295 x Dominfo 499 x Vminfo 2616 x VsndPcm 3115 x Nicinfo [all …]
|
/xen/xen/include/xen/ |
A D | perfc.h | 57 #define perfc_value(x) this_cpu(perfcounters)[PERFC_ ## x] argument 59 ( (y) <= PERFC_LAST_ ## x - PERFC_ ## x ? \ 61 #define perfc_set(x,v) (this_cpu(perfcounters)[PERFC_ ## x] = (v)) argument 63 ( (y) <= PERFC_LAST_ ## x - PERFC_ ## x ? \ 65 #define perfc_incr(x) (++this_cpu(perfcounters)[PERFC_ ## x]) argument 66 #define perfc_decr(x) (--this_cpu(perfcounters)[PERFC_ ## x]) argument 68 ( (y) <= PERFC_LAST_ ## x - PERFC_ ## x ? \ 70 #define perfc_add(x,v) (this_cpu(perfcounters)[PERFC_ ## x] += (v)) argument 72 ( (y) <= PERFC_LAST_ ## x - PERFC_ ## x ? \ 87 (PERFC_LAST_ ## x - PERFC_ ## x - 2) ) \ [all …]
|
A D | bitops.h | 26 if (!x) in generic_ffs() 29 x >>= 16; in generic_ffs() 33 x >>= 8; in generic_ffs() 37 x >>= 4; in generic_ffs() 41 x >>= 2; in generic_ffs() 45 x >>= 1; in generic_ffs() 59 if (!x) in generic_fls() 66 x <<= 8; in generic_fls() 70 x <<= 4; in generic_fls() 88 return !x || (u32)x ? generic_ffs(x) : generic_ffs(x >> 32) + 32; in generic_ffsl() [all …]
|
/xen/xen/common/ |
A D | rangeset.c | 130 if ( (x == NULL) || ((x->e < s) && ((x->e + 1) != s)) ) in rangeset_add_range() 156 x = next_range(r, x); in rangeset_add_range() 231 x = next_range(r, x); in rangeset_remove_range() 237 x = next_range(r, x); in rangeset_remove_range() 242 if ( x->s > x->e ) in rangeset_remove_range() 264 contains = (x && (x->e >= e)); in rangeset_contains_range() 283 overlaps = (x && (s <= x->e)); in rangeset_overlaps_range() 298 for ( x = first_range(r); x && (x->s <= e) && !rc; x = next_range(r, x) ) in rangeset_report_ranges() 376 if ( x->s > x->e ) in rangeset_consume_ranges() 553 for ( x = first_range(r); x != NULL; x = next_range(r, x) ) in rangeset_printk() [all …]
|
/xen/stubdom/grub/ |
A D | osdep.h | 5 #define swap32(x) bswap_32(x) argument 6 #define swap16(x) bswap_16(x) argument 10 #define htons(x) (x) argument 11 #define ntohs(x) (x) argument 12 #define htonl(x) (x) argument 13 #define ntohl(x) (x) argument 15 #define htons(x) swap16(x) argument 16 #define ntohs(x) swap16(x) argument 17 #define htonl(x) swap32(x) argument 18 #define ntohl(x) swap32(x) argument [all …]
|
/xen/xen/common/libelf/ |
A D | libelf-private.h | 34 #define bswap_16(x) swab16(x) argument 35 #define bswap_32(x) swab32(x) argument 36 #define bswap_64(x) swab64(x) argument 49 #define bswap_16(x) BSWAP_16(x) argument 54 #define bswap_16(x) bswap16(x) argument 55 #define bswap_32(x) bswap32(x) argument 56 #define bswap_64(x) bswap64(x) argument 59 #define bswap_16(x) swap16(x) argument 60 #define bswap_32(x) swap32(x) argument 61 #define bswap_64(x) swap64(x) argument [all …]
|
/xen/tools/firmware/hvmloader/ |
A D | apic_regs.h | 8 #define GET_APIC_ID(x) (((x)>>24)&0xFFu) argument 9 #define SET_APIC_ID(x) (((x)<<24)) argument 12 #define GET_APIC_VERSION(x) ((x)&0xFF) argument 13 #define GET_APIC_MAXLVT(x) (((x)>>16)&0xFF) argument 14 #define APIC_INTEGRATED(x) ((x)&0xF0) argument 15 #define APIC_XAPIC(x) ((x) >= 0x14) argument 26 #define GET_APIC_LOGICAL_ID(x) (((x)>>24)&0xFF) argument 27 #define SET_APIC_LOGICAL_ID(x) (((x)<<24)) argument 70 #define SET_APIC_DEST_FIELD(x) ((x)<<24) argument 76 #define GET_APIC_TIMER_BASE(x) (((x)>>18)&0x3) argument [all …]
|
/xen/xen/include/asm-x86/ |
A D | page.h | 60 #define l1e_get_intpte(x) ((x).l1) argument 61 #define l2e_get_intpte(x) ((x).l2) argument 62 #define l3e_get_intpte(x) ((x).l3) argument 63 #define l4e_get_intpte(x) ((x).l4) argument 76 #define l1e_get_mfn(x) _mfn(l1e_get_pfn(x)) argument 77 #define l2e_get_mfn(x) _mfn(l2e_get_pfn(x)) argument 78 #define l3e_get_mfn(x) _mfn(l3e_get_pfn(x)) argument 79 #define l4e_get_mfn(x) _mfn(l4e_get_pfn(x)) argument 239 #define pagetable_get_pfn(x) ((x).pfn) argument 241 #define pagetable_is_null(x) ((x).pfn == 0) argument [all …]
|
A D | apicdef.h | 15 #define GET_xAPIC_ID(x) (((x)>>24)&0xFFu) argument 16 #define SET_xAPIC_ID(x) (((x)<<24)) argument 20 #define GET_APIC_VERSION(x) ((x)&0xFF) argument 21 #define GET_APIC_MAXLVT(x) (((x)>>16)&0xFF) argument 22 #define APIC_XAPIC(x) ((x) >= 0x14) argument 33 #define GET_xAPIC_LOGICAL_ID(x) (((x)>>24)&0xFF) argument 34 #define SET_xAPIC_LOGICAL_ID(x) (((x)<<24)) argument 81 #define GET_xAPIC_DEST_FIELD(x) (((x)>>24)&0xFF) argument 82 #define SET_xAPIC_DEST_FIELD(x) ((x)<<24) argument 99 #define GET_APIC_DELIVERY_MODE(x) (((x)>>8)&0x7) argument [all …]
|
A D | io.h | 8 #define readb(x) (*(volatile uint8_t *)(x)) argument 9 #define readw(x) (*(volatile uint16_t *)(x)) argument 10 #define readl(x) (*(volatile uint32_t *)(x)) argument 11 #define readq(x) (*(volatile uint64_t *)(x)) argument 12 #define writeb(d,x) (*(volatile uint8_t *)(x) = (d)) argument 13 #define writew(d,x) (*(volatile uint16_t *)(x) = (d)) argument 14 #define writel(d,x) (*(volatile uint32_t *)(x) = (d)) argument 15 #define writeq(d,x) (*(volatile uint64_t *)(x) = (d)) argument 17 #define __OUT1(s,x) \ argument 23 #define __OUT(s,s1,x) \ argument [all …]
|
/xen/tools/libfsimage/zfs/zfs-include/ |
A D | spa.h | 29 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument 30 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument 31 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument 32 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument 34 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument 35 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument 38 ((x) ^= BF32_ENCODE((x >> low) ^ (val), low, len)) 40 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len)) 207 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument 210 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) argument [all …]
|
/xen/tools/include/xen-tools/ |
A D | libs.h | 17 #define MAX(x, y) ((x) > (y) ? (x) : (y)) argument 21 #define MIN(x, y) ((x) < (y) ? (x) : (y)) argument 25 #define min(x, y) \ argument 27 const typeof(x) _x = (x); \ 35 #define max(x, y) \ argument 37 const typeof(x) _x = (x); \ 45 #define min_t(type, x, y) \ argument 47 const type _x = (x); \ 54 #define max_t(type, x, y) \ argument 56 const type _x = (x); \
|
/xen/tools/libfsimage/zfs/ |
A D | zfs_sha256.c | 43 #define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 44 #define Maj(x, y, z) (((x) & (y)) ^ ((z) & ((x) ^ (y)))) argument 45 #define Rot32(x, s) (((x) >> s) | ((x) << (32 - s))) argument 46 #define SIGMA0(x) (Rot32(x, 2) ^ Rot32(x, 13) ^ Rot32(x, 22)) argument 47 #define SIGMA1(x) (Rot32(x, 6) ^ Rot32(x, 11) ^ Rot32(x, 25)) argument 48 #define sigma0(x) (Rot32(x, 7) ^ Rot32(x, 18) ^ ((x) >> 3)) argument 49 #define sigma1(x) (Rot32(x, 17) ^ Rot32(x, 19) ^ ((x) >> 10)) argument
|
/xen/xen/include/xen/libfdt/ |
A D | libfdt_env.h | 12 #define fdt16_to_cpu(x) be16_to_cpu(x) argument 13 #define cpu_to_fdt16(x) cpu_to_be16(x) argument 14 #define fdt32_to_cpu(x) be32_to_cpu(x) argument 15 #define cpu_to_fdt32(x) cpu_to_be32(x) argument 16 #define fdt64_to_cpu(x) be64_to_cpu(x) argument 17 #define cpu_to_fdt64(x) cpu_to_be64(x) argument
|