Searched defs:zs (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/common/zmod/
H A Dzmod.c42 z_stream zs; local
45 bzero(&zs, sizeof (zs));
46 zs.next_in = (uchar_t *)src;
47 zs.avail_in = srclen;
48 zs.next_out = dst;
49 zs.avail_out = *dstlen;
56 if ((err = inflateInit2(&zs, DEF_WBITS | 0x20)) != Z_OK)
59 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
60 (void) inflateEnd(&zs);
73 z_stream zs; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dgzip.c31 z_stream zs; local
34 bzero(&zs, sizeof (zs));
35 zs.next_in = (unsigned char *)src;
36 zs.avail_in = srclen;
37 zs.next_out = dst;
38 zs.avail_out = *dstlen;
45 if ((err = inflateInit2(&zs, 15 | 0x20)) != Z_OK)
48 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
49 (void) inflateEnd(&zs);
[all...]
/illumos-gate/usr/src/common/pnglite/
H A Dpnglite.h71 void *zs; /* pointer to z_stream */ member in struct:__anon16
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_zfetch.c116 dmu_zfetch_stream_remove(zfetch_t *zf, zstream_t *zs) argument
119 list_remove(&zf->zf_stream, zs);
120 mutex_destroy(&zs->zs_lock);
121 kmem_free(zs, sizeof (*zs));
131 zstream_t *zs; local
136 while ((zs = list_head(&zf->zf_stream)) != NULL)
137 dmu_zfetch_stream_remove(zf, zs);
162 for (zstream_t *zs = list_head(&zf->zf_stream);
163 zs !
188 zstream_t *zs = kmem_zalloc(sizeof (*zs), KM_SLEEP); local
209 zstream_t *zs; local
[all...]
H A Dzap_leaf.c809 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) argument
814 zs->zs_leafs_with_2n_pointers[n]++;
819 zs->zs_blocks_with_n5_entries[n]++;
825 zs->zs_blocks_n_tenths_full[n]++;
839 zs->zs_entries_using_n_chunks[n]++;
847 zs->zs_buckets_with_n_entries[n]++;
H A Dzap.c1277 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) argument
1295 zap_leaf_stats(zap, l, zs);
1302 fzap_get_stats(zap_t *zap, zap_stats_t *zs) argument
1305 zs->zs_blocksize = 1ULL << bs;
1310 zs->zs_num_leafs = zap_f_phys(zap)->zap_num_leafs;
1311 zs->zs_num_entries = zap_f_phys(zap)->zap_num_entries;
1312 zs->zs_num_blocks = zap_f_phys(zap)->zap_freeblk;
1313 zs->zs_block_type = zap_f_phys(zap)->zap_block_type;
1314 zs->zs_magic = zap_f_phys(zap)->zap_magic;
1315 zs
[all...]
H A Dzap_micro.c1537 zap_get_stats(objset_t *os, uint64_t zapobj, zap_stats_t *zs) argument
1546 bzero(zs, sizeof (zap_stats_t));
1549 zs->zs_blocksize = zap->zap_dbuf->db_size;
1550 zs->zs_num_entries = zap->zap_m.zap_num_entries;
1551 zs->zs_num_blocks = 1;
1553 fzap_get_stats(zap, zs);
H A Dzvol.c492 zfs_soft_state_t *zs; local
550 zs = ddi_get_soft_state(zfsdev_state, minor);
551 zs->zss_type = ZSST_ZVOL;
552 zv = zs->zss_data = kmem_zalloc(sizeof (zvol_state_t), KM_SLEEP);
1224 zfs_soft_state_t *zs = NULL; local
1238 zs = ddi_get_soft_state(zfsdev_state, getminor(bp->b_edev));
1239 if (zs == NULL)
1241 else if (zs->zss_type != ZSST_ZVOL)
1251 zv = zs->zss_data;
H A Dzfs_ioctl.c6786 zfs_soft_state_t *zs; local
6800 zs = ddi_get_soft_state(zfsdev_state, minor);
6801 zs->zss_type = ZSST_CTLDEV;
6802 zfs_onexit_init((zfs_onexit_t **)&zs->zss_data);
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_common.c70 #define KIOIP KSTAT_INTR_PTR(zs->intrstats)
127 void zsopinit(struct zscom *zs, struct zsops *zso);
129 static void zsnull_intr(struct zscom *zs);
130 static int zsnull_softint(struct zscom *zs);
131 static int zsnull_suspend(struct zscom *zs);
132 static int zsnull_resume(struct zscom *zs);
313 struct zscom *zs; local
330 zs = &zscom[current_chip*2];
334 if (!zs->zs_resume || (zs
711 struct zscom *zs; local
771 struct zscom *zs; local
854 struct zscom *zs; local
896 zsopinit(struct zscom *zs, struct zsops *zso) argument
916 zsmctl(struct zscom *zs, int bits, int how) argument
981 struct zscom *zs = zspp->zs; local
1062 zsnull_intr(struct zscom *zs) argument
1077 zsnull_softint(struct zscom *zs) argument
1087 zsnull_suspend(struct zscom *zs) argument
1112 zsnull_resume(struct zscom *zs) argument
[all...]
H A Dzs_hdlc.c102 zs_h_log[zs_h_log_n++] = 'A' + zs->zs_unit; \
113 if (zsh_h_log_n[zs->zs_unit] >= ZSH_H_LOG_MAX) \
114 zsh_h_log_n[zs->zs_unit] = 0; \
115 zsh_h_log[zs->zs_unit][zsh_h_log_n[zs->zs_unit]++] = c; \
116 zsh_h_log[zs->zs_unit][zsh_h_log_n[zs->zs_unit]] = '\0'; \
121 for (p = &zsh_h_log[zs->zs_unit][ZSH_H_LOG_MAX]; \
122 p >= &zsh_h_log[zs->zs_unit][0]; p--) \
124 zsh_h_log_n[zs
443 register struct zscom *zs; local
480 zsh_init_port(struct zscom *zs, struct syncline *zss) argument
523 register struct zscom *zs; local
640 struct zscom *zs; local
805 zsh_hdp_ok_or_rts_state(struct zscom *zs, struct syncline *zss) argument
831 register struct zscom *zs; local
1134 zsh_start(struct zscom *zs, struct syncline *zss) argument
1236 register struct zscom *zs = (struct zscom *)stp->str_com; local
1390 zsh_setmode(struct zscom *zs, struct syncline *zss, struct scc_mode *sm) argument
1451 zsh_txint(struct zscom *zs) argument
1564 zsh_xsint(struct zscom *zs) argument
1677 zsh_rxint(struct zscom *zs) argument
1717 zsh_srint(struct zscom *zs) argument
1769 zsh_softint(struct zscom *zs) argument
1906 zsh_program(struct zscom *zs, struct scc_mode *sm) argument
2061 zsh_setmstat(struct zscom *zs, int event) argument
2086 zsh_rxbad(struct zscom *zs, struct syncline *zss) argument
2124 zsh_txbad(struct zscom *zs, struct syncline *zss) argument
2154 struct zscom *zs = arg; local
2287 struct zscom *zs = arg; local
[all...]
H A Dzs_async.c226 #define ZSA_GETBLOCK(zs, allocbcount) \
236 zsa_callback, zs); \
244 mutex_enter(zs->zs_excl_hi); \
245 if (!(zs->zs_wreg[5] & ZSWR5_RTS)) { \
254 mutex_exit(zs->zs_excl_hi); \
272 if (zs->zs_wreg[5] & ZSWR5_RTS) \
274 cmn_err(CE_WARN, "zs%d: message lost\n", \
276 } else if (zs->zs_wreg[5] & ZSWR5_RTS) { \
293 mutex_enter(zs->zs_excl_hi); \
295 ZSSETSOFT(zs); \
499 zsa_null(struct zscom *zs) argument
513 zsa_null_int(struct zscom *zs) argument
559 register struct zscom *zs; local
674 zsa_init(struct zscom *zs) argument
719 register struct zscom *zs; local
917 struct zscom *zs = za->za_common; local
970 struct zscom *zs; local
1209 register struct zscom *zs; local
1622 struct zscom *zs; local
1641 zsa_txint(struct zscom *zs) argument
1702 zsa_xsint(struct zscom *zs) argument
1834 zsa_rxint(struct zscom *zs) argument
1957 zsa_srint(struct zscom *zs) argument
2081 zsa_softint(struct zscom *zs) argument
2352 zsa_start(struct zscom *zs) argument
2558 struct zscom *zs = arg; local
2588 struct zscom *zs = arg; local
2708 struct zscom *zs = za->za_common; local
2744 register struct zscom *zs = za->za_common; local
2975 register struct zscom *zs = za->za_common; local
3132 register struct zscom *zs; local
3155 struct zscom *zs = arg; local
3207 zsa_suspend(struct zscom *zs) argument
3304 zsa_resume(struct zscom *zs) argument
3344 zsa_print_info(struct zscom *zs) argument
[all...]
/illumos-gate/usr/src/uts/sun/sys/
H A Dzsdev.h35 * All interfaces described in this file are private to the Sun 'zs' driver
97 ((uintptr_t)zs->zs_addr | ZSOFF))->zscc_control = reg; \
100 ((uintptr_t)zs->zs_addr | ZSOFF))->zscc_control = val; \
102 zs->zs_wreg[reg] = val; \
106 ((uintptr_t)zs->zs_addr & ~ZSOFF))->zscc_control = reg; \
109 ((uintptr_t)zs->zs_addr & ~ZSOFF))->zscc_control = val; \
111 zs->zs_wreg[reg] = val; \
114 zs->zs_addr->zscc_control = reg; \
116 zs->zs_addr->zscc_control = val; \
118 zs
278 struct zscom *zs; /* common data for this channel */ member in struct:zs_prog
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c219 priv_set_t *zs; /* zone */ local
222 zs = priv_str_to_set("zone", ",", NULL);
223 priv = priv_isequalset(ps, zs);
225 priv_freeset(zs);
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c317 z_stream zs; local
320 bzero(&zs, sizeof (z_stream));
321 zs.next_in = (uchar_t *)src;
322 zs.avail_in = srclen;
323 zs.next_out = dst;
324 zs.avail_out = *dstlen;
326 if ((err = zlib.z_initcomp(&zs, Z_BEST_COMPRESSION, ZLIB_VERSION,
330 if ((err = zlib.z_compress(&zs, Z_FINISH)) != Z_STREAM_END) {
331 (void) zlib.z_finicomp(&zs);
335 *dstlen = zs
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c80 struct idmap_zone_specific *zs; member in struct:idmap_get_handle
115 kidmap_rpc_call(idmap_zone_specific_t *zs, uint32_t op,
119 kidmap_call_door(idmap_zone_specific_t *zs, door_arg_t *arg);
129 idmap_zone_specific_t *zs; local
131 zs = idmap_get_zone_specific(zone);
133 mutex_enter(&zs->zone_mutex);
135 if (zs->door_valid)
136 door_ki_rele(zs->door_handle);
138 zs->door_handle = dh;
139 zs
157 idmap_zone_specific_t *zs; local
189 idmap_zone_specific_t *zs; local
198 kidmap_call_door(idmap_zone_specific_t *zs, door_arg_t *arg) argument
310 idmap_zone_specific_t *zs; local
339 idmap_zone_specific_t *zs = arg; local
379 idmap_zone_specific_t *zs; local
402 idmap_zone_specific_t *zs; local
429 idmap_zone_specific_t *zs; local
506 idmap_zone_specific_t *zs; local
583 idmap_zone_specific_t *zs; local
671 idmap_zone_specific_t *zs; local
755 idmap_zone_specific_t *zs; local
832 idmap_zone_specific_t *zs; local
1404 kidmap_rpc_call(idmap_zone_specific_t *zs, uint32_t op, xdrproc_t xdr_args, caddr_t args, xdrproc_t xdr_res, caddr_t res) argument
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1819 priv_set_t *zs; /* zone */ local
1835 zs = priv_str_to_set("zone", ",", NULL);
1836 if (priv_isequalset(ps, zs))
1847 priv_freeset(zs);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c344 priv_set_t *zs; /* zone */ local
360 zs = priv_str_to_set("zone", ",", NULL);
361 if (!priv_isequalset(eset, zs)) {
367 priv_freeset(zs);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c1311 priv_set_t *zs; /* zone */ local
1314 zs = priv_str_to_set("zone", ",", NULL);
1315 priv = priv_isequalset(ps, zs);
1317 priv_freeset(zs);
H A Dns_reads.c3002 priv_set_t *zs; local
3022 zs = priv_str_to_set("zone", ",", NULL);
3023 priv = priv_isequalset(ps, zs);
3025 priv_freeset(zs);
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c5114 zfs_stat_t *zs = &zc.zc_stat; local
5116 if (zs->zs_gen) {
5118 (u_longlong_t)zs->zs_gen);
5120 if (zs->zs_mode) {
5122 (u_longlong_t)zs->zs_mode);
5124 if (zs->zs_links) {
5126 (u_longlong_t)zs->zs_links);
5128 if (zs->zs_ctime[0]) {
5130 (u_longlong_t)zs->zs_ctime[0]);
5132 if (zs
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c6455 zone_def zs; local
6461 if (copyin(arg1, &zs, sizeof (zone_def))) {
6471 zs.zone_name =
6473 zs.zone_root =
6475 zs.zone_privs =
6478 zs.zone_privssz = zs32.zone_privssz;
6479 zs.rctlbuf = (caddr_t)(unsigned long)zs32.rctlbuf;
6480 zs.rctlbufsz = zs32.rctlbufsz;
6481 zs.zfsbuf = (caddr_t)(unsigned long)zs32.zfsbuf;
6482 zs
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c337 zap_stats_t zs; local
339 error = zap_get_stats(os, object, &zs);
343 if (zs.zs_ptrtbl_len == 0) {
344 ASSERT(zs.zs_num_blocks == 1);
346 (u_longlong_t)zs.zs_blocksize,
347 (u_longlong_t)zs.zs_num_entries);
355 (u_longlong_t)zs.zs_ptrtbl_len);
357 (u_longlong_t)zs.zs_ptrtbl_zt_blk);
359 (u_longlong_t)zs.zs_ptrtbl_zt_numblks);
361 (u_longlong_t)zs
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c227 (MAX(zs->zs_mirrors, 1) * (ztest_opts.zo_raidz_parity + 1) - 1)
870 ztest_kill(ztest_shared_t *zs) argument
872 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa));
873 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa));
2845 ztest_shared_t *zs = ztest_shared; local
2856 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * ztest_opts.zo_raidz;
2908 "log" : NULL, ztest_opts.zo_raidz, zs->zs_mirrors, 1);
2931 ztest_shared_t *zs = ztest_shared; local
2951 if (zs
3011 ztest_shared_t *zs = ztest_shared; local
3110 ztest_shared_t *zs = ztest_shared; local
3208 ztest_shared_t *zs = ztest_shared; local
5490 ztest_shared_t *zs = ztest_shared; local
5757 ztest_shared_t *zs = ztest_shared; local
6280 ztest_shared_t *zs = arg; local
6338 ztest_shared_t *zs = ztest_shared; local
6499 ztest_run(ztest_shared_t *zs) argument
6812 ztest_import(ztest_shared_t *zs) argument
6863 ztest_init(ztest_shared_t *zs) argument
7074 ztest_shared_t *zs = ztest_shared; local
7109 ztest_shared_t *zs; local
[all...]

Completed in 376 milliseconds