Searched defs:dsobj (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_iter.c50 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1)); local
57 err = dsl_dataset_hold_obj(dp, dsobj, FTAG, &ds);
62 "unexpected error %d from dsl_dataset_hold_obj(dsobj)",
126 uint64_t dsobj, cursor; local
138 dsobj = ds->ds_object;
146 lua_pushnumber(state, dsobj);
157 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1)); local
164 err = dsl_dataset_hold_obj(dp, dsobj, FTAG, &ds);
167 "unexpected error %d from dsl_dataset_hold_obj(dsobj)",
215 uint64_t dsobj; local
254 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1)); local
316 uint64_t dsobj; local
[all...]
H A Ddsl_userhold.c360 /* Place a dataset hold on the snapshot identified by passed dsobj string */
362 dsl_dataset_hold_obj_string(dsl_pool_t *dp, const char *dsobj, void *tag, argument
365 return (dsl_dataset_hold_obj(dp, zfs_strtonum(dsobj, NULL), tag, dsp));
558 * If tmpdp is not NULL the names for holds should be the dsobj's of snapshots,
587 /* Temporary holds are specified by dsobj string. */
H A Ddsl_pool.c1057 uint64_t dsobj; local
1065 dsobj = dsl_dataset_create_sync(dp->dp_root_dir, ORIGIN_DIR_NAME,
1067 VERIFY0(dsl_dataset_hold_obj(dp, dsobj, FTAG, &ds));
1138 dsl_pool_user_hold_rele_impl(dsl_pool_t *dp, uint64_t dsobj, argument
1162 name = kmem_asprintf("%llx-%s", (u_longlong_t)dsobj, tag);
1176 dsl_pool_user_hold(dsl_pool_t *dp, uint64_t dsobj, const char *tag, argument
1179 return (dsl_pool_user_hold_rele_impl(dp, dsobj, tag, now, tx, B_TRUE));
1186 dsl_pool_user_release(dsl_pool_t *dp, uint64_t dsobj, const char *tag, argument
1189 return (dsl_pool_user_hold_rele_impl(dp, dsobj, tag, 0, tx, B_FALSE));
H A Ddsl_crypt.c1054 spa_keystore_remove_mapping(spa_t *spa, uint64_t dsobj, void *tag) argument
1061 search_km.km_dsobj = dsobj;
1092 spa_keystore_lookup_key(spa_t *spa, uint64_t dsobj, void *tag, argument
1103 search_km.km_dsobj = dsobj;
1836 dsl_dataset_create_crypt_sync(uint64_t dsobj, dsl_dir_t *dd,
1903 dsl_dataset_activate_feature(dsobj, SPA_FEATURE_ENCRYPTION, tx);
2357 dsl_crypto_recv_raw(const char *poolname, uint64_t dsobj, uint64_t fromobj,
2362 dcrka.dcrka_dsobj = dsobj;
2636 spa_crypt_get_salt(spa_t *spa, uint64_t dsobj, uint8_t *salt)
2642 ret = spa_keystore_lookup_key(spa, dsobj, FTA
1833 dsl_dataset_create_crypt_sync(uint64_t dsobj, dsl_dir_t *dd, dsl_dataset_t *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx) argument
2354 dsl_crypto_recv_raw(const char *poolname, uint64_t dsobj, uint64_t fromobj, dmu_objset_type_t ostype, nvlist_t *nvl, boolean_t do_key) argument
2633 spa_crypt_get_salt(spa_t *spa, uint64_t dsobj, uint8_t *salt) argument
2663 spa_do_crypt_objset_mac_abd(boolean_t generate, spa_t *spa, uint64_t dsobj, abd_t *abd, uint_t datalen, boolean_t byteswap) argument
2712 spa_do_crypt_mac_abd(boolean_t generate, spa_t *spa, uint64_t dsobj, abd_t *abd, uint_t datalen, uint8_t *mac) argument
[all...]
H A Ddmu_recv.c401 uint64_t dsobj; local
439 dsobj = dsl_dataset_create_sync(ds->ds_dir, recv_clone_name,
458 dsobj = dsl_dataset_create_sync(dd, strrchr(tofs, '/') + 1,
466 VERIFY0(dsl_dataset_own_obj(dp, dsobj, dsflags, dmu_recv_tag, &newds));
472 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_FROMGUID,
475 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_TOGUID,
477 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_TONAME,
481 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_OBJECT,
483 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_OFFSET,
485 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_BYTE
674 uint64_t dsobj; local
2317 uint64_t dsobj = dmu_objset_id(ra->os); local
[all...]
H A Dzio.c367 uint64_t dsobj = zio->io_bookmark.zb_objset; local
427 dsobj, zio->io_abd, size, BP_SHOULD_BYTESWAP(bp));
430 ret = spa_do_crypt_mac_abd(B_FALSE, spa, dsobj,
3739 uint64_t dsobj = zio->io_bookmark.zb_objset; local
3807 VERIFY0(spa_do_crypt_objset_mac_abd(B_TRUE, spa, dsobj,
3815 VERIFY0(spa_do_crypt_mac_abd(B_TRUE, spa, dsobj,
H A Ddsl_dataset.c432 dsl_dataset_hold_obj(dsl_pool_t *dp, uint64_t dsobj, void *tag, argument
443 err = dmu_bonus_hold(mos, dsobj, tag, &dbuf);
447 /* Make sure dsobj has the correct object type. */
460 ds->ds_object = dsobj;
492 err = zap_contains(mos, dsobj,
545 zap_contains(mos, dsobj, DS_FIELD_IVSET_GUID) != 0) {
597 dsobj);
625 dsl_dataset_hold_obj_flags(dsl_pool_t *dp, uint64_t dsobj, argument
630 err = dsl_dataset_hold_obj(dp, dsobj, tag, dsp);
707 dsl_dataset_own_obj(dsl_pool_t *dp, uint64_t dsobj, ds_hold_flags_ argument
871 dsl_dataset_activate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx) argument
887 dsl_dataset_deactivate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx) argument
905 uint64_t dsobj; local
1043 uint64_t dsobj, ddobj; local
1439 uint64_t dsobj, crtxg; local
[all...]
H A Ddsl_scan.c123 static boolean_t scan_ds_queue_contains(dsl_scan_t *scn, uint64_t dsobj,
125 static void scan_ds_queue_insert(dsl_scan_t *scn, uint64_t dsobj, uint64_t txg);
126 static void scan_ds_queue_remove(dsl_scan_t *scn, uint64_t dsobj);
1127 scan_ds_queue_contains(dsl_scan_t *scn, uint64_t dsobj, uint64_t *txg) argument
1131 srch.sds_dsobj = dsobj;
1139 scan_ds_queue_insert(dsl_scan_t *scn, uint64_t dsobj, uint64_t txg) argument
1145 sds->sds_dsobj = dsobj;
1153 scan_ds_queue_remove(dsl_scan_t *scn, uint64_t dsobj) argument
1157 srch.sds_dsobj = dsobj;
2254 dsl_scan_visitds(dsl_scan_t *scn, uint64_t dsobj, dmu_tx_ argument
2600 uint64_t dsobj = scn->scn_phys.scn_bookmark.zb_objset; local
2624 uint64_t dsobj = sds->sds_dsobj; local
[all...]
H A Dspa.c804 * If the bootfs property value is dsobj, clear it.
807 spa_prop_clear_bootfs(spa_t *spa, uint64_t dsobj, dmu_tx_t *tx) argument
809 if (spa->spa_bootfs == dsobj && spa->spa_pool_props_object != 0) {
H A Darc.c1000 /* dsobj for looking up encryption key for l2arc encryption */
2118 arc_hdr_authenticate(arc_buf_hdr_t *hdr, spa_t *spa, uint64_t dsobj)
2158 ret = spa_do_crypt_objset_mac_abd(B_FALSE, spa, dsobj, abd,
2161 ret = spa_do_crypt_mac_abd(B_FALSE, spa, dsobj, abd, psize,
3150 arc_loan_raw_buf(spa_t *spa, uint64_t dsobj, boolean_t byteorder,
3155 arc_buf_t *buf = arc_alloc_raw_buf(spa, arc_onloan_tag, dsobj,
3807 arc_convert_to_raw(arc_buf_t *buf, uint64_t dsobj, boolean_t byteorder,
3820 hdr->b_crypt_hdr.b_dsobj = dsobj;
3893 arc_alloc_raw_buf(spa_t *spa, void *tag, uint64_t dsobj, boolean_t byteorder,
3912 hdr->b_crypt_hdr.b_dsobj = dsobj;
2103 arc_hdr_authenticate(arc_buf_hdr_t *hdr, spa_t *spa, uint64_t dsobj) argument
3135 arc_loan_raw_buf(spa_t *spa, uint64_t dsobj, boolean_t byteorder, const uint8_t *salt, const uint8_t *iv, const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize, enum zio_compress compression_type) argument
3792 arc_convert_to_raw(arc_buf_t *buf, uint64_t dsobj, boolean_t byteorder, dmu_object_type_t ot, const uint8_t *salt, const uint8_t *iv, const uint8_t *mac) argument
3878 arc_alloc_raw_buf(spa_t *spa, void *tag, uint64_t dsobj, boolean_t byteorder, const uint8_t *salt, const uint8_t *iv, const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize, enum zio_compress compression_type) argument
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c4397 zpool_obj_to_path(zpool_handle_t *zhp, uint64_t dsobj, uint64_t obj, argument
4405 if (dsobj == 0) {
4413 zc.zc_obj = dsobj;
4418 dsobj, obj);
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c5478 uint64_t dsobj, obj; local
5482 &dsobj) == 0);
5485 zpool_obj_to_path(zhp, dsobj, obj, pathname, len);

Completed in 319 milliseconds