Lines Matching refs:mos
159 objset_t *mos = dp->dp_meta_objset; in process_old_deadlist() local
185 dsl_deadlist_open(&ds->ds_deadlist, mos, in process_old_deadlist()
187 dsl_deadlist_open(&ds_next->ds_deadlist, mos, in process_old_deadlist()
208 objset_t *mos = dd->dd_pool->dp_meta_objset; in dsl_dir_remove_clones_key_impl() local
221 for (zap_cursor_init(zc, mos, dsl_dir_phys(dd)->dd_clones); in dsl_dir_remove_clones_key_impl()
311 objset_t *mos = dp->dp_meta_objset; in dsl_destroy_snapshot_sync_impl() local
364 VERIFY0(zap_add_int(mos, in dsl_destroy_snapshot_sync_impl()
435 dsl_deadlist_free(mos, dsl_dataset_phys(ds)->ds_deadlist_obj, tx); in dsl_destroy_snapshot_sync_impl()
553 ASSERT0(zap_count(mos, in dsl_destroy_snapshot_sync_impl()
556 VERIFY0(dmu_object_free(mos, in dsl_destroy_snapshot_sync_impl()
560 VERIFY0(zap_destroy(mos, dsl_dataset_phys(ds)->ds_props_obj, in dsl_destroy_snapshot_sync_impl()
563 VERIFY0(zap_destroy(mos, dsl_dataset_phys(ds)->ds_userrefs_obj, in dsl_destroy_snapshot_sync_impl()
567 dmu_object_free_zapified(mos, obj, tx); in dsl_destroy_snapshot_sync_impl()
770 objset_t *mos; in dsl_destroy_head_check_impl() local
781 mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_destroy_head_check_impl()
795 error = zap_count(mos, in dsl_destroy_head_check_impl()
834 objset_t *mos = dp->dp_meta_objset; in dsl_dir_destroy_sync() local
864 VERIFY0(zap_destroy(mos, dsl_dir_phys(dd)->dd_child_dir_zapobj, tx)); in dsl_dir_destroy_sync()
865 VERIFY0(zap_destroy(mos, dsl_dir_phys(dd)->dd_props_zapobj, tx)); in dsl_dir_destroy_sync()
867 VERIFY0(zap_destroy(mos, dsl_dir_phys(dd)->dd_clones, tx)); in dsl_dir_destroy_sync()
868 VERIFY0(dsl_deleg_destroy(mos, dsl_dir_phys(dd)->dd_deleg_zapobj, tx)); in dsl_dir_destroy_sync()
869 VERIFY0(zap_remove(mos, in dsl_dir_destroy_sync()
874 dmu_object_free_zapified(mos, ddobj, tx); in dsl_dir_destroy_sync()
909 objset_t *mos = dp->dp_meta_objset; in dsl_async_clone_destroy() local
927 VERIFY0(zap_lookup(mos, dd->dd_object, in dsl_async_clone_destroy()
930 int error = zap_lookup(mos, DMU_POOL_DIRECTORY_OBJECT, in dsl_async_clone_destroy()
933 zap_obj = zap_create(mos, DMU_OTN_ZAP_METADATA, in dsl_async_clone_destroy()
935 VERIFY0(zap_add(mos, DMU_POOL_DIRECTORY_OBJECT, in dsl_async_clone_destroy()
944 VERIFY0(zap_add_int(mos, zap_obj, to_delete, tx)); in dsl_async_clone_destroy()
969 objset_t *mos = dp->dp_meta_objset; in dsl_async_dataset_destroy() local
982 dp->dp_bptree_obj = bptree_alloc(mos, tx); in dsl_async_dataset_destroy()
983 VERIFY0(zap_add(mos, in dsl_async_dataset_destroy()
999 bptree_add(mos, dp->dp_bptree_obj, in dsl_async_dataset_destroy()
1014 objset_t *mos = dp->dp_meta_objset; in dsl_destroy_head_sync_impl() local
1075 dsl_deadlist_free(mos, dsl_dataset_phys(ds)->ds_deadlist_obj, tx); in dsl_destroy_head_sync_impl()
1098 VERIFY0(zap_remove_int(mos, in dsl_destroy_head_sync_impl()
1121 VERIFY0(zap_destroy(mos, in dsl_destroy_head_sync_impl()
1132 VERIFY0(dnode_hold(mos, in dsl_destroy_head_sync_impl()
1136 spa_feature_decr(dmu_objset_spa(mos), in dsl_destroy_head_sync_impl()
1141 VERIFY0(dmu_object_free(mos, in dsl_destroy_head_sync_impl()
1143 spa_feature_decr(dmu_objset_spa(mos), in dsl_destroy_head_sync_impl()
1147 spa_feature_decr(dmu_objset_spa(mos), in dsl_destroy_head_sync_impl()
1155 VERIFY0(zap_destroy(mos, ds->ds_bookmarks_obj, tx)); in dsl_destroy_head_sync_impl()
1166 dmu_object_free_zapified(mos, obj, tx); in dsl_destroy_head_sync_impl()