/qemu/migration/ |
H A D | multifd-zstd.c | 73 z->zbuff = g_try_malloc(z->zbuff_len); in zstd_send_setup() 125 z->out.dst = z->zbuff; in zstd_send_prepare() 126 z->out.size = z->zbuff_len; in zstd_send_prepare() 148 ret = ZSTD_compressStream2(z->zcs, &z->out, &z->in, flush); in zstd_send_prepare() 149 } while (ret > 0 && (z->in.size - z->in.pos > 0) in zstd_send_prepare() 150 && (z->out.size - z->out.pos > 0)); in zstd_send_prepare() 151 if (ret > 0 && (z->in.size - z->in.pos > 0)) { in zstd_send_prepare() 207 z->zbuff = g_try_malloc(z->zbuff_len); in zstd_recv_setup() 276 z->in.src = z->zbuff; in zstd_recv() 295 ret = ZSTD_decompressStream(z->zds, &z->out, &z->in); in zstd_recv() [all …]
|
H A D | multifd-zlib.c | 62 z->zbuff = g_try_malloc(z->zbuff_len); in zlib_send_setup() 63 if (!z->zbuff) { in zlib_send_setup() 68 if (!z->buf) { in zlib_send_setup() 76 g_free(z->zbuff); in zlib_send_setup() 80 g_free(z); in zlib_send_setup() 98 g_free(z->zbuff); in zlib_send_cleanup() 99 z->zbuff = NULL; in zlib_send_cleanup() 100 g_free(z->buf); in zlib_send_cleanup() 101 z->buf = NULL; in zlib_send_cleanup() 211 z->zbuff = g_try_malloc(z->zbuff_len); in zlib_recv_setup() [all …]
|
/qemu/hw/arm/ |
H A D | z2.c | 117 trace_z2_lcd_reg_update(z->cur_reg, z->buf[0], z->buf[1], z->buf[2], value); in OBJECT_DECLARE_SIMPLE_TYPE() 118 if (z->selected) { in OBJECT_DECLARE_SIMPLE_TYPE() 119 z->buf[z->pos] = value & 0xff; in OBJECT_DECLARE_SIMPLE_TYPE() 120 z->pos++; in OBJECT_DECLARE_SIMPLE_TYPE() 122 if (z->pos == 3) { in OBJECT_DECLARE_SIMPLE_TYPE() 125 z->cur_reg = z->buf[2]; in OBJECT_DECLARE_SIMPLE_TYPE() 128 val = z->buf[1] << 8 | z->buf[2]; in OBJECT_DECLARE_SIMPLE_TYPE() 140 z->pos = 0; in OBJECT_DECLARE_SIMPLE_TYPE() 154 z->selected = 0; in zipit_lcd_realize() 155 z->enabled = 0; in zipit_lcd_realize() [all …]
|
/qemu/tests/tcg/i386/ |
H A D | x86.csv | 3011 "VMOVAPD zmm2/m512, {k}{z}, zmm1","VMOVAPD zmm1, {k}{z}, zmm2/m512","vmovapd zmm1, {k}{z}, zmm2/m51… 3012 "VMOVAPD zmm1, {k}{z}, zmm2/m512","VMOVAPD zmm2/m512, {k}{z}, zmm1","vmovapd zmm2/m512, {k}{z}, zmm… 3021 "VMOVAPS zmm2/m512, {k}{z}, zmm1","VMOVAPS zmm1, {k}{z}, zmm2/m512","vmovaps zmm1, {k}{z}, zmm2/m51… 3022 "VMOVAPS zmm1, {k}{z}, zmm2/m512","VMOVAPS zmm2/m512, {k}{z}, zmm1","vmovaps zmm2/m512, {k}{z}, zmm… 3129 "VMOVSD xmm1, {k}{z}, m64","VMOVSD m64, {k}{z}, xmm1","vmovsd m64, {k}{z}, xmm1","EVEX.LIG.F2.0F.W1… 3147 "VMOVSS xmm1, {k}{z}, m32","VMOVSS m32, {k}{z}, xmm1","vmovss m32, {k}{z}, xmm1","EVEX.LIG.F3.0F.W0… 3162 "VMOVUPD zmm2/m512, {k}{z}, zmm1","VMOVUPD zmm1, {k}{z}, zmm2/m512","vmovupd zmm1, {k}{z}, zmm2/m51… 3163 "VMOVUPD zmm1, {k}{z}, zmm2/m512","VMOVUPD zmm2/m512, {k}{z}, zmm1","vmovupd zmm2/m512, {k}{z}, zmm… 3172 "VMOVUPS zmm2/m512, {k}{z}, zmm1","VMOVUPS zmm1, {k}{z}, zmm2/m512","vmovups zmm1, {k}{z}, zmm2/m51… 3173 "VMOVUPS zmm1, {k}{z}, zmm2/m512","VMOVUPS zmm2/m512, {k}{z}, zmm1","vmovups zmm2/m512, {k}{z}, zmm… [all …]
|
/qemu/include/fpu/ |
H A D | softfloat-macros.h | 130 uint32_t z; in shift32RightJamming() local 133 z = a; in shift32RightJamming() 141 *zPtr = z; in shift32RightJamming() 156 uint64_t z; in shift64RightJamming() local 159 z = a; in shift64RightJamming() 167 *zPtr = z; in shift64RightJamming() 565 uint64_t z; in estimateDiv128To64() local 579 return z; in estimateDiv128To64() 609 z = ( ( a / z )<<14 ) + ( z<<15 ); in estimateSqrt32() 614 z = a / z + z; in estimateSqrt32() [all …]
|
/qemu/host/include/aarch64/host/crypto/ |
H A D | aes-round.h | 104 uint8x16_t z = { }; in aesenc_SB_SR_AK_accel() local 108 t = aes_accel_aese(t, z); in aesenc_SB_SR_AK_accel() 111 t = aes_accel_aese(t, z); in aesenc_SB_SR_AK_accel() 121 uint8x16_t z = { }; in aesenc_SB_SR_MC_AK_accel() local 153 uint8x16_t z = { }; in aesdec_ISB_ISR_AK_accel() local 157 t = aes_accel_aesd(t, z); in aesdec_ISB_ISR_AK_accel() 160 t = aes_accel_aesd(t, z); in aesdec_ISB_ISR_AK_accel() 171 uint8x16_t z = { }; in aesdec_ISB_ISR_AK_IMC_accel() local 176 t = aes_accel_aesd(t, z); in aesdec_ISB_ISR_AK_IMC_accel() 181 t = aes_accel_aesd(t, z); in aesdec_ISB_ISR_AK_IMC_accel() [all …]
|
/qemu/host/include/ppc/host/crypto/ |
H A D | aes-round.h | 99 AESStateVec t, z = { }; in aesenc_MC_accel() local 102 t = aes_accel_vncipherlast(t, z); in aesenc_MC_accel() 103 t = aes_accel_vcipher(t, z); in aesenc_MC_accel() 134 AESStateVec t, z = { }; in aesdec_IMC_accel() local 137 t = aes_accel_vcipherlast(t, z); in aesdec_IMC_accel() 138 t = aes_accel_vncipher(t, z); in aesdec_IMC_accel() 170 AESStateVec t, k, z = { }; in aesdec_ISB_ISR_IMC_AK_accel() local 174 t = aes_accel_vncipher(t, z); in aesdec_ISB_ISR_IMC_AK_accel()
|
/qemu/tests/tcg/cris/libc/ |
H A D | crisutils.h | 59 static always_inline void cris_tst_mov_cc(int n, int z) in cris_tst_mov_cc() argument 62 if (z) cris_tst_cc_z1(); else cris_tst_cc_z0(); in cris_tst_mov_cc() 66 static always_inline void cris_tst_cc(const int n, const int z, in cris_tst_cc() argument 70 if (z) cris_tst_cc_z1(); else cris_tst_cc_z0(); in cris_tst_cc()
|
H A D | check_addcm.c | 21 #define verify_addc_m(a, b, res, n, z, v, c) \ argument 25 cris_tst_cc((n), (z), (v), (c)); \ 30 #define verify_addc_pi_m(a, b, res, n, z, v, c) \ argument 34 cris_tst_cc((n), (z), (v), (c)); \
|
H A D | check_abs.c | 16 const int n, const int z, const int v, const int c) in verify_abs() argument 22 cris_tst_cc(n, z, v, c); in verify_abs()
|
H A D | check_addc.c | 13 #define verify_addc(a, b, res, n, z, v, c) \ argument 17 cris_tst_cc((n), (z), (v), (c)); \
|
H A D | check_swap.c | 36 #define verify_swap(mode, val, expected, n, z) \ argument 41 cris_tst_mov_cc(n, z); \
|
/qemu/target/s390x/tcg/ |
H A D | crypto_helper.c | 27 static uint64_t Ch(uint64_t x, uint64_t y, uint64_t z) in Ch() argument 29 return (x & y) ^ (~x & z); in Ch() 31 static uint64_t Maj(uint64_t x, uint64_t y, uint64_t z) in Maj() argument 33 return (x & y) ^ (x & z) ^ (y & z); in Maj() 85 uint64_t t, z[8], b[8]; in sha512_bda() local 88 memcpy(z, a, sizeof(z)); in sha512_bda() 107 a[i] += z[i]; in sha512_bda()
|
/qemu/tests/qemu-iotests/ |
H A D | 271.out | 25 write -q -z 2k 2k 27 write -q -z 0 64k 31 write -q -z -u 0 32k 33 write -q -z -u 0 64k 67 write -q -z 2k 2k 69 write -q -z 0 64k 73 write -q -z -u 0 32k 75 write -q -z -u 0 64k 98 write -q -z 156k 2k 113 write -q -z 0 192k [all …]
|
/qemu/host/include/i386/host/crypto/ |
H A D | aes-round.h | 31 __m128i z = _mm_setzero_si128(); in aesenc_MC_accel() local 35 t = _mm_aesdeclast_si128(t, z); in aesenc_MC_accel() 36 t = _mm_aesenc_si128(t, z); in aesenc_MC_accel() 39 t = _mm_aesdeclast_si128(t, z); in aesenc_MC_accel() 40 t = _mm_aesenc_si128(t, z); in aesenc_MC_accel()
|
/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 63 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 64 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 65 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument 66 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument 67 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
|
/qemu/tests/tcg/s390x/ |
H A D | trap.c | 76 uint64_t z = 0x0ull; in main() local 90 : [z] "m" (z), [lz] "m" (lz) in main()
|
/qemu/host/include/generic/host/ |
H A D | atomic128-ldst.h | 54 Int128 z = int128_make64(0); in atomic16_read_rw() local 55 return atomic16_cmpxchg(ptr, z, z); in atomic16_read_rw()
|
/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 506 #define ch(x, y, z) ((x & y) ^ ((~x) & z)) argument 508 #define maj(x, y, z) ((x & y) ^ (x & z) ^ (y & z)) argument 699 static inline uint32_t ff1(uint32_t x, uint32_t y, uint32_t z) in ff1() argument 701 return x ^ y ^ z; in ff1() 704 static inline uint32_t ff2(uint32_t x, uint32_t y, uint32_t z) in ff2() argument 706 return (x & y) | (x & z) | (y & z); in ff2() 711 return (j <= 15) ? ff1(x, y, z) : ff2(x, y, z); in ff_j() 714 static inline uint32_t gg1(uint32_t x, uint32_t y, uint32_t z) in gg1() argument 716 return x ^ y ^ z; in gg1() 721 return (x & y) | (~x & z); in gg2() [all …]
|
/qemu/tests/tcg/cris/bare/ |
H A D | check_ret.s | 10 jsr z 18 z: label
|
/qemu/tests/qemu-iotests/sample_images/ |
H A D | simple-pattern.cloop.bz2 |
|
/qemu/target/arm/tcg/ |
H A D | crypto_helper.c | 154 static uint32_t cho(uint32_t x, uint32_t y, uint32_t z) in cho() argument 156 return (x & (y ^ z)) ^ z; in cho() 159 static uint32_t par(uint32_t x, uint32_t y, uint32_t z) in par() argument 161 return x ^ y ^ z; in par() 164 static uint32_t maj(uint32_t x, uint32_t y, uint32_t z) in maj() argument 166 return (x & y) | ((x | y) & z); in maj() 401 static uint64_t cho512(uint64_t x, uint64_t y, uint64_t z) in cho512() argument 403 return (x & (y ^ z)) ^ z; in cho512() 406 static uint64_t maj512(uint64_t x, uint64_t y, uint64_t z) in maj512() argument 408 return (x & y) | ((x | y) & z); in maj512()
|
/qemu/hw/sensor/ |
H A D | lsm303dlhc_mag.c | 57 int16_t z; member 114 int64_t value = muldiv64(s->z, 100000, z_gain[gm]); in lsm303dlhc_mag_get_z() 184 s->z = (int16_t)reg; in lsm303dlhc_mag_set_z() 245 s->z_lock = s->z; in lsm303dlhc_mag_read() 455 VMSTATE_INT16(z, LSM303DLHCMagState), 483 s->z = 0; in lsm303dlhc_mag_default_cfg()
|
/qemu/docs/system/ |
H A D | invocation.rst | 15 double the commas. For instance,"-fw_cfg name=z,string=a,,b" will be 16 parsed as "-fw_cfg name=z,string=a,b".
|
/qemu/linux-user/aarch64/ |
H A D | signal.c | 213 uint64_t *z = (void *)sve + TARGET_SVE_SIG_ZREG_OFFSET(vq, i); in target_setup_sve_record() local 215 __put_user_e(env->vfp.zregs[i].d[j], z + j, le); in target_setup_sve_record() 249 uint64_t *z = (void *)za + TARGET_ZA_SIG_ZAV_OFFSET(vq, i); in target_setup_za_record() local 251 __put_user_e(env->zarray[i].d[j], z + j, le); in target_setup_za_record() 347 uint64_t *z = (void *)sve + TARGET_SVE_SIG_ZREG_OFFSET(vq, i); in target_restore_sve_record() local 349 __get_user_e(env->vfp.zregs[i].d[j], z + j, le); in target_restore_sve_record() 398 uint64_t *z = (void *)za + TARGET_ZA_SIG_ZAV_OFFSET(vq, i); in target_restore_za_record() local 400 __get_user_e(env->zarray[i].d[j], z + j, le); in target_restore_za_record()
|