Lines Matching refs:ds_dir
669 dd = ds->ds_dir; in dsl_dir_actv_fs_ss_limit_check()
710 dsl_dir_init_fs_ss_count(ds->ds_dir, tx); in dsl_dir_actv_fs_ss_limit_sync()
1688 error = dsl_prop_predict(ds->ds_dir, "quota", in dsl_dir_set_quota_check()
1700 mutex_enter(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_check()
1707 towrite = dsl_dir_space_towrite(ds->ds_dir); in dsl_dir_set_quota_check()
1709 (newval < dsl_dir_phys(ds->ds_dir)->dd_reserved || in dsl_dir_set_quota_check()
1710 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) { in dsl_dir_set_quota_check()
1713 mutex_exit(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_check()
1741 dmu_buf_will_dirty(ds->ds_dir->dd_dbuf, tx); in dsl_dir_set_quota_sync()
1742 mutex_enter(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_sync()
1743 dsl_dir_phys(ds->ds_dir)->dd_quota = newval; in dsl_dir_set_quota_sync()
1744 mutex_exit(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_sync()
1775 dd = ds->ds_dir; in dsl_dir_set_reservation_check()
1786 error = dsl_prop_predict(ds->ds_dir, in dsl_dir_set_reservation_check()
1866 dsl_dir_set_reservation_sync_impl(ds->ds_dir, newval, tx); in dsl_dir_set_reservation_sync()
2346 (to_condense.ds != NULL) && (to_condense.ds->ds_dir == dd)) { in dsl_dir_remove_livelist()