/freebsd/usr.bin/gzip/ |
H A D | zuncompress.c | 44 #define tab_prefixof(i) (zs->zs_codetab[i]) 45 #define tab_suffixof(i) ((char_type *)(zs->zs_htab))[i] 129 static code_int getcode(struct s_zstate *zs); 165 zclose(void *zs) in zclose() argument 167 free(zs); in zclose() 175 struct s_zstate *zs; in zdopen() local 177 if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL) in zdopen() 180 zs->zs_state = S_START; in zdopen() 183 zs->zs_hsize = HSIZE; /* For dynamic table sizing. */ in zdopen() 184 zs->zs_free_ent = 0; /* First unused entry. */ in zdopen() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_zfetch.c | 117 zfetch_stats_t *zs = ksp->ks_data; in zfetch_kstats_update() local 121 zs->zfetchstat_hits.value.ui64 = in zfetch_kstats_update() 123 zs->zfetchstat_future.value.ui64 = in zfetch_kstats_update() 125 zs->zfetchstat_stride.value.ui64 = in zfetch_kstats_update() 127 zs->zfetchstat_past.value.ui64 = in zfetch_kstats_update() 129 zs->zfetchstat_misses.value.ui64 = in zfetch_kstats_update() 131 zs->zfetchstat_max_streams.value.ui64 = in zfetch_kstats_update() 133 zs->zfetchstat_io_issued.value.ui64 = in zfetch_kstats_update() 135 zs->zfetchstat_io_active.value.ui64 = in zfetch_kstats_update() 202 dmu_zfetch_stream_fini(zstream_t *zs) in dmu_zfetch_stream_fini() argument [all …]
|
H A D | zil.c | 229 zil_kstat_values_t *zs = ksp->ks_data; in zil_kstats_global_update() local 230 ASSERT3P(&zil_stats, ==, zs); in zil_kstats_global_update() 236 zil_kstat_values_update(zs, &zil_sums_global); in zil_kstats_global_update() 362 zil_sums_init(zil_sums_t *zs) in zil_sums_init() argument 364 wmsum_init(&zs->zil_commit_count, 0); in zil_sums_init() 365 wmsum_init(&zs->zil_commit_writer_count, 0); in zil_sums_init() 366 wmsum_init(&zs->zil_commit_error_count, 0); in zil_sums_init() 367 wmsum_init(&zs->zil_commit_stall_count, 0); in zil_sums_init() 368 wmsum_init(&zs->zil_commit_suspend_count, 0); in zil_sums_init() 369 wmsum_init(&zs->zil_itx_count, 0); in zil_sums_init() [all …]
|
H A D | zap.c | 1399 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) in zap_stats_ptrtbl() argument 1417 zap_leaf_stats(zap, l, zs); in zap_stats_ptrtbl() 1424 fzap_get_stats(zap_t *zap, zap_stats_t *zs) in fzap_get_stats() argument 1427 zs->zs_blocksize = 1ULL << bs; in fzap_get_stats() 1432 zs->zs_num_leafs = zap_f_phys(zap)->zap_num_leafs; in fzap_get_stats() 1433 zs->zs_num_entries = zap_f_phys(zap)->zap_num_entries; in fzap_get_stats() 1434 zs->zs_num_blocks = zap_f_phys(zap)->zap_freeblk; in fzap_get_stats() 1435 zs->zs_block_type = zap_f_phys(zap)->zap_block_type; in fzap_get_stats() 1436 zs->zs_magic = zap_f_phys(zap)->zap_magic; in fzap_get_stats() 1437 zs->zs_salt = zap_f_phys(zap)->zap_salt; in fzap_get_stats() [all …]
|
H A D | zfs_ioctl.c | 7760 zfsdev_state_t *zs, *fpd; in zfsdev_getminor() local 7770 for (zs = &zfsdev_state_listhead; zs != NULL; zs = zs->zs_next) { in zfsdev_getminor() 7772 if (zs->zs_minor == -1) in zfsdev_getminor() 7775 if (fpd == zs) { in zfsdev_getminor() 7790 zfsdev_state_t *zs; in zfsdev_get_state() local 7792 for (zs = &zfsdev_state_listhead; zs != NULL; zs = zs->zs_next) { in zfsdev_get_state() 7793 if (zs->zs_minor == minor) { in zfsdev_get_state() 7797 return (zs->zs_onexit); in zfsdev_get_state() 7799 return (zs->zs_zevent); in zfsdev_get_state() 7801 return (zs); in zfsdev_get_state() [all …]
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zmod.c | 63 z_stream zs; in z_uncompress() local 66 bzero(&zs, sizeof (zs)); in z_uncompress() 67 zs.next_in = (uchar_t *)src; in z_uncompress() 68 zs.avail_in = srclen; in z_uncompress() 69 zs.next_out = dst; in z_uncompress() 70 zs.avail_out = *dstlen; in z_uncompress() 71 zs.zalloc = zfs_zcalloc; in z_uncompress() 72 zs.zfree = zfs_zcfree; in z_uncompress() 79 if ((err = inflateInit2(&zs, DEF_WBITS | 0x20)) != Z_OK) in z_uncompress() 82 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress() [all …]
|
/freebsd/usr.bin/compress/ |
H A D | zopen.c | 139 #define fp zs->zs_fp 140 #define zmode zs->zs_mode 141 #define state zs->zs_state 142 #define n_bits zs->zs_n_bits 143 #define maxbits zs->zs_maxbits 144 #define maxcode zs->zs_maxcode 145 #define maxmaxcode zs->zs_maxmaxcode 146 #define htab zs->zs_htab 147 #define codetab zs->zs_codetab 148 #define hsize zs->zs_hsize [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | compress.c | 48 z_stream zs; in rfc1951_inflate() local 52 memset(&zs, 0, sizeof(zs)); in rfc1951_inflate() 61 if ((z = inflateInit2(&zs, -MAX_WBITS)) != Z_OK) { in rfc1951_inflate() 71 zs.next_in = in->ptr; in rfc1951_inflate() 72 zs.avail_in = ilen; in rfc1951_inflate() 73 zs.next_out = out->ptr; in rfc1951_inflate() 74 zs.avail_out = olen; in rfc1951_inflate() 76 if ((z = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in rfc1951_inflate() 81 if (zs.avail_out != 0) { in rfc1951_inflate() 82 fido_log_debug("%s: %u != 0", __func__, zs.avail_out); in rfc1951_inflate() [all …]
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | gzip.c | 56 z_stream zs; in z_uncompress() local 59 bzero(&zs, sizeof (zs)); in z_uncompress() 60 zs.next_in = (unsigned char *)src; in z_uncompress() 61 zs.avail_in = srclen; in z_uncompress() 62 zs.next_out = dst; in z_uncompress() 63 zs.avail_out = *dstlen; in z_uncompress() 64 zs.zalloc = zfs_zcalloc; in z_uncompress() 65 zs.zfree = zfs_zcfree; in z_uncompress() 72 if ((err = inflateInit2(&zs, DEF_WBITS | 0x20)) != Z_OK) in z_uncompress() 75 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress() [all …]
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | fifolog_reader.c | 75 i = inflateInit(fr->ff->zs); in fifolog_reader_open() 213 q = fr->obuf + (fr->olen - fr->ff->zs->avail_out); in fifolog_reader_chop() 254 z_stream *zs; in fifolog_reader_process() local 257 zs = fr->ff->zs; in fifolog_reader_process() 269 zs->avail_in = fr->ff->recsize - 5; in fifolog_reader_process() 270 zs->next_in = fr->ff->recbuf + 5; in fifolog_reader_process() 272 zs->avail_in -= fr->ff->recbuf[fr->ff->recsize - 1]; in fifolog_reader_process() 274 zs->avail_in -= in fifolog_reader_process() 277 i = inflateReset(zs); in fifolog_reader_process() 279 zs->next_out = fr->obuf; in fifolog_reader_process() [all …]
|
H A D | fifolog_write_poll.c | 70 assert(f->ff->zs->next_out + f->ff->zs->avail_out == \ in fifolog_write_assert() 164 i = deflateInit(f->ff->zs, (int)f->compression); in fifolog_write_open() 169 f->ff->zs->next_out = f->obuf + 9; in fifolog_write_open() 170 f->ff->zs->avail_out = f->obufsize - 9; in fifolog_write_open() 189 long h, l = f->ff->zs->next_out - f->obuf; in fifolog_write_output() 251 f->ff->zs->next_out = f->obuf + 5; in fifolog_write_output() 252 f->ff->zs->avail_out = f->obufsize - 5; in fifolog_write_output() 279 f->ff->zs->avail_in = f->ibufptr; in fifolog_write_gzip() 280 f->ff->zs->next_in = f->ibuf; in fifolog_write_gzip() 283 i = deflate(f->ff->zs, fl); in fifolog_write_gzip() [all …]
|
H A D | fifolog_int.c | 128 f->zs = calloc(1, sizeof(*f->zs)); in fifolog_int_open_i() 129 if (f->zs == NULL) in fifolog_int_open_i() 172 if (f->zs != NULL) in fifolog_int_close() 173 free(f->zs); in fifolog_int_close()
|
/freebsd/sys/geom/uzip/ |
H A D | g_uzip_zlib.c | 44 z_stream zs; member 55 inflateEnd(&zp->zs); in g_uzip_zlib_free() 68 zp->zs.next_in = ibp; in g_uzip_zlib_decompress() 69 zp->zs.avail_in = ilen; in g_uzip_zlib_decompress() 70 zp->zs.next_out = obp; in g_uzip_zlib_decompress() 71 zp->zs.avail_out = zp->blksz; in g_uzip_zlib_decompress() 73 err = (inflate(&zp->zs, Z_FINISH) != Z_STREAM_END) ? 1 : 0; in g_uzip_zlib_decompress() 89 if (inflateReset(&zp->zs) != Z_OK) { in g_uzip_zlib_rewind() 102 if (inflateInit(&zp->zs) != Z_OK) { in g_uzip_zlib_ctor()
|
/freebsd/contrib/ntp/libparse/ |
H A D | parsesolaris.c | 876 register struct zscom *zs; in init_zs_linemon() local 884 zs = ((struct asyncline *)q->q_ptr)->za_common; in init_zs_linemon() 885 if (!zs) in init_zs_linemon() 911 mutex_enter(zs->zs_excl); in init_zs_linemon() 915 szs->zsops = *zs->zs_ops; in init_zs_linemon() 917 szs->oldzsops = zs->zs_ops; in init_zs_linemon() 918 emergencyzs = zs->zs_ops; in init_zs_linemon() 920 zs->zs_ops = &szs->zsops; /* hook it up */ in init_zs_linemon() 925 zs->zs_xsint = (void (*) (struct zscom *))zs_xsisr; in init_zs_linemon() 927 mutex_exit(zs->zs_excl); in init_zs_linemon() [all …]
|
H A D | parsestreams.c | 1022 register struct zscom *zs; in init_zs_linemon() local 1030 zs = ((struct zsaline *)(void *)q->q_ptr)->za_common; in init_zs_linemon() 1031 if (!zs) in init_zs_linemon() 1063 szs->zsops = *zs->zs_ops; in init_zs_linemon() 1065 szs->oldzsops = zs->zs_ops; in init_zs_linemon() 1066 emergencyzs = zs->zs_ops; in init_zs_linemon() 1068 zsopinit(zs, &szs->zsops); /* hook it up */ in init_zs_linemon() 1088 register struct zscom *zs; in close_zs_linemon() local 1091 zs = ((struct zsaline *)(void *)q->q_ptr)->za_common; in close_zs_linemon() 1092 if (!zs) in close_zs_linemon() [all …]
|
/freebsd/contrib/gdtoa/ |
H A D | dmisc.c | 115 ULong si, z, zs; local 149 zs = (si >> 16) * q + (ys >> 16); 150 carry = zs >> 16; 153 z = (*bx >> 16) - (zs & 0xffff) - borrow; 190 zs = (si >> 16) + (ys >> 16); 191 carry = zs >> 16; 194 z = (*bx >> 16) - (zs & 0xffff) - borrow;
|
/freebsd/contrib/pnglite/ |
H A D | pnglite.c | 244 png->zs = calloc(1, sizeof (z_stream)); in png_init_inflate() 246 stream = png->zs; in png_init_inflate() 252 free(png->zs); in png_init_inflate() 253 png->zs = NULL; in png_init_inflate() 266 z_stream *stream = png->zs; in png_end_inflate() 277 free(png->zs); in png_end_inflate() 278 png->zs = NULL; in png_end_inflate() 287 z_stream *stream = png->zs; in png_inflate() 366 if (!png->zs) { in png_process_chunk() 560 png->zs = NULL; in png_get_data() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 301 #define MAXFAULTS(zs) \ argument 302 (MAX((zs)->zs_mirrors, 1) * (ztest_opts.zo_raid_parity + 1) - 1) 1221 ztest_kill(ztest_shared_t *zs) in ztest_kill() argument 1223 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa)); in ztest_kill() 1224 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa)); in ztest_kill() 3323 ztest_shared_t *zs = ztest_shared; in ztest_vdev_add_remove() local 3337 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * raidz_children; in ztest_vdev_add_remove() 3391 "log" : NULL, raidz_children, zs->zs_mirrors, in ztest_vdev_add_remove() 3415 ztest_shared_t *zs = ztest_shared; in ztest_vdev_class_add() local 3436 if (zs->zs_mirrors < 2) { in ztest_vdev_class_add() [all …]
|
/freebsd/contrib/libfido2/tools/ |
H A D | largeblob.c | 311 z_stream zs; in try_decompress() local 315 memset(&zs, 0, sizeof(zs)); in try_decompress() 323 if (inflateInit2(&zs, wbits) != Z_OK) in try_decompress() 330 zs.next_in = in->ptr; in try_decompress() 331 zs.avail_in = ilen; in try_decompress() 332 zs.next_out = out.ptr; in try_decompress() 333 zs.avail_out = olen; in try_decompress() 335 if (inflate(&zs, Z_FINISH) != Z_STREAM_END) in try_decompress() 337 if (zs.avail_out != 0) in try_decompress() 342 if (inflateEnd(&zs) != Z_OK) in try_decompress()
|
/freebsd/contrib/bc/tests/dc/errors/ |
H A D | 10.txt | 6 0sm[Nx]0s_[]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix] 11 0sm[Nx]0s_@]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix] 16 0sm[Nx]0s_[]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix]
|
/freebsd/contrib/bzip2/ |
H A D | bzlib.c | 263 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ argument 267 if (zchh != zs->state_in_ch && \ 268 zs->state_in_len == 1) { \ 269 UChar ch = (UChar)(zs->state_in_ch); \ 270 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 271 zs->inUse[zs->state_in_ch] = True; \ 272 zs->block[zs->nblock] = (UChar)ch; \ 273 zs->nblock++; \ 274 zs->state_in_ch = zchh; \ 278 if (zchh != zs->state_in_ch || \ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | renesas,r8a73a4-cpg-clocks.txt | 18 "m1", "m2", "zx", "zs", and "hp". 32 "zx", "zs", "hp";
|
H A D | renesas,r8a7779-cpg-clocks.txt | 16 "z", "zs", "s", "s1", "p", "b", "out". 35 clock-output-names = "plla", "z", "zs", "s", "s1", "p",
|
/freebsd/contrib/dialog/po/ |
H A D | hu.po | 6 # Balázs Úr <urbalazs@gmail.com>, 2014. 13 "Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | kmod_core.c | 196 zfsdev_private_set_state(void *priv __unused, zfsdev_state_t *zs) in zfsdev_private_set_state() argument 198 devfs_set_cdevpriv(zs, zfsdev_close); in zfsdev_private_set_state()
|