148 const blkptr_t *bpp);
149 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx);
150 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx);
151 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx);
152 void dsl_pool_mos_diduse_space(dsl_pool_t *dp,
153 int64_t used, int64_t comp, int64_t uncomp);
154 void dsl_pool_config_enter(dsl_pool_t *dp, void *tag);
155 void dsl_pool_config_exit(dsl_pool_t *dp, void *tag);
156 boolean_t dsl_pool_config_held(dsl_pool_t *dp);
157 boolean_t dsl_pool_need_dirty_delay(dsl_pool_t *dp);
158
159 taskq_t *dsl_pool_vnrele_taskq(dsl_pool_t *dp);
160
161 int dsl_pool_user_hold(dsl_pool_t *dp, uint64_t dsobj,
162 const char *tag, uint64_t now, dmu_tx_t *tx);
163 int dsl_pool_user_release(dsl_pool_t *dp, uint64_t dsobj,
164 const char *tag, dmu_tx_t *tx);
165 void dsl_pool_clean_tmp_userrefs(dsl_pool_t *dp);
166 int dsl_pool_open_special_dir(dsl_pool_t *dp, const char *name, dsl_dir_t **);
167 int dsl_pool_hold(const char *name, void *tag, dsl_pool_t **dp);
168 void dsl_pool_rele(dsl_pool_t *dp, void *tag);
169
170 #ifdef __cplusplus
171 }
172 #endif
173
174 #endif /* _SYS_DSL_POOL_H */
|
148 const blkptr_t *bpp);
149 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx);
150 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx);
151 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx);
152 void dsl_pool_mos_diduse_space(dsl_pool_t *dp,
153 int64_t used, int64_t comp, int64_t uncomp);
154 void dsl_pool_config_enter(dsl_pool_t *dp, void *tag);
155 void dsl_pool_config_exit(dsl_pool_t *dp, void *tag);
156 boolean_t dsl_pool_config_held(dsl_pool_t *dp);
157 boolean_t dsl_pool_need_dirty_delay(dsl_pool_t *dp);
158
159 taskq_t *dsl_pool_vnrele_taskq(dsl_pool_t *dp);
160
161 int dsl_pool_user_hold(dsl_pool_t *dp, uint64_t dsobj,
162 const char *tag, uint64_t now, dmu_tx_t *tx);
163 int dsl_pool_user_release(dsl_pool_t *dp, uint64_t dsobj,
164 const char *tag, dmu_tx_t *tx);
165 void dsl_pool_clean_tmp_userrefs(dsl_pool_t *dp);
166 int dsl_pool_open_special_dir(dsl_pool_t *dp, const char *name, dsl_dir_t **);
167 int dsl_pool_hold(const char *name, void *tag, dsl_pool_t **dp);
168 int dsl_pool_hold_lock(const char *name, void *tag, dsl_pool_t **dp, int lock);
169 void dsl_pool_rele(dsl_pool_t *dp, void *tag);
170 void dsl_pool_rele_spa(dsl_pool_t *dp, void *tag);
171
172 #ifdef __cplusplus
173 }
174 #endif
175
176 #endif /* _SYS_DSL_POOL_H */
|