/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu_zfetch.c | 185 dmu_zfetch_dofetch(zfetch_t *zf, zstream_t *zs) in dmu_zfetch_dofetch() argument 193 zs->zst_stride = MAX((int64_t)zs->zst_stride, zs->zst_len); in dmu_zfetch_dofetch() 194 zs->zst_cap = MIN(zfetch_block_cap, 2 * zs->zst_cap); in dmu_zfetch_dofetch() 196 prefetch_tail = MAX((int64_t)zs->zst_ph_offset, in dmu_zfetch_dofetch() 197 (int64_t)(zs->zst_offset + zs->zst_stride)); in dmu_zfetch_dofetch() 201 prefetch_limit = zs->zst_offset + zs->zst_len + in dmu_zfetch_dofetch() 202 (zs->zst_cap * zs->zst_stride) / zs->zst_len; in dmu_zfetch_dofetch() 205 prefetch_ofst = zs->zst_offset + zs->zst_direction * in dmu_zfetch_dofetch() 206 (prefetch_tail - zs->zst_offset); in dmu_zfetch_dofetch() 208 prefetch_len = zs->zst_len; in dmu_zfetch_dofetch() [all …]
|
H A D | zap.c | 1232 zap_stats_ptrtbl(zap_t *zap, uint64_t *tbl, int len, zap_stats_t *zs) in zap_stats_ptrtbl() argument 1251 zap_leaf_stats(zap, l, zs); in zap_stats_ptrtbl() 1258 fzap_get_stats(zap_t *zap, zap_stats_t *zs) in fzap_get_stats() argument 1261 zs->zs_blocksize = 1ULL << bs; in fzap_get_stats() 1266 zs->zs_num_leafs = zap_f_phys(zap)->zap_num_leafs; in fzap_get_stats() 1267 zs->zs_num_entries = zap_f_phys(zap)->zap_num_entries; in fzap_get_stats() 1268 zs->zs_num_blocks = zap_f_phys(zap)->zap_freeblk; in fzap_get_stats() 1269 zs->zs_block_type = zap_f_phys(zap)->zap_block_type; in fzap_get_stats() 1270 zs->zs_magic = zap_f_phys(zap)->zap_magic; in fzap_get_stats() 1271 zs->zs_salt = zap_f_phys(zap)->zap_salt; in fzap_get_stats() [all …]
|
H A D | zap_leaf.c | 842 zap_leaf_stats(zap_t *zap, zap_leaf_t *l, zap_stats_t *zs) in zap_leaf_stats() argument 849 zs->zs_leafs_with_2n_pointers[n]++; in zap_leaf_stats() 854 zs->zs_blocks_with_n5_entries[n]++; in zap_leaf_stats() 860 zs->zs_blocks_n_tenths_full[n]++; in zap_leaf_stats() 874 zs->zs_entries_using_n_chunks[n]++; in zap_leaf_stats() 882 zs->zs_buckets_with_n_entries[n]++; in zap_leaf_stats()
|
H A D | zvol.c | 476 zfs_soft_state_t *zs; in zvol_create_minor() local 534 zs = ddi_get_soft_state(zfsdev_state, minor); in zvol_create_minor() 535 zs->zss_type = ZSST_ZVOL; in zvol_create_minor() 536 zv = zs->zss_data = kmem_zalloc(sizeof (zvol_state_t), KM_SLEEP); in zvol_create_minor() 1221 zfs_soft_state_t *zs = NULL; in zvol_strategy() local 1236 zs = ddi_get_soft_state(zfsdev_state, getminor(bp->b_edev)); in zvol_strategy() 1237 if (zs == NULL) in zvol_strategy() 1239 else if (zs->zss_type != ZSST_ZVOL) in zvol_strategy() 1249 zv = zs->zss_data; in zvol_strategy()
|
H A D | zap_micro.c | 1323 zap_get_stats(objset_t *os, uint64_t zapobj, zap_stats_t *zs) in zap_get_stats() argument 1332 bzero(zs, sizeof (zap_stats_t)); in zap_get_stats() 1335 zs->zs_blocksize = zap->zap_dbuf->db_size; in zap_get_stats() 1336 zs->zs_num_entries = zap->zap_m.zap_num_entries; in zap_get_stats() 1337 zs->zs_num_blocks = 1; in zap_get_stats() 1339 fzap_get_stats(zap, zs); in zap_get_stats()
|
/titanic_41/usr/src/uts/sun/io/ |
H A D | zs_async.c | 224 #define ZSA_GETBLOCK(zs, allocbcount) \ argument 234 zsa_callback, zs); \ 242 mutex_enter(zs->zs_excl_hi); \ 243 if (!(zs->zs_wreg[5] & ZSWR5_RTS)) { \ 252 mutex_exit(zs->zs_excl_hi); \ 270 if (zs->zs_wreg[5] & ZSWR5_RTS) \ 274 } else if (zs->zs_wreg[5] & ZSWR5_RTS) { \ 291 mutex_enter(zs->zs_excl_hi); \ 293 ZSSETSOFT(zs); \ 294 mutex_exit(zs->zs_excl_hi); \ [all …]
|
H A D | zs_common.c | 70 #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; in zsattach() local 330 zs = &zscom[current_chip*2]; in zsattach() 334 if (!zs->zs_resume || (zs->zs_resume)(zs) != DDI_SUCCESS) in zsattach() 339 zs++; in zsattach() [all …]
|
H A D | zs_hdlc.c | 101 zs_h_log[zs_h_log_n++] = 'A' + zs->zs_unit; \ 112 if (zsh_h_log_n[zs->zs_unit] >= ZSH_H_LOG_MAX) \ 113 zsh_h_log_n[zs->zs_unit] = 0; \ 114 zsh_h_log[zs->zs_unit][zsh_h_log_n[zs->zs_unit]++] = c; \ 115 zsh_h_log[zs->zs_unit][zsh_h_log_n[zs->zs_unit]] = '\0'; \ 120 for (p = &zsh_h_log[zs->zs_unit][ZSH_H_LOG_MAX]; \ 121 p >= &zsh_h_log[zs->zs_unit][0]; p--) \ 123 zsh_h_log_n[zs->zs_unit] = 0; \ 163 static int zsh_start(struct zscom *zs, struct syncline *zss); 250 static void zsh_txint(struct zscom *zs); [all …]
|
/titanic_41/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() 46 zs.next_in = (uchar_t *)src; 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() 56 if ((err = inflateInit2(&zs, DEF_WBITS | 0x20)) != Z_OK) in z_uncompress() 59 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress() 60 (void) inflateEnd(&zs); in z_uncompress() 64 *dstlen = zs.total_out; in z_uncompress() [all …]
|
/titanic_41/usr/src/uts/sun/sys/ |
H A D | zsdev.h | 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->zs_wreg[reg] = val; \ 123 ((uintptr_t)zs->zs_addr | ZSOFF))->zscc_control = reg; \ [all …]
|
/titanic_41/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 78 struct idmap_zone_specific *zs; member 113 kidmap_rpc_call(idmap_zone_specific_t *zs, uint32_t op, 118 kidmap_call_door(idmap_zone_specific_t *zs, door_arg_t *arg); 128 idmap_zone_specific_t *zs; in idmap_reg_dh() local 130 zs = idmap_get_zone_specific(zone); in idmap_reg_dh() 132 mutex_enter(&zs->zone_mutex); in idmap_reg_dh() 134 if (zs->door_valid) in idmap_reg_dh() 135 door_ki_rele(zs->door_handle); in idmap_reg_dh() 137 zs->door_handle = dh; in idmap_reg_dh() 138 zs->door_valid = 1; in idmap_reg_dh() [all …]
|
/titanic_41/usr/src/cmd/ztest/ |
H A D | ztest.c | 202 (MAX(zs->zs_mirrors, 1) * (ztest_opts.zo_raidz_parity + 1) - 1) 767 ztest_kill(ztest_shared_t *zs) in ztest_kill() argument 769 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa)); in ztest_kill() 770 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa)); in ztest_kill() 2495 ztest_shared_t *zs = ztest_shared; in ztest_vdev_add_remove() local 2503 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * ztest_opts.zo_raidz; in ztest_vdev_add_remove() 2543 zs->zs_mirrors, 1); in ztest_vdev_add_remove() 2564 ztest_shared_t *zs = ztest_shared; in ztest_vdev_aux_add_remove() local 2593 zs->zs_vdev_aux = 0; in ztest_vdev_aux_add_remove() 2599 zs->zs_vdev_aux); in ztest_vdev_aux_add_remove() [all …]
|
/titanic_41/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
|
/titanic_41/usr/src/cmd/zevadm/ |
H A D | zevadm.c | 112 zev_statistics_t zs; in zev_statistics() local 113 if (ioctl(fd, ZEV_IOC_GET_GLOBAL_STATISTICS, &zs)) { in zev_statistics() 119 printf(" queue length in bytes : %lu\n", zs.zev_queue_len); in zev_statistics() 120 printf(" queue length limit : %lu\n", zs.zev_max_queue_len); in zev_statistics() 121 printf(" bytes read from device : %lu\n", zs.zev_bytes_read); in zev_statistics() 122 printf(" module internal errors : %lu\n\n", zs.zev_cnt_errors); in zev_statistics() 125 zs.zev_cnt_discarded_events); in zev_statistics() 126 printf(" discarded bytes : %lu\n\n", zs.zev_bytes_discarded); in zev_statistics() 130 printf(" total ZFS events : %lu\n", zs.zev_cnt_total_events); in zev_statistics() 131 printf(" ZFS mount : %lu\n", zs.zev_cnt_zfs_mount); in zev_statistics() [all …]
|
/titanic_41/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
|
/titanic_41/usr/src/common/bzip2/ |
H A D | bzlib.c | 422 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ argument 426 if (zchh != zs->state_in_ch && \ 427 zs->state_in_len == 1) { \ 428 UChar ch = (UChar)(zs->state_in_ch); \ 429 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 430 zs->inUse[zs->state_in_ch] = True; \ 431 zs->block[zs->nblock] = (UChar)ch; \ 432 zs->nblock++; \ 433 zs->state_in_ch = zchh; \ 437 if (zchh != zs->state_in_ch || \ [all …]
|
/titanic_41/usr/src/cmd/zdb/ |
H A D | zdb.c | 288 zap_stats_t zs; in dump_zap_stats() local 290 error = zap_get_stats(os, object, &zs); in dump_zap_stats() 294 if (zs.zs_ptrtbl_len == 0) { in dump_zap_stats() 295 ASSERT(zs.zs_num_blocks == 1); in dump_zap_stats() 297 (u_longlong_t)zs.zs_blocksize, in dump_zap_stats() 298 (u_longlong_t)zs.zs_num_entries); in dump_zap_stats() 306 (u_longlong_t)zs.zs_ptrtbl_len); in dump_zap_stats() 308 (u_longlong_t)zs.zs_ptrtbl_zt_blk); in dump_zap_stats() 310 (u_longlong_t)zs.zs_ptrtbl_zt_numblks); in dump_zap_stats() 312 (u_longlong_t)zs.zs_ptrtbl_zt_shift); in dump_zap_stats() [all …]
|
/titanic_41/usr/src/uts/sun4u/zsh/ |
H A D | Makefile | 66 LDFLAGS += -dy -N drv/zs
|
/titanic_41/usr/src/uts/sun4u/zs/ |
H A D | Makefile | 41 MODULE = zs
|
/titanic_41/usr/src/uts/common/os/ |
H A D | zone.c | 6239 zone_def zs; in zone() local 6245 if (copyin(arg1, &zs, sizeof (zone_def))) { in zone() 6255 zs.zone_name = in zone() 6257 zs.zone_root = in zone() 6259 zs.zone_privs = in zone() 6262 zs.zone_privssz = zs32.zone_privssz; in zone() 6263 zs.rctlbuf = (caddr_t)(unsigned long)zs32.rctlbuf; in zone() 6264 zs.rctlbufsz = zs32.rctlbufsz; in zone() 6265 zs.zfsbuf = (caddr_t)(unsigned long)zs32.zfsbuf; in zone() 6266 zs.zfsbufsz = zs32.zfsbufsz; in zone() [all …]
|
/titanic_41/usr/src/lib/passwdutil/ |
H A D | ldap_attr.c | 218 priv_set_t *zs; /* zone */ in ldap_user_to_authenticate() local 221 zs = priv_str_to_set("zone", ",", NULL); in ldap_user_to_authenticate() 222 priv = priv_isequalset(ps, zs); in ldap_user_to_authenticate() 224 priv_freeset(zs); in ldap_user_to_authenticate()
|
/titanic_41/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 337 priv_set_t *zs; /* zone */ in _nscd_check_client_priv() local 353 zs = priv_str_to_set("zone", ",", NULL); in _nscd_check_client_priv() 354 if (!priv_isequalset(eset, zs)) { in _nscd_check_client_priv() 360 priv_freeset(zs); in _nscd_check_client_priv()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap_leaf.h | 242 struct zap_stats *zs);
|
/titanic_41/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 1821 priv_set_t *zs; /* zone */ local 1837 zs = priv_str_to_set("zone", ",", NULL); 1838 if (priv_isequalset(ps, zs)) 1849 priv_freeset(zs);
|