Home
last modified time | relevance | path

Searched refs:zs (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-14.2/usr.bin/gzip/
H A Dzuncompress.c256 for (zs->u.r.zs_code = 255; zs->u.r.zs_code >= 0; zs->u.r.zs_code--) { in zread()
276 zs->u.r.zs_incode = zs->u.r.zs_code; in zread()
287 zs->u.r.zs_code = zs->u.r.zs_oldcode; in zread()
301 *zs->u.r.zs_stackp++ = zs->u.r.zs_finchar = tab_suffixof(zs->u.r.zs_code); in zread()
311 if ((zs->u.r.zs_code = zs->zs_free_ent) < zs->zs_maxmaxcode && in zread()
340 if (zs->zs_clear_flg > 0 || zs->u.r.zs_roffset >= zs->u.r.zs_size || in getcode()
341 zs->zs_free_ent > zs->zs_maxcode) { in getcode()
350 zs->zs_maxcode = zs->zs_maxmaxcode; in getcode()
361 zs->u.r.zs_size = fread(zs->u.r.zs_gbuf + i, 1, zs->zs_n_bits - i, zs->zs_fp); in getcode()
370 zs->u.r.zs_size = (zs->u.r.zs_size << 3) - (zs->zs_n_bits - 1); in getcode()
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Ddmu_zfetch.c207 kmem_free(zs, sizeof (*zs)); in dmu_zfetch_stream_fini()
258 for (zs = list_head(&zf->zf_stream); zs != NULL; zs = zs_next) { in dmu_zfetch_stream_create()
289 zs = list_next(&zf->zf_stream, zs)) { in dmu_zfetch_stream_create()
307 zs = kmem_zalloc(sizeof (*zs), KM_SLEEP); in dmu_zfetch_stream_create()
522 zs = list_next(&zf->zf_stream, zs)) { in dmu_zfetch_prepare()
542 zs = list_next(&zf->zf_stream, zs)) { in dmu_zfetch_prepare()
627 zs->zs_pf_dist += zs->zs_pf_dist / 8; in dmu_zfetch_prepare()
651 if (zs->zs_ipf_start < zs->zs_pf_end) in dmu_zfetch_prepare()
652 zs->zs_ipf_start = zs->zs_pf_end; in dmu_zfetch_prepare()
654 zs->zs_ipf_end = zs->zs_pf_end + pf_nblks; in dmu_zfetch_prepare()
[all …]
H A Dzil.c228 ASSERT3P(&zil_stats, ==, zs); in zil_kstats_global_update()
360 zil_sums_init(zil_sums_t *zs) in zil_sums_init() argument
362 wmsum_init(&zs->zil_commit_count, 0); in zil_sums_init()
364 wmsum_init(&zs->zil_itx_count, 0); in zil_sums_init()
382 zil_sums_fini(zil_sums_t *zs) in zil_sums_fini() argument
384 wmsum_fini(&zs->zil_commit_count); in zil_sums_fini()
386 wmsum_fini(&zs->zil_itx_count); in zil_sums_fini()
406 zs->zil_commit_count.value.ui64 = in zil_kstat_values_update()
410 zs->zil_itx_count.value.ui64 = in zil_kstat_values_update()
416 zs->zil_itx_copied_count.value.ui64 = in zil_kstat_values_update()
[all …]
H A Dzap.c1311 zap_leaf_stats(zap, l, zs); in zap_stats_ptrtbl()
1318 fzap_get_stats(zap_t *zap, zap_stats_t *zs) in fzap_get_stats() argument
1321 zs->zs_blocksize = 1ULL << bs; in fzap_get_stats()
1326 zs->zs_num_leafs = zap_f_phys(zap)->zap_num_leafs; in fzap_get_stats()
1328 zs->zs_num_blocks = zap_f_phys(zap)->zap_freeblk; in fzap_get_stats()
1329 zs->zs_block_type = zap_f_phys(zap)->zap_block_type; in fzap_get_stats()
1330 zs->zs_magic = zap_f_phys(zap)->zap_magic; in fzap_get_stats()
1331 zs->zs_salt = zap_f_phys(zap)->zap_salt; in fzap_get_stats()
1338 zs->zs_ptrtbl_blks_copied = in fzap_get_stats()
1347 1 << ZAP_EMBEDDED_PTRTBL_SHIFT(zap), zs); in fzap_get_stats()
[all …]
H A Dzfs_ioctl.c7523 for (zs = &zfsdev_state_listhead; zs != NULL; zs = zs->zs_next) { in zfsdev_getminor()
7528 if (fpd == zs) { in zfsdev_getminor()
7543 zfsdev_state_t *zs; in zfsdev_get_state() local
7545 for (zs = &zfsdev_state_listhead; zs != NULL; zs = zs->zs_next) { in zfsdev_get_state()
7554 return (zs); in zfsdev_get_state()
7599 for (zs = &zfsdev_state_listhead; zs != NULL; zs = zs->zs_next) { in zfsdev_state_init()
7602 zsprev = zs; in zfsdev_state_init()
7605 if (!zs) { in zfsdev_state_init()
7640 ASSERT(zs != NULL); in zfsdev_state_destroy()
7656 zs->zs_minor = -1; in zfsdev_state_destroy()
[all …]
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c63 z_stream zs; in z_uncompress() local
66 bzero(&zs, sizeof (zs)); 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()
72 zs.zfree = zfs_zcfree; in z_uncompress()
96 z_stream zs; in z_compress_level() local
99 bzero(&zs, sizeof (zs)); in z_compress_level()
101 zs.avail_in = srclen; in z_compress_level()
102 zs.next_out = dst; in z_compress_level()
[all …]
/freebsd-14.2/usr.bin/compress/
H A Dzopen.c142 #define fp zs->zs_fp
239 struct s_zstate *zs; in zwrite() local
247 zs = cookie; in zwrite()
325 struct s_zstate *zs; in zclose() local
328 zs = cookie; in zclose()
332 free(zs); in zclose()
338 free(zs); in zclose()
343 free(zs); in zclose()
459 struct s_zstate *zs; in zread() local
465 zs = cookie; in zread()
[all …]
/freebsd-14.2/contrib/libfido2/src/
H A Dcompress.c48 z_stream zs; in rfc1951_inflate() local
52 memset(&zs, 0, sizeof(zs)); 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()
103 z_stream zs; in rfc1951_deflate() local
107 memset(&zs, 0, sizeof(zs)); in rfc1951_deflate()
126 zs.next_in = in->ptr; in rfc1951_deflate()
127 zs.avail_in = ilen; in rfc1951_deflate()
[all …]
/freebsd-14.2/sys/cddl/boot/zfs/
H A Dgzip.c56 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()
76 (void) inflateEnd(&zs); in z_uncompress()
80 *dstlen = zs.total_out; in z_uncompress()
[all …]
/freebsd-14.2/usr.sbin/fifolog/lib/
H A Dfifolog_reader.c75 i = inflateInit(fr->ff->zs); in fifolog_reader_open()
254 z_stream *zs; in fifolog_reader_process() local
257 zs = fr->ff->zs; 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()
284 zs->next_in += 4; in fifolog_reader_process()
285 zs->avail_in -= 4; in fifolog_reader_process()
289 i = inflate(zs, 0); in fifolog_reader_process()
295 zs->avail_in, in fifolog_reader_process()
[all …]
H A Dfifolog_write_poll.c70 assert(f->ff->zs->next_out + f->ff->zs->avail_out == \ in fifolog_write_assert()
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()
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()
292 assert(f->ff->zs->avail_in == 0); in fifolog_write_gzip()
296 f->ff->zs->next_out = f->obuf + 9; in fifolog_write_gzip()
[all …]
H A Dfifolog_int.c128 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-14.2/sys/geom/uzip/
H A Dg_uzip_zlib.c45 z_stream zs; member
56 inflateEnd(&zp->zs); in g_uzip_zlib_free()
69 zp->zs.next_in = ibp; in g_uzip_zlib_decompress()
70 zp->zs.avail_in = ilen; in g_uzip_zlib_decompress()
71 zp->zs.next_out = obp; in g_uzip_zlib_decompress()
72 zp->zs.avail_out = zp->blksz; in g_uzip_zlib_decompress()
74 err = (inflate(&zp->zs, Z_FINISH) != Z_STREAM_END) ? 1 : 0; in g_uzip_zlib_decompress()
90 if (inflateReset(&zp->zs) != Z_OK) { in g_uzip_zlib_rewind()
103 if (inflateInit(&zp->zs) != Z_OK) { in g_uzip_zlib_ctor()
/freebsd-14.2/contrib/ntp/libparse/
H A Dparsesolaris.c876 register struct zscom *zs; in init_zs_linemon() local
885 if (!zs) in init_zs_linemon()
911 mutex_enter(zs->zs_excl); in init_zs_linemon()
927 mutex_exit(zs->zs_excl); in init_zs_linemon()
946 register struct zscom *zs; in close_zs_linemon() local
950 if (!zs) in close_zs_linemon()
961 mutex_enter(zs->zs_excl); in close_zs_linemon()
968 zs->zs_xsint = zs->zs_ops->zsop_xsint; in close_zs_linemon()
970 mutex_exit(zs->zs_excl); in close_zs_linemon()
988 struct zscom *zs in zs_xsisr() argument
[all …]
H A Dparsestreams.c1022 register struct zscom *zs; in init_zs_linemon() local
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
1092 if (!zs) in close_zs_linemon()
1128 struct zscom *zs in zs_xsisr() argument
1292 return zsisr(zs); in zs_xsisr()
[all …]
/freebsd-14.2/lib/msun/src/
H A Ds_fmal.c167 long double xs, ys, zs, adj; in fmal() local
189 zs = frexpl(z, &ez); in fmal()
223 zs = ldexpl(zs, -spread); in fmal()
225 zs = copysignl(LDBL_MIN, zs); in fmal()
240 r = dd_add(xy.hi, zs); in fmal()
250 volatile long double vzs = zs; /* XXX gcc CSE bug workaround */ in fmal()
H A Ds_fma.c186 double xs, ys, zs, adj; in fma() local
208 zs = frexp(z, &ez); in fma()
242 zs = ldexp(zs, -spread); in fma()
244 zs = copysign(DBL_MIN, zs); in fma()
259 r = dd_add(xy.hi, zs); in fma()
269 volatile double vzs = zs; /* XXX gcc CSE bug workaround */ in fma()
/freebsd-14.2/contrib/gdtoa/
H A Ddmisc.c115 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-14.2/contrib/pnglite/
H A Dpnglite.c244 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-14.2/contrib/libfido2/tools/
H A Dlargeblob.c311 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-14.2/sys/contrib/openzfs/cmd/
H A Dztest.c3215 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * in ztest_vdev_add_remove()
3325 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * in ztest_vdev_class_add()
3571 ++zs->zs_splits; in ztest_split_pool()
7128 delay = (zs->zs_thread_stop - zs->zs_thread_start) + in ztest_deadman_thread()
7573 zs->zs_thread_stop = MIN(zs->zs_thread_stop, zs->zs_proc_stop); in ztest_run()
7574 zs->zs_thread_kill = zs->zs_thread_stop; in ztest_run()
8071 memset(zs, 0, sizeof (*zs)); in ztest_run_init()
8076 ztest_init(zs); in ztest_run_init()
8186 ztest_run(zs); in main()
8225 if (zs->zs_proc_start + zi->zi_interval[0] > zs->zs_proc_stop) in main()
[all …]
/freebsd-14.2/contrib/bc/tests/dc/errors/
H A D10.txt6 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-14.2/contrib/bzip2/
H A Dbzlib.c263 #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-14.2/sys/contrib/device-tree/Bindings/clock/
H A Drenesas,r8a73a4-cpg-clocks.txt18 "m1", "m2", "zx", "zs", and "hp".
32 "zx", "zs", "hp";
H A Drenesas,r8a7779-cpg-clocks.txt16 "z", "zs", "s", "s1", "p", "b", "out".
35 clock-output-names = "plla", "z", "zs", "s", "s1", "p",

123