/openbmc/qemu/migration/ |
H A D | multifd-zstd.c | 42 struct zstd_data *z = g_new0(struct zstd_data, 1); in multifd_zstd_send_setup() local 45 z->zcs = ZSTD_createCStream(); in multifd_zstd_send_setup() 46 if (!z->zcs) { in multifd_zstd_send_setup() 47 g_free(z); in multifd_zstd_send_setup() 52 res = ZSTD_initCStream(z->zcs, migrate_multifd_zstd_level()); in multifd_zstd_send_setup() 54 ZSTD_freeCStream(z->zcs); in multifd_zstd_send_setup() 55 g_free(z); in multifd_zstd_send_setup() 61 z->zbuff_len = ZSTD_compressBound(MULTIFD_PACKET_SIZE); in multifd_zstd_send_setup() 62 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zstd_send_setup() 63 if (!z->zbuff) { in multifd_zstd_send_setup() [all …]
|
H A D | multifd-zlib.c | 39 struct zlib_data *z = g_new0(struct zlib_data, 1); in multifd_zlib_send_setup() local 40 z_stream *zs = &z->zs; in multifd_zlib_send_setup() 51 z->zbuff_len = compressBound(MULTIFD_PACKET_SIZE); in multifd_zlib_send_setup() 52 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zlib_send_setup() 53 if (!z->zbuff) { in multifd_zlib_send_setup() 57 z->buf = g_try_malloc(qemu_target_page_size()); in multifd_zlib_send_setup() 58 if (!z->buf) { in multifd_zlib_send_setup() 62 p->compress_data = z; in multifd_zlib_send_setup() 70 g_free(z->zbuff); in multifd_zlib_send_setup() 74 g_free(z); in multifd_zlib_send_setup() [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | avx2.c | 38 int d, z, z0; in raid6_avx21_gen_syndrome() local 55 for (z = z0-2; z >= 0; z--) { in raid6_avx21_gen_syndrome() 56 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 63 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 87 int d, z, z0; in raid6_avx21_xor_syndrome() local 102 for (z = z0-1 ; z >= start ; z--) { in raid6_avx21_xor_syndrome() 108 asm volatile("vmovdqa %0,%%ymm5" :: "m" (dptr[z][d])); in raid6_avx21_xor_syndrome() 113 for (z = start-1 ; z >= 0 ; z--) { in raid6_avx21_xor_syndrome() 145 int d, z, z0; in raid6_avx22_gen_syndrome() local 164 for (z = z0-1; z >= 0; z--) { in raid6_avx22_gen_syndrome() [all …]
|
H A D | sse2.c | 40 int d, z, z0; in raid6_sse21_gen_syndrome() local 57 for ( z = z0-2 ; z >= 0 ; z-- ) { in raid6_sse21_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 66 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 92 int d, z, z0; in raid6_sse21_xor_syndrome() local 107 for ( z = z0-1 ; z >= start ; z-- ) { in raid6_sse21_xor_syndrome() 113 asm volatile("movdqa %0,%%xmm5" :: "m" (dptr[z][d])); in raid6_sse21_xor_syndrome() 118 for ( z = start-1 ; z >= 0 ; z-- ) { in raid6_sse21_xor_syndrome() 150 int d, z, z0; in raid6_sse22_gen_syndrome() local 169 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_sse22_gen_syndrome() [all …]
|
H A D | avx512.c | 48 int d, z, z0; in raid6_avx5121_gen_syndrome() local 69 for (z = z0-2; z >= 0; z--) { in raid6_avx5121_gen_syndrome() 80 : "m" (dptr[z][d])); in raid6_avx5121_gen_syndrome() 106 int d, z, z0; in raid6_avx5121_xor_syndrome() local 124 for (z = z0-1 ; z >= start ; z--) { in raid6_avx5121_xor_syndrome() 135 : "m" (dptr[z][d])); in raid6_avx5121_xor_syndrome() 138 for (z = start-1 ; z >= 0 ; z--) { in raid6_avx5121_xor_syndrome() 175 int d, z, z0; in raid6_avx5122_gen_syndrome() local 198 for (z = z0-1; z >= 0; z--) { in raid6_avx5122_gen_syndrome() 218 : "m" (dptr[z][d]), "m" (dptr[z][d+64])); in raid6_avx5122_gen_syndrome() [all …]
|
H A D | loongarch_simd.c | 37 int d, z, z0; in raid6_lsx_gen_syndrome() local 62 for (z = z0-1; z >= 0; z--) { in raid6_lsx_gen_syndrome() 64 asm volatile("vld $vr8, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lsx_gen_syndrome() 65 asm volatile("vld $vr9, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lsx_gen_syndrome() 66 asm volatile("vld $vr10, %0" : : "m"(dptr[z][d+2*NSIZE])); in raid6_lsx_gen_syndrome() 67 asm volatile("vld $vr11, %0" : : "m"(dptr[z][d+3*NSIZE])); in raid6_lsx_gen_syndrome() 119 int d, z, z0; in raid6_lsx_xor_syndrome() local 145 for (z = z0-1; z >= start; z--) { in raid6_lsx_xor_syndrome() 147 asm volatile("vld $vr8, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lsx_xor_syndrome() 148 asm volatile("vld $vr9, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lsx_xor_syndrome() [all …]
|
H A D | sse1.c | 44 int d, z, z0; in raid6_sse11_gen_syndrome() local 61 for ( z = z0-2 ; z >= 0 ; z-- ) { in raid6_sse11_gen_syndrome() 62 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 70 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 103 int d, z, z0; in raid6_sse12_gen_syndrome() local 122 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_sse12_gen_syndrome() 123 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse12_gen_syndrome() 132 asm volatile("movq %0,%%mm5" : : "m" (dptr[z][d])); in raid6_sse12_gen_syndrome() 133 asm volatile("movq %0,%%mm7" : : "m" (dptr[z][d+8])); in raid6_sse12_gen_syndrome()
|
H A D | mmx.c | 39 int d, z, z0; in raid6_mmx1_gen_syndrome() local 53 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_mmx1_gen_syndrome() 54 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_mmx1_gen_syndrome() 87 int d, z, z0; in raid6_mmx2_gen_syndrome() local 104 for ( z = z0-1 ; z >= 0 ; z-- ) { in raid6_mmx2_gen_syndrome() 113 asm volatile("movq %0,%%mm5" : : "m" (dptr[z][d])); in raid6_mmx2_gen_syndrome() 114 asm volatile("movq %0,%%mm7" : : "m" (dptr[z][d+8])); in raid6_mmx2_gen_syndrome()
|
/openbmc/linux/drivers/zorro/ |
H A D | zorro.c | 54 struct zorro_dev *z; in zorro_find_device() local 59 for (z = from ? from+1 : &zorro_autocon[0]; in zorro_find_device() 60 z < zorro_autocon+zorro_num_autocon; in zorro_find_device() 61 z++) in zorro_find_device() 62 if (id == ZORRO_WILDCARD || id == z->id) in zorro_find_device() 63 return z; in zorro_find_device() 115 struct platform_device *bridge, struct zorro_dev *z) in zorro_find_parent_resource() argument 122 if (zorro_resource_start(z) >= r->start && in zorro_find_parent_resource() 123 zorro_resource_end(z) <= r->end) in zorro_find_parent_resource() 135 struct zorro_dev *z; in amiga_zorro_probe() local [all …]
|
H A D | zorro-sysfs.c | 29 struct zorro_dev *z; \ 31 z = to_zorro_dev(dev); \ 32 return sprintf(buf, format_string, z->field); \ 44 struct zorro_dev *z; in serial_show() local 46 z = to_zorro_dev(dev); in serial_show() 47 return sprintf(buf, "0x%08x\n", be32_to_cpu(z->rom.er_SerialNumber)); in serial_show() 54 struct zorro_dev *z = to_zorro_dev(dev); in resource_show() local 57 (unsigned long)zorro_resource_start(z), in resource_show() 58 (unsigned long)zorro_resource_end(z), in resource_show() 59 zorro_resource_flags(z)); in resource_show() [all …]
|
H A D | zorro-driver.c | 33 const struct zorro_dev *z) in zorro_match_device() argument 36 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device() 48 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_probe() local 53 id = zorro_match_device(drv->id_table, z); in zorro_device_probe() 55 error = drv->probe(z, id); in zorro_device_probe() 65 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_remove() local 69 drv->remove(z); in zorro_device_remove() 123 struct zorro_dev *z = to_zorro_dev(dev); in zorro_bus_match() local 130 return !!zorro_match_device(ids, z); in zorro_bus_match() 135 const struct zorro_dev *z; in zorro_uevent() local [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | pid_fancontroller_unittest.cpp | 33 ZoneMock z; in TEST() local 39 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() 48 ZoneMock z; in TEST() local 54 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() 62 ZoneMock z; in TEST() local 68 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() 71 EXPECT_CALL(z, getCachedValue(StrEq("fan0"))).WillOnce(Return(0)); in TEST() 72 EXPECT_CALL(z, getCachedValue(StrEq("fan1"))).WillOnce(Return(0)); in TEST() 80 ZoneMock z; in TEST() local 86 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() [all …]
|
H A D | pid_thermalcontroller_unittest.cpp | 27 ZoneMock z; in TEST() local 34 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 43 ZoneMock z; in TEST() local 52 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 62 ZoneMock z; in TEST() local 69 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 72 EXPECT_CALL(z, getCachedValue(StrEq("fleeting0"))).WillOnce(Return(5.0)); in TEST() 81 ZoneMock z; in TEST() local 88 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 98 ZoneMock z; in TEST() local [all …]
|
/openbmc/linux/crypto/ |
H A D | tea.c | 59 u32 y, z, n, sum = 0; in tea_encrypt() local 66 z = le32_to_cpu(in[1]); in tea_encrypt() 77 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_encrypt() 78 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt() 82 out[1] = cpu_to_le32(z); in tea_encrypt() 87 u32 y, z, n, sum; in tea_decrypt() local 94 z = le32_to_cpu(in[1]); in tea_decrypt() 106 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_decrypt() 107 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt() 112 out[1] = cpu_to_le32(z); in tea_decrypt() [all …]
|
/openbmc/linux/include/linux/ |
H A D | zorro.h | 50 int (*probe)(struct zorro_dev *z, const struct zorro_device_id *id); /* New device inserted */ 51 … void (*remove)(struct zorro_dev *z); /* Device removed (NULL if not a hot-plug capable driver) */ 94 #define zorro_resource_start(z) ((z)->resource.start) argument 95 #define zorro_resource_end(z) ((z)->resource.end) argument 96 #define zorro_resource_len(z) (resource_size(&(z)->resource)) argument 97 #define zorro_resource_flags(z) ((z)->resource.flags) argument 99 #define zorro_request_device(z, name) \ argument 100 request_mem_region(zorro_resource_start(z), zorro_resource_len(z), name) 101 #define zorro_release_device(z) \ argument 102 release_mem_region(zorro_resource_start(z), zorro_resource_len(z)) [all …]
|
/openbmc/u-boot/post/lib_powerpc/fpu/ |
H A D | darwin-ldouble.c | 52 double z, q, zz, xh; in __gcc_qadd() local 54 z = a + c; in __gcc_qadd() 56 if (nonfinite(z)) { in __gcc_qadd() 57 z = cc + aa + c + a; in __gcc_qadd() 58 if (nonfinite(z)) in __gcc_qadd() 59 return z; in __gcc_qadd() 60 x.dval[0] = z; /* Will always be DBL_MAX. */ in __gcc_qadd() 63 x.dval[1] = a - z + c + zz; in __gcc_qadd() 65 x.dval[1] = c - z + a + zz; in __gcc_qadd() 67 q = a - z; in __gcc_qadd() [all …]
|
/openbmc/linux/fs/zonefs/ |
H A D | super.c | 50 struct zonefs_zone *z) in zonefs_account_active() argument 54 if (zonefs_zone_is_cnv(z)) in zonefs_account_active() 61 if (z->z_flags & (ZONEFS_ZONE_OFFLINE | ZONEFS_ZONE_READONLY)) in zonefs_account_active() 68 if ((z->z_flags & ZONEFS_ZONE_OPEN) || in zonefs_account_active() 69 (z->z_wpoffset > 0 && z->z_wpoffset < z->z_capacity)) { in zonefs_account_active() 70 if (!(z->z_flags & ZONEFS_ZONE_ACTIVE)) { in zonefs_account_active() 71 z->z_flags |= ZONEFS_ZONE_ACTIVE; in zonefs_account_active() 79 if (z->z_flags & ZONEFS_ZONE_ACTIVE) { in zonefs_account_active() 80 z->z_flags &= ~ZONEFS_ZONE_ACTIVE; in zonefs_account_active() 99 struct zonefs_zone *z, enum req_op op) in zonefs_zone_mgmt() argument [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-zoned.h | 156 #define dmz_is_cache(z) test_bit(DMZ_CACHE, &(z)->flags) argument 157 #define dmz_is_rnd(z) test_bit(DMZ_RND, &(z)->flags) argument 158 #define dmz_is_seq(z) test_bit(DMZ_SEQ, &(z)->flags) argument 159 #define dmz_is_empty(z) ((z)->wp_block == 0) argument 160 #define dmz_is_offline(z) test_bit(DMZ_OFFLINE, &(z)->flags) argument 161 #define dmz_is_readonly(z) test_bit(DMZ_READ_ONLY, &(z)->flags) argument 162 #define dmz_in_reclaim(z) test_bit(DMZ_RECLAIM, &(z)->flags) argument 163 #define dmz_is_reserved(z) test_bit(DMZ_RESERVED, &(z)->flags) argument 164 #define dmz_seq_write_err(z) test_bit(DMZ_SEQ_WRITE_ERR, &(z)->flags) argument 165 #define dmz_reclaim_should_terminate(z) \ argument [all …]
|
/openbmc/linux/mm/ |
H A D | shuffle.c | 80 void __meminit __shuffle_zone(struct zone *z) in __shuffle_zone() argument 83 unsigned long start_pfn = z->zone_start_pfn; in __shuffle_zone() 84 unsigned long end_pfn = zone_end_pfn(z); in __shuffle_zone() 88 spin_lock_irqsave(&z->lock, flags); in __shuffle_zone() 101 page_i = shuffle_valid_page(z, i, order); in __shuffle_zone() 112 j = z->zone_start_pfn + in __shuffle_zone() 113 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone() 115 page_j = shuffle_valid_page(z, j, order); in __shuffle_zone() 141 spin_unlock_irqrestore(&z->lock, flags); in __shuffle_zone() 143 spin_lock_irqsave(&z->lock, flags); in __shuffle_zone() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emufx.c | 1280 int err, z, nctl; in _snd_emu10k1_audigy_init_efx() local 1398 for (z = 0; z < SND_EMU10K1_PLAYBACK_CHANNELS + 2; z++) in _snd_emu10k1_audigy_init_efx() 1399 …A_OP(icode, &ptr, iACC3, A_GPR(playback + z), A_GPR(playback + z), A_GPR(playback + z), A_C_000000… in _snd_emu10k1_audigy_init_efx() 1582 for (z = 0; z < 5; z++) { in _snd_emu10k1_audigy_init_efx() 1585 controls[nctl + 0].gpr[z * 2 + j] = bass_gpr + z * 2 + j; in _snd_emu10k1_audigy_init_efx() 1586 controls[nctl + 1].gpr[z * 2 + j] = treble_gpr + z * 2 + j; in _snd_emu10k1_audigy_init_efx() 1596 for (z = 0; z < 4; z++) { /* front/rear/center-lfe/side */ in _snd_emu10k1_audigy_init_efx() 1599 k = bass_tmp + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx() 1600 l = treble_tmp + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx() 1601 d = playback + z * 2 + j; in _snd_emu10k1_audigy_init_efx() [all …]
|
/openbmc/linux/fs/erofs/ |
H A D | decompressor_deflate.c | 8 struct z_stream_s z; member 37 vfree(strm->z.workspace); in z_erofs_deflate_exit() 79 strm->z.workspace = vmalloc(zlib_inflate_workspacesize()); in z_erofs_load_deflate_config() 80 if (!strm->z.workspace) { in z_erofs_load_deflate_config() 140 zerr = zlib_inflateInit2(&strm->z, -MAX_WBITS); in z_erofs_deflate_decompress() 147 strm->z.avail_in = min_t(u32, insz, PAGE_SIZE - rq->pageofs_in); in z_erofs_deflate_decompress() 148 insz -= strm->z.avail_in; in z_erofs_deflate_decompress() 149 strm->z.next_in = kin + rq->pageofs_in; in z_erofs_deflate_decompress() 150 strm->z.avail_out = 0; in z_erofs_deflate_decompress() 153 if (!strm->z.avail_out) { in z_erofs_deflate_decompress() [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | x86.csv | 2084 "V4FMADDPS zmm1, {k}{z}, zmmV+3, m128","V4FMADDPS m128, zmmV+3, {k}{z}, zmm1","v4fmaddps m128, zmmV… 2085 "V4FMADDSS xmm1, {k}{z}, xmmV+3, m128","V4FMADDSS m128, xmmV+3, {k}{z}, xmm1","v4fmaddss m128, xmmV… 2086 "V4FNMADDPS zmm1, {k}{z}, zmmV+3, m128","V4FNMADDPS m128, zmmV+3, {k}{z}, zmm1","v4fnmaddps m128, z… 2087 "V4FNMADDSS xmm1, {k}{z}, xmmV+3, m128","V4FNMADDSS m128, xmmV+3, {k}{z}, xmm1","v4fnmaddss m128, x… 2089 "VADDPD xmm1, {k}{z}, xmmV, xmm2/m128/m64bcst","VADDPD xmm2/m128/m64bcst, xmmV, {k}{z}, xmm1","vadd… 2091 "VADDPD ymm1, {k}{z}, ymmV, ymm2/m256/m64bcst","VADDPD ymm2/m256/m64bcst, ymmV, {k}{z}, ymm1","vadd… 2092 "VADDPD zmm1{er}, {k}{z}, zmmV, zmm2","VADDPD zmm2, zmmV, {k}{z}, zmm1{er}","vaddpd zmm2, zmmV, {k}… 2093 "VADDPD zmm1, {k}{z}, zmmV, zmm2/m512/m64bcst","VADDPD zmm2/m512/m64bcst, zmmV, {k}{z}, zmm1","vadd… 2095 "VADDPS xmm1, {k}{z}, xmmV, xmm2/m128/m32bcst","VADDPS xmm2/m128/m32bcst, xmmV, {k}{z}, xmm1","vadd… 2097 "VADDPS ymm1, {k}{z}, ymmV, ymm2/m256/m32bcst","VADDPS ymm2/m256/m32bcst, ymmV, {k}{z}, ymm1","vadd… [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | tls-offload-reorder-good.svg | 1 …z" clip-rule="nonzero"/></clipPath><g clip-path="url(#p.0)"><path fill="#000000" fill-opacity="0.0…
|
H A D | tls-offload-reorder-bad.svg | 1 …z" clip-rule="nonzero"/></clipPath><g clip-path="url(#p.0)"><path fill="#000000" fill-opacity="0.0…
|
/openbmc/linux/arch/mips/math-emu/ |
H A D | sp_maddf.c | 15 static union ieee754sp _sp_maddf(union ieee754sp z, union ieee754sp x, in _sp_maddf() argument 50 return ieee754sp_nanxcpt(z); in _sp_maddf() 56 return z; in _sp_maddf() 113 return z; in _sp_maddf() 118 return z; in _sp_maddf() 244 union ieee754sp ieee754sp_maddf(union ieee754sp z, union ieee754sp x, in ieee754sp_maddf() argument 247 return _sp_maddf(z, x, y, 0); in ieee754sp_maddf() 250 union ieee754sp ieee754sp_msubf(union ieee754sp z, union ieee754sp x, in ieee754sp_msubf() argument 253 return _sp_maddf(z, x, y, MADDF_NEGATE_PRODUCT); in ieee754sp_msubf() 256 union ieee754sp ieee754sp_madd(union ieee754sp z, union ieee754sp x, in ieee754sp_madd() argument [all …]
|