Lines Matching defs:dsl_dataset_t

263 } dsl_dataset_t;
266 dsl_dataset_phys(dsl_dataset_t *ds)
273 dsl_dataset_t *ddpa_clone;
275 dsl_dataset_t *origin_origin; /* origin of the origin */
313 dsl_dataset_t **dsp);
315 ds_hold_flags_t flags, void *tag, dsl_dataset_t **dsp);
316 boolean_t dsl_dataset_try_add_ref(struct dsl_pool *dp, dsl_dataset_t *ds,
318 int dsl_dataset_create_key_mapping(dsl_dataset_t *ds);
320 dsl_dataset_t **);
322 ds_hold_flags_t flags, void *tag, dsl_dataset_t **);
323 void dsl_dataset_remove_key_mapping(dsl_dataset_t *ds);
324 void dsl_dataset_rele(dsl_dataset_t *ds, void *tag);
325 void dsl_dataset_rele_flags(dsl_dataset_t *ds, ds_hold_flags_t flags,
328 ds_hold_flags_t flags, void *tag, dsl_dataset_t **dsp);
330 ds_hold_flags_t flags, void *tag, dsl_dataset_t **dsp);
331 void dsl_dataset_disown(dsl_dataset_t *ds, ds_hold_flags_t flags, void *tag);
332 void dsl_dataset_name(dsl_dataset_t *ds, char *name);
333 boolean_t dsl_dataset_tryown(dsl_dataset_t *ds, void *tag);
334 int dsl_dataset_namelen(dsl_dataset_t *ds);
335 boolean_t dsl_dataset_has_owner(dsl_dataset_t *ds);
337 dsl_dataset_t *origin, uint64_t flags, cred_t *,
339 uint64_t dsl_dataset_create_sync_dd(dsl_dir_t *dd, dsl_dataset_t *origin,
347 int dsl_dataset_clone_swap(dsl_dataset_t *clone, dsl_dataset_t *origin_head,
354 blkptr_t *dsl_dataset_get_blkptr(dsl_dataset_t *ds);
356 spa_t *dsl_dataset_get_spa(dsl_dataset_t *ds);
358 boolean_t dsl_dataset_modified_since_snap(dsl_dataset_t *ds,
359 dsl_dataset_t *snap);
361 void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
362 void dsl_dataset_sync_done(dsl_dataset_t *os, dmu_tx_t *tx);
364 void dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp,
366 int dsl_dataset_block_kill(dsl_dataset_t *ds, const blkptr_t *bp,
368 void dsl_dataset_block_remapped(dsl_dataset_t *ds, uint64_t vdev,
371 void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
373 int get_clones_stat_impl(dsl_dataset_t *ds, nvlist_t *val);
374 char *get_receive_resume_stats_impl(dsl_dataset_t *ds);
375 char *get_child_receive_stats(dsl_dataset_t *ds);
376 uint64_t dsl_get_refratio(dsl_dataset_t *ds);
377 uint64_t dsl_get_logicalreferenced(dsl_dataset_t *ds);
378 uint64_t dsl_get_compressratio(dsl_dataset_t *ds);
379 uint64_t dsl_get_used(dsl_dataset_t *ds);
380 uint64_t dsl_get_creation(dsl_dataset_t *ds);
381 uint64_t dsl_get_creationtxg(dsl_dataset_t *ds);
382 uint64_t dsl_get_refquota(dsl_dataset_t *ds);
383 uint64_t dsl_get_refreservation(dsl_dataset_t *ds);
384 uint64_t dsl_get_guid(dsl_dataset_t *ds);
385 uint64_t dsl_get_unique(dsl_dataset_t *ds);
386 uint64_t dsl_get_objsetid(dsl_dataset_t *ds);
387 uint64_t dsl_get_userrefs(dsl_dataset_t *ds);
388 uint64_t dsl_get_defer_destroy(dsl_dataset_t *ds);
389 uint64_t dsl_get_referenced(dsl_dataset_t *ds);
390 uint64_t dsl_get_numclones(dsl_dataset_t *ds);
391 uint64_t dsl_get_inconsistent(dsl_dataset_t *ds);
392 uint64_t dsl_get_available(dsl_dataset_t *ds);
393 int dsl_get_written(dsl_dataset_t *ds, uint64_t *written);
394 int dsl_get_prev_snap(dsl_dataset_t *ds, char *snap);
395 int dsl_get_mountpoint(dsl_dataset_t *ds, const char *dsname, char *value,
398 void get_clones_stat(dsl_dataset_t *ds, nvlist_t *nv);
400 void dsl_dataset_stats(dsl_dataset_t *os, nvlist_t *nv);
402 void dsl_dataset_fast_stat(dsl_dataset_t *ds, dmu_objset_stats_t *stat);
403 void dsl_dataset_space(dsl_dataset_t *ds,
406 uint64_t dsl_dataset_fsid_guid(dsl_dataset_t *ds);
407 int dsl_dataset_space_written(dsl_dataset_t *oldsnap, dsl_dataset_t *new,
409 int dsl_dataset_space_wouldfree(dsl_dataset_t *firstsnap, dsl_dataset_t *last,
411 boolean_t dsl_dataset_is_dirty(dsl_dataset_t *ds);
415 int dsl_dataset_check_quota(dsl_dataset_t *ds, boolean_t check_quota,
423 boolean_t dsl_dataset_is_before(dsl_dataset_t *later, dsl_dataset_t *earlier,
425 void dsl_dataset_long_hold(dsl_dataset_t *ds, void *tag);
426 void dsl_dataset_long_rele(dsl_dataset_t *ds, void *tag);
427 boolean_t dsl_dataset_long_held(dsl_dataset_t *ds);
429 int dsl_dataset_clone_swap_check_impl(dsl_dataset_t *clone,
430 dsl_dataset_t *origin_head, boolean_t force, void *owner, dmu_tx_t *tx);
431 void dsl_dataset_clone_swap_sync_impl(dsl_dataset_t *clone,
432 dsl_dataset_t *origin_head, dmu_tx_t *tx);
433 int dsl_dataset_snapshot_check_impl(dsl_dataset_t *ds, const char *snapname,
435 void dsl_dataset_snapshot_sync_impl(dsl_dataset_t *ds, const char *snapname,
438 void dsl_dataset_remove_from_next_clones(dsl_dataset_t *ds, uint64_t obj,
440 void dsl_dataset_recalc_head_uniq(dsl_dataset_t *ds);
441 int dsl_dataset_get_snapname(dsl_dataset_t *ds);
442 int dsl_dataset_snap_lookup(dsl_dataset_t *ds, const char *name,
444 int dsl_dataset_snap_remove(dsl_dataset_t *ds, const char *name, dmu_tx_t *tx,
446 void dsl_dataset_set_refreservation_sync_impl(dsl_dataset_t *ds,
448 void dsl_dataset_zapify(dsl_dataset_t *ds, dmu_tx_t *tx);
449 boolean_t dsl_dataset_is_zapified(dsl_dataset_t *ds);
450 boolean_t dsl_dataset_has_resume_receive_state(dsl_dataset_t *ds);
457 uint64_t dsl_dataset_get_remap_deadlist_object(dsl_dataset_t *ds);
458 void dsl_dataset_create_remap_deadlist(dsl_dataset_t *ds, dmu_tx_t *tx);
459 boolean_t dsl_dataset_remap_deadlist_exists(dsl_dataset_t *ds);
460 void dsl_dataset_destroy_remap_deadlist(dsl_dataset_t *ds, dmu_tx_t *tx);