Home
last modified time | relevance | path

Searched refs:zapobj (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddsl_deleg.c163 uint64_t zapobj; in dsl_deleg_set_sync() local
167 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_set_sync()
168 if (zapobj == 0) { in dsl_deleg_set_sync()
170 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj = zap_create(mos, in dsl_deleg_set_sync()
182 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) != 0) { in dsl_deleg_set_sync()
184 zapobj, whokey, tx); in dsl_deleg_set_sync()
208 uint64_t zapobj; in dsl_deleg_unset_sync() local
211 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_unset_sync()
212 if (zapobj == 0) { in dsl_deleg_unset_sync()
224 if (zap_lookup(mos, zapobj, whokey, 8, in dsl_deleg_unset_sync()
[all …]
H A Dzap_micro.c674 zap_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx) in zap_destroy() argument
682 return (dmu_object_free(os, zapobj, tx)); in zap_destroy()
701 zap_count(objset_t *os, uint64_t zapobj, uint64_t *count) in zap_count() argument
706 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_count()
764 zap_lookup(objset_t *os, uint64_t zapobj, const char *name, in zap_lookup() argument
767 return (zap_lookup_norm(os, zapobj, name, integer_size, in zap_lookup()
772 zap_lookup_norm(objset_t *os, uint64_t zapobj, const char *name, in zap_lookup_norm() argument
782 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_lookup_norm()
821 zap_prefetch_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key, in zap_prefetch_uint64() argument
828 err = zap_lockdir(os, zapobj, NULL, RW_READER, TRUE, FALSE, &zap); in zap_prefetch_uint64()
[all …]
H A Dzfeature.c248 uint64_t zapobj = (feature->fi_flags & ZFEATURE_FLAG_READONLY_COMPAT) ? in feature_get_refcount_from_disk() local
255 if (zapobj == 0) in feature_get_refcount_from_disk()
258 err = zap_lookup(spa->spa_meta_objset, zapobj, in feature_get_refcount_from_disk()
300 uint64_t zapobj = (feature->fi_flags & ZFEATURE_FLAG_READONLY_COMPAT) ? in feature_sync() local
303 VERIFY0(zap_update(spa->spa_meta_objset, zapobj, feature->fi_guid, in feature_sync()
335 uint64_t zapobj = (feature->fi_flags & ZFEATURE_FLAG_READONLY_COMPAT) ? in feature_enable_sync() local
338 ASSERT(0 != zapobj); in feature_enable_sync()
345 if (zap_contains(spa->spa_meta_objset, zapobj, feature->fi_guid) == 0) in feature_enable_sync()
380 uint64_t zapobj = (feature->fi_flags & ZFEATURE_FLAG_READONLY_COMPAT) ? in feature_do_action() local
384 ASSERT(0 != zapobj); in feature_do_action()
H A Ddsl_prop.c165 uint64_t zapobj; in dsl_prop_get_ds() local
169 zapobj = dsl_dataset_phys(ds)->ds_props_obj; in dsl_prop_get_ds()
171 if (zapobj != 0) { in dsl_prop_get_ds()
178 err = zap_lookup(mos, zapobj, propname, intsz, numints, buf); in dsl_prop_get_ds()
192 err = zap_contains(mos, zapobj, inheritstr); in dsl_prop_get_ds()
202 err = zap_lookup(mos, zapobj, recvdstr, in dsl_prop_get_ds()
368 uint64_t zapobj; in dsl_prop_predict() local
384 zapobj = dsl_dir_phys(dd)->dd_props_zapobj; in dsl_prop_predict()
398 err = zap_lookup(mos, zapobj, recvdstr, 8, 1, newvalp); in dsl_prop_predict()
410 err = zap_lookup(mos, zapobj, propname, 8, 1, newvalp); in dsl_prop_predict()
[all …]
H A Ddsl_userhold.c139 uint64_t zapobj; in dsl_dataset_user_hold_sync_one_impl() local
149 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj = in dsl_dataset_user_hold_sync_one_impl()
152 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj; in dsl_dataset_user_hold_sync_one_impl()
156 VERIFY0(zap_add(mos, zapobj, htag, 8, 1, &now, tx)); in dsl_dataset_user_hold_sync_one_impl()
350 uint64_t zapobj; in dsl_dataset_user_release_check_one() local
363 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj; in dsl_dataset_user_release_check_one()
372 if (zapobj != 0) in dsl_dataset_user_release_check_one()
373 error = zap_lookup(mos, zapobj, holdname, 8, 1, &tmp); in dsl_dataset_user_release_check_one()
H A Ddsl_pool.c855 uint64_t zapobj = dp->dp_tmp_userrefs_obj; in dsl_pool_clean_tmp_userrefs() local
858 if (zapobj == 0) in dsl_pool_clean_tmp_userrefs()
864 for (zap_cursor_init(&zc, mos, zapobj); in dsl_pool_clean_tmp_userrefs()
907 uint64_t zapobj = dp->dp_tmp_userrefs_obj; in dsl_pool_user_hold_rele_impl() local
918 if (zapobj == 0) { in dsl_pool_user_hold_rele_impl()
921 zapobj = dp->dp_tmp_userrefs_obj; in dsl_pool_user_hold_rele_impl()
929 error = zap_add(mos, zapobj, name, 8, 1, &now, tx); in dsl_pool_user_hold_rele_impl()
931 error = zap_remove(mos, zapobj, name, tx); in dsl_pool_user_hold_rele_impl()
H A Dzap.c698 uint64_t zapobj = zap->zap_object; in zap_put_leaf_maybe_grow_ptrtbl() local
701 err = zap_lockdir(os, zapobj, tx, in zap_put_leaf_maybe_grow_ptrtbl()
966 zap_value_search(objset_t *os, uint64_t zapobj, uint64_t value, uint64_t mask, in zap_value_search() argument
977 for (zap_cursor_init(&zc, os, zapobj); in zap_value_search()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dzap.h169 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx);
198 int zap_lookup(objset_t *ds, uint64_t zapobj, const char *name,
209 int zap_lookup_norm(objset_t *ds, uint64_t zapobj, const char *name,
213 int zap_lookup_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key,
215 int zap_contains(objset_t *ds, uint64_t zapobj, const char *name);
216 int zap_prefetch_uint64(objset_t *os, uint64_t zapobj, const uint64_t *key,
219 int zap_count_write(objset_t *os, uint64_t zapobj, const char *name,
228 int zap_add(objset_t *ds, uint64_t zapobj, const char *key,
231 int zap_add_uint64(objset_t *ds, uint64_t zapobj, const uint64_t *key,
243 int zap_update(objset_t *ds, uint64_t zapobj, const char *name,
[all …]
H A Ddsl_deleg.h73 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
/titanic_50/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c570 mzap_lookup(mzap_phys_t *zapobj, int objsize, const char *name, in mzap_lookup() argument
574 mzap_ent_phys_t *mzap_ent = zapobj->mz_chunk; in mzap_lookup()