Searched defs:za (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt_zap.c115 zap_attribute_t za; local
130 if ((error = zap_cursor_retrieve(&zc, &za)) == 0) {
132 uint64_t csize = za.za_num_integers;
133 ASSERT(za.za_integer_length == 1);
134 error = zap_lookup_uint64(os, object, (uint64_t *)za.za_name,
140 dde->dde_key = *(ddt_key_t *)za.za_name;
H A Dspa_errlog.c166 zap_attribute_t za; local
173 zap_cursor_retrieve(&zc, &za) == 0;
181 name_to_bookmark(za.za_name, &zb);
H A Dzcp_iter.c54 zap_attribute_t za; local
75 err = zap_cursor_retrieve(&zc, &za);
89 err = dsl_dataset_hold_obj(dp, za.za_first_integer, FTAG, &clone);
H A Ddsl_deadlist.c68 zap_attribute_t za; local
80 zap_cursor_retrieve(&zc, &za) == 0;
83 dle->dle_mintxg = zfs_strtonum(za.za_name, NULL);
85 za.za_first_integer));
169 zap_attribute_t za; local
178 zap_cursor_retrieve(&zc, &za) == 0;
180 uint64_t obj = za.za_first_integer;
482 zap_attribute_t za; local
499 zap_cursor_retrieve(&zc, &za) == 0;
501 uint64_t mintxg = zfs_strtonum(za
[all...]
H A Dzfeature.c180 zap_attribute_t za; local
186 zap_cursor_retrieve(&zc, &za) == 0;
188 ASSERT(za.za_integer_length == sizeof (uint64_t) &&
189 za.za_num_integers == 1);
192 fnvlist_add_uint64(enabled_feat, za.za_name,
193 za.za_first_integer);
196 if (za.za_first_integer != 0 &&
197 !zfeature_is_supported(za.za_name)) {
205 za.za_name, 1, sizeof (buf), buf) == 0)
208 VERIFY(nvlist_add_string(unsup_feat, za
[all...]
H A Ddsl_userhold.c672 zap_attribute_t *za; local
675 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
678 zap_cursor_retrieve(&zc, za) == 0;
680 fnvlist_add_uint64(nvl, za->za_name,
681 za->za_first_integer);
684 kmem_free(za, sizeof (zap_attribute_t));
H A Ddsl_deleg.c346 zap_attribute_t za; local
354 zap_cursor_retrieve(&zc, &za) == 0;
356 fnvlist_add_boolean(perms_nvp, za.za_name);
476 zap_attribute_t za; local
490 zap_cursor_retrieve(&zc, &za) == 0;
493 (void) strlcpy(permnode->p_setname, za.za_name,
677 zap_attribute_t za; local
701 zap_cursor_retrieve(&zc, &za) == 0;
704 ASSERT(za.za_integer_length == 8 && za
740 zap_attribute_t za; local
[all...]
H A Ddsl_destroy.c188 zap_attribute_t za; local
199 zap_cursor_retrieve(&zc, &za) == 0;
204 za.za_first_integer, FTAG, &clone));
H A Ddsl_prop.c543 zap_attribute_t *za; local
596 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
599 zap_cursor_retrieve(&zc, za) == 0;
601 dsl_prop_changed_notify(dp, za->za_first_integer,
604 kmem_free(za, sizeof (zap_attribute_t));
937 zap_attribute_t za; local
941 (err = zap_cursor_retrieve(&zc, &za)) == 0;
951 suffix = strchr(za.za_name, '$');
961 propname = za.za_name;
970 (void) strncpy(buf, za
[all...]
H A Ddsl_pool.c1087 zap_attribute_t za; local
1100 zap_cursor_retrieve(&zc, &za) == 0;
1105 htag = strchr(za.za_name, '-');
1108 if (nvlist_lookup_nvlist(holds, za.za_name, &tags) != 0) {
1111 fnvlist_add_nvlist(holds, za.za_name, tags);
H A Dspa_log_spacemap.c1003 zap_attribute_t za; local
1005 (error = zap_cursor_retrieve(&zc, &za)) == 0;
1007 uint64_t log_txg = zfs_strtonum(za.za_name, NULL);
1009 spa_log_sm_alloc(za.za_first_integer, log_txg);
H A Dzap.c1008 zap_attribute_t *za = kmem_alloc(sizeof (*za), KM_SLEEP); local
1010 (err = zap_cursor_retrieve(&zc, za)) == 0;
1012 if ((za->za_first_integer & mask) == (value & mask)) {
1013 (void) strcpy(name, za->za_name);
1018 kmem_free(za, sizeof (*za));
1028 zap_attribute_t *za = kmem_alloc(sizeof (*za), KM_SLEEP); local
1030 zap_cursor_retrieve(&zc, za)
1053 zap_attribute_t *za = kmem_alloc(sizeof (*za), KM_SLEEP); local
1078 zap_attribute_t *za = kmem_alloc(sizeof (*za), KM_SLEEP); local
1193 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za) argument
[all...]
H A Dzap_micro.c1464 zap_cursor_retrieve(zap_cursor_t *zc, zap_attribute_t *za) argument
1493 err = fzap_cursor_retrieve(zc->zc_zap, zc, za);
1510 za->za_normalization_conflict =
1512 za->za_integer_length = 8;
1513 za->za_num_integers = 1;
1514 za->za_first_integer = mzep->mze_value;
1515 (void) strcpy(za->za_name, mzep->mze_name);
H A Ddsl_dir.c526 zap_attribute_t *za; local
543 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
547 zap_cursor_retrieve(zc, za) == 0; zap_cursor_advance(zc)) {
551 VERIFY0(dsl_dir_hold_obj(dp, za->za_first_integer, NULL, FTAG,
583 zap_cursor_retrieve(zc, za) == 0;
586 if (za->za_name[0] != '%')
594 kmem_free(za, sizeof (zap_attribute_t));
H A Ddsl_crypt.c1406 zap_attribute_t *za;
1454 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
1459 zap_cursor_retrieve(zc, za) == 0;
1462 za->za_first_integer, new_rddobj, wkey, tx);
1466 kmem_free(za, sizeof (zap_attribute_t));
1405 zap_attribute_t *za; local
H A Dsa.c837 zap_attribute_t za; local
912 (error = zap_cursor_retrieve(&zc, &za)) == 0;
915 value = za.za_first_integer;
927 kmem_zalloc(strlen(za.za_name) +1, KM_SLEEP);
928 (void) strlcpy(tb[ATTR_NUM(value)].sa_name, za.za_name,
929 strlen(za.za_name) +1);
992 zap_attribute_t za; local
1050 (error = zap_cursor_retrieve(&zc, &za)) == 0;
1056 za.za_num_integers, KM_SLEEP);
1059 za
[all...]
H A Dzfs_vfsops.c695 zap_attribute_t za; local
727 (error = zap_cursor_retrieve(&zc, &za)) == 0;
737 if ((offset > 0) != (strncmp(za.za_name, DMU_OBJACCT_PREFIX,
741 fuidstr_to_sid(zfsvfs, za.za_name + offset,
744 buf->zu_space = za.za_first_integer;
H A Ddsl_dataset.c1881 zap_attribute_t za; local
1899 zap_cursor_retrieve(&zc, &za) == 0;
1904 za.za_first_integer, FTAG, &clone));
3190 zap_attribute_t za; local
3194 zap_cursor_retrieve(&zc, &za) == 0;
3199 if (za.za_first_integer == oldnext_obj) {
3208 za.za_first_integer, FTAG, &cnds));
H A Ddsl_scan.c560 zap_attribute_t za; local
564 zap_cursor_retrieve(&zc, &za) == 0;
567 zfs_strtonum(za.za_name, NULL),
568 za.za_first_integer);
2384 zap_attribute_t za; local
2387 zap_cursor_retrieve(&zc, &za) == 0;
2390 zfs_strtonum(za.za_name, NULL),
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c189 zap_attribute_t za; local
194 zap_cursor_retrieve(&zc, &za) == 0;
196 if (za.za_integer_length == 8) {
197 ASSERT(za.za_num_integers == 1);
199 za.za_name, (u_longlong_t)za.za_first_integer);
201 ASSERT(za.za_integer_length == 1);
203 VERIFY(zap_lookup(os, obj, za.za_name,
205 (void) printf("\t%s = %s\n", za.za_name, val);
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c218 zfs_handle_t **za = (zfs_handle_t **)a; local
223 verify(zfs_prop_get(*za, ZFS_PROP_MOUNTPOINT, mounta,
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c800 typedef int (zap_cb_t)(zap_attribute_t *za, void *arg, char *stack);
806 zap_attribute_t za; local
827 za.za_integer_length = 8;
828 za.za_num_integers = 1;
833 za.za_first_integer = mzep->mze_value;
834 za.za_name = mzep->mze_name;
835 err = cb(&za, arg, stack);
924 check_feature(zap_attribute_t *za, void *arg, char *stack) argument
929 if (za->za_first_integer == 0)
933 if (grub_strcmp(za
1596 zap_attribute_t za; local
[all...]
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_async.c230 if (!za->za_rstandby[n]) { \
231 if ((za->za_rstandby[n] = allocb(ZSA_RCV_SIZE, \
233 if (za->za_bufcid == 0) { \
234 za->za_bufcid = bufcall(ZSA_RCV_SIZE, \
243 if (za->za_ttycommon.t_cflag & CRTSXOFF) { \
248 if (!za->za_rstandby[n]) \
251 zslowat[SPEED(za->za_ttycommon.t_cflag)]) \
265 if ((mp = za->za_rstandby[n]) != NULL) { \
266 za->za_rstandby[n] = NULL; \
270 if (za
720 register struct asyncline *za; local
916 struct asyncline *za = arg; local
969 struct asyncline *za; local
1208 register struct asyncline *za; local
1621 struct asyncline *za; local
1643 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
1704 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
1836 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
1959 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
2083 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
2354 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
2559 struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
2589 struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
2707 struct asyncline *za = arg; local
2742 zsa_ioctl(struct asyncline *za, queue_t *wq, mblk_t *mp) argument
2973 zsa_program(struct asyncline *za, int setibaud) argument
3156 struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
3171 zsa_set_za_rcv_flags_mask(struct asyncline *za) argument
3209 struct asyncline *za; local
3306 register struct asyncline *za; local
3346 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c1213 zfs_handle_t *za = *zap; local
1223 zoneda = zfs_prop_get_int(za, ZFS_PROP_ZONED);
1230 gota = (zfs_get_type(za) == ZFS_TYPE_FILESYSTEM);
1232 verify(zfs_prop_get(za, ZFS_PROP_MOUNTPOINT, mounta,
1268 return (strcmp(zfs_get_name(za), zfs_get_name(zb)));
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c3821 struct zsched_arg *za = arg; local
3824 zone_t *zone = za->zone;
3833 nvlist_t *nvl = za->nvlist;

Completed in 229 milliseconds

12