/illumos-gate/usr/src/uts/sun/io/ |
H A D | zs_async.c | 409 zsa_h_log[zs->zs_unit][zsa_h_log_n[zs->zs_unit]++] = c; \ 410 zsa_h_log[zs->zs_unit][zsa_h_log_n[zs->zs_unit]] = '\0'; \ 1036 if (cv_wait_sig(&zs->zs_flags_cv, zs->zs_excl) == 0) in zsa_close() 1154 cv_wait(&zs->zs_flags_cv, zs->zs_excl); in zsa_close() 1189 (void) pm_idle_component(zs->zs_dip, zs->zs_unit%2+1); in zsa_close() 2097 if (zs->zs_suspended || (zs->zs_flags & ZS_CLOSED)) { in zsa_softint() 2453 zs, in zsa_start() 3086 speed = zs->zs_wreg[12] + (zs->zs_wreg[13] << 8); in zsa_program() 3103 wr3 != zs->zs_wreg[3] || wr4 != zs->zs_wreg[4] || in zsa_program() 3109 zspp->zs = zs; in zsa_program() [all …]
|
H A D | zs_common.c | 334 if (!zs->zs_resume || (zs->zs_resume)(zs) != DDI_SUCCESS) in zsattach() 786 (zs->zs_xsint)(zs); in zs_high_intr() 789 (zs->zs_txint)(zs); in zs_high_intr() 793 (zs->zs_srint)(zs); in zs_high_intr() 795 (zs->zs_rxint)(zs); in zs_high_intr() 801 (zs->zs_xsint)(zs); in zs_high_intr() 804 (zs->zs_txint)(zs); in zs_high_intr() 808 (zs->zs_srint)(zs); in zs_high_intr() 810 (zs->zs_rxint)(zs); in zs_high_intr() 871 for (zs = &zscom[0]; zs <= zslast; zs++) { in zsintr() [all …]
|
H A D | zs_hdlc.c | 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'; \ 344 ZSSETSOFT(zs); \ 660 if (zs == NULL) in zsh_close() 791 (void) pm_idle_component(zs->zs_dip, zs->zs_unit%2+1); in zsh_close() 1198 ZSSETSOFT(zs); in zsh_start() 1499 zs->zs_wr_cur = zs->zs_wr_lim = NULL; in zsh_txint() 1510 ZSSETSOFT(zs); in zsh_txint() 1753 ZSSETSOFT(zs); in zsh_srint() 2016 zspp->zs = zs; in zsh_program() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_zfetch.c | 133 kmem_free(zs, sizeof (*zs)); in dmu_zfetch_stream_fini() 161 zstream_t *zs; in dmu_zfetch_fini() local 197 zs != NULL; zs = zs_next) { in dmu_zfetch_stream_create() 225 zstream_t *zs = kmem_zalloc(sizeof (*zs), KM_SLEEP); in dmu_zfetch_stream_create() local 274 zstream_t *zs; in dmu_zfetch() local 321 for (zs = list_head(&zf->zf_stream); zs != NULL; in dmu_zfetch() 322 zs = list_next(&zf->zf_stream, zs)) { in dmu_zfetch() 323 if (blkid == zs->zs_blkid || blkid + 1 == zs->zs_blkid) { in dmu_zfetch() 350 if (zs == NULL) { in dmu_zfetch() 403 ipf_start = MAX(zs->zs_ipf_blkid, zs->zs_pf_blkid); in dmu_zfetch() [all …]
|
H A D | zap.c | 1295 zap_leaf_stats(zap, l, zs); in zap_stats_ptrtbl() 1302 fzap_get_stats(zap_t *zap, zap_stats_t *zs) in fzap_get_stats() argument 1305 zs->zs_blocksize = 1ULL << bs; in fzap_get_stats() 1310 zs->zs_num_leafs = zap_f_phys(zap)->zap_num_leafs; in fzap_get_stats() 1312 zs->zs_num_blocks = zap_f_phys(zap)->zap_freeblk; in fzap_get_stats() 1313 zs->zs_block_type = zap_f_phys(zap)->zap_block_type; in fzap_get_stats() 1314 zs->zs_magic = zap_f_phys(zap)->zap_magic; in fzap_get_stats() 1315 zs->zs_salt = zap_f_phys(zap)->zap_salt; in fzap_get_stats() 1322 zs->zs_ptrtbl_blks_copied = in fzap_get_stats() 1331 1 << ZAP_EMBEDDED_PTRTBL_SHIFT(zap), zs); in fzap_get_stats() [all …]
|
H A D | zap_leaf.c | 809 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) in zap_leaf_stats() argument 814 zs->zs_leafs_with_2n_pointers[n]++; in zap_leaf_stats() 819 zs->zs_blocks_with_n5_entries[n]++; in zap_leaf_stats() 825 zs->zs_blocks_n_tenths_full[n]++; in zap_leaf_stats() 839 zs->zs_entries_using_n_chunks[n]++; in zap_leaf_stats() 847 zs->zs_buckets_with_n_entries[n]++; in zap_leaf_stats()
|
H A D | zvol.c | 490 zfs_soft_state_t *zs; in zvol_create_minor() local 548 zs = ddi_get_soft_state(zfsdev_state, minor); in zvol_create_minor() 549 zs->zss_type = ZSST_ZVOL; in zvol_create_minor() 550 zv = zs->zss_data = kmem_zalloc(sizeof (zvol_state_t), KM_SLEEP); in zvol_create_minor() 1176 zfs_soft_state_t *zs = NULL; in zvol_strategy() local 1190 zs = ddi_get_soft_state(zfsdev_state, getminor(bp->b_edev)); in zvol_strategy() 1191 if (zs == NULL) in zvol_strategy() 1193 else if (zs->zss_type != ZSST_ZVOL) in zvol_strategy() 1203 zv = zs->zss_data; in zvol_strategy()
|
H A D | zap_micro.c | 1537 zap_get_stats(objset_t *os, uint64_t zapobj, zap_stats_t *zs) in zap_get_stats() argument 1546 bzero(zs, sizeof (zap_stats_t)); in zap_get_stats() 1549 zs->zs_blocksize = zap->zap_dbuf->db_size; in zap_get_stats() 1550 zs->zs_num_entries = zap->zap_m.zap_num_entries; in zap_get_stats() 1551 zs->zs_num_blocks = 1; in zap_get_stats() 1553 fzap_get_stats(zap, zs); in zap_get_stats()
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | zmod.c | 42 z_stream zs; in z_uncompress() local 45 bzero(&zs, sizeof (zs)); in z_uncompress() 47 zs.avail_in = srclen; in z_uncompress() 48 zs.next_out = dst; in z_uncompress() 49 zs.avail_out = *dstlen; in z_uncompress() 64 *dstlen = zs.total_out; in z_uncompress() 73 z_stream zs; in z_compress_level() local 76 bzero(&zs, sizeof (zs)); in z_compress_level() 78 zs.avail_in = srclen; in z_compress_level() 79 zs.next_out = dst; in z_compress_level() [all …]
|
/illumos-gate/usr/src/uts/sun/sys/ |
H A D | zsdev.h | 102 zs->zs_wreg[reg] = val; \ 111 zs->zs_wreg[reg] = val; \ 114 zs->zs_addr->zscc_control = reg; \ 116 zs->zs_addr->zscc_control = val; \ 118 zs->zs_wreg[reg] = val; \ 139 tmp = zs->zs_addr; \ 149 zs->zs_addr->zscc_control = zs->zs_wreg[reg] |= val; \ 156 zs->zs_addr->zscc_control = zs->zs_wreg[reg] &= ~val; \ 168 zs->zs_addr->zscc_data = val; \ 257 #define ZSSETSOFT(zs) { \ argument [all …]
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 135 if (zs->door_valid) in idmap_reg_dh() 139 zs->door_valid = 1; in idmap_reg_dh() 165 if (!zs->door_valid || zs->door_handle != dh) { in idmap_unreg_dh() 281 if (zs->door_valid && dh == zs->door_handle) { in kidmap_call_door() 315 if (zs != NULL) in idmap_get_zone_specific() 316 return (zs); in idmap_get_zone_specific() 320 if (zs == NULL) { in idmap_get_zone_specific() 327 return (zs); in idmap_get_zone_specific() 331 return (zs); in idmap_get_zone_specific() 340 if (zs != NULL) { in idmap_zone_destroy() [all …]
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | gzip.c | 31 z_stream zs; in z_uncompress() local 34 bzero(&zs, sizeof (zs)); in z_uncompress() 35 zs.next_in = (unsigned char *)src; in z_uncompress() 36 zs.avail_in = srclen; in z_uncompress() 37 zs.next_out = dst; in z_uncompress() 38 zs.avail_out = *dstlen; in z_uncompress() 45 if ((err = inflateInit2(&zs, 15 | 0x20)) != Z_OK) in z_uncompress() 48 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress() 49 (void) inflateEnd(&zs); in z_uncompress() 53 *dstlen = zs.total_out; in z_uncompress() [all …]
|
/illumos-gate/usr/src/common/pnglite/ |
H A D | pnglite.c | 247 png->zs = calloc(1, sizeof (z_stream)); in png_init_inflate() 249 stream = png->zs; in png_init_inflate() 255 free(png->zs); in png_init_inflate() 256 png->zs = NULL; in png_init_inflate() 269 z_stream *stream = png->zs; in png_end_inflate() 280 free(png->zs); in png_end_inflate() 281 png->zs = NULL; in png_end_inflate() 290 z_stream *stream = png->zs; in png_inflate() 369 if (!png->zs) { in png_process_chunk() 563 png->zs = NULL; in png_get_data() [all …]
|
H A D | pnglite.h | 71 void *zs; /* pointer to z_stream */ member
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 3200 ++zs->zs_splits; in ztest_split_pool() 3201 --zs->zs_mirrors; in ztest_split_pool() 6419 delta = zs->zs_thread_stop - zs->zs_thread_start + in ztest_deadman_thread() 6483 ztest_kill(zs); in ztest_thread() 6653 zs->zs_thread_stop = MIN(zs->zs_thread_stop, zs->zs_proc_stop); in ztest_run() 6654 zs->zs_thread_kill = zs->zs_thread_stop; in ztest_run() 7011 zs->zs_splits = 0; in ztest_init() 7230 ztest_init(zs); in ztest_run_init() 7302 ztest_run(zs); in main() 7339 if (zs->zs_proc_start + zi->zi_interval[0] > zs->zs_proc_stop) in main() [all …]
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | zsmach.h | 40 #define ZSFLUSH() (void) zs->zs_addr->zscc_control 41 #define ZSNEXTPOLL(zs, zscurr) argument
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 317 z_stream zs; in z_compress() local 320 bzero(&zs, sizeof (z_stream)); in z_compress() 321 zs.next_in = (uchar_t *)src; in z_compress() 322 zs.avail_in = srclen; in z_compress() 323 zs.next_out = dst; in z_compress() 324 zs.avail_out = *dstlen; in z_compress() 326 if ((err = zlib.z_initcomp(&zs, Z_BEST_COMPRESSION, ZLIB_VERSION, in z_compress() 330 if ((err = zlib.z_compress(&zs, Z_FINISH)) != Z_STREAM_END) { in z_compress() 331 (void) zlib.z_finicomp(&zs); in z_compress() 335 *dstlen = zs.total_out; in z_compress() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | minor_perm | 9 zs:[a-z] 0666 root sys 10 zs:[a-z],cu 0600 uucp uucp
|
H A D | name_to_major | 2 zs 29
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | bzlib.c | 399 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ argument 403 if (zchh != zs->state_in_ch && \ 404 zs->state_in_len == 1) { \ 405 UChar ch = (UChar)(zs->state_in_ch); \ 406 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 407 zs->inUse[zs->state_in_ch] = True; \ 408 zs->block[zs->nblock] = (UChar)ch; \ 409 zs->nblock++; \ 410 zs->state_in_ch = zchh; \ 414 if (zchh != zs->state_in_ch || \ [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | zone.c | 6477 zone_def zs; in zone() local 6493 zs.zone_name = in zone() 6495 zs.zone_root = in zone() 6497 zs.zone_privs = in zone() 6508 zs.doi = zs32.doi; in zone() 6516 return (zone_create(zs.zone_name, zs.zone_root, in zone() 6517 zs.zone_privs, zs.zone_privssz, in zone() 6518 (caddr_t)zs.rctlbuf, zs.rctlbufsz, in zone() 6519 (caddr_t)zs.zfsbuf, zs.zfsbufsz, in zone() 6520 zs.extended_error, zs.match, zs.doi, in zone() [all …]
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | ldap_attr.c | 219 priv_set_t *zs; /* zone */ in ldap_user_to_authenticate() local 222 zs = priv_str_to_set("zone", ",", NULL); in ldap_user_to_authenticate() 223 priv = priv_isequalset(ps, zs); in ldap_user_to_authenticate() 225 priv_freeset(zs); in ldap_user_to_authenticate()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 344 priv_set_t *zs; /* zone */ in _nscd_check_client_priv() local 360 zs = priv_str_to_set("zone", ",", NULL); in _nscd_check_client_priv() 361 if (!priv_isequalset(eset, zs)) { in _nscd_check_client_priv() 367 priv_freeset(zs); in _nscd_check_client_priv()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 333 zap_stats_t zs; in dump_zap_stats() local 339 if (zs.zs_ptrtbl_len == 0) { in dump_zap_stats() 340 ASSERT(zs.zs_num_blocks == 1); in dump_zap_stats() 342 (u_longlong_t)zs.zs_blocksize, in dump_zap_stats() 351 (u_longlong_t)zs.zs_ptrtbl_len); in dump_zap_stats() 364 (u_longlong_t)zs.zs_num_entries); in dump_zap_stats() 366 (u_longlong_t)zs.zs_num_leafs); in dump_zap_stats() 368 (u_longlong_t)zs.zs_num_blocks); in dump_zap_stats() 370 (u_longlong_t)zs.zs_block_type); in dump_zap_stats() 372 (u_longlong_t)zs.zs_magic); in dump_zap_stats() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap_leaf.h | 242 struct zap_stats *zs);
|