Searched refs:ds_longholds (Results 1 – 3 of 3) sorted by relevance
266 ASSERT(zfs_refcount_is_zero(&ds->ds_longholds)); in dsl_destroy_snapshot_sync_impl()700 if (zfs_refcount_count(&ds->ds_longholds) != expected_holds) in dsl_destroy_head_check_impl()728 if (!zfs_refcount_is_zero(&ds->ds_prev->ds_longholds)) in dsl_destroy_head_check_impl()
339 zfs_refcount_destroy(&ds->ds_longholds); in dsl_dataset_evict_async()477 zfs_refcount_create(&ds->ds_longholds); in dsl_dataset_hold_obj()578 zfs_refcount_destroy(&ds->ds_longholds); in dsl_dataset_hold_obj()748 (void) zfs_refcount_add(&ds->ds_longholds, tag); in dsl_dataset_long_hold()754 (void) zfs_refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()761 return (!zfs_refcount_is_zero(&ds->ds_longholds)); in dsl_dataset_long_held()
224 zfs_refcount_t ds_longholds; member