Print this page
3748 zfs headers should be C++ compatible
Submitted by:   Justin Gibbs <justing@spectralogic.com>
Submitted by:   Will Andrews <willa@spectralogic.com>
Reviewed by:    Matthew Ahrens <mahrens@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
↓ open down ↓ 218 lines elided ↑ open up ↑
 219  219      uint64_t blk_birth);
 220  220  uint64_t dsl_dataset_prev_snap_txg(dsl_dataset_t *ds);
 221  221  
 222  222  void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
 223  223  void dsl_dataset_stats(dsl_dataset_t *os, nvlist_t *nv);
 224  224  void dsl_dataset_fast_stat(dsl_dataset_t *ds, dmu_objset_stats_t *stat);
 225  225  void dsl_dataset_space(dsl_dataset_t *ds,
 226  226      uint64_t *refdbytesp, uint64_t *availbytesp,
 227  227      uint64_t *usedobjsp, uint64_t *availobjsp);
 228  228  uint64_t dsl_dataset_fsid_guid(dsl_dataset_t *ds);
 229      -int dsl_dataset_space_written(dsl_dataset_t *oldsnap, dsl_dataset_t *new,
      229 +int dsl_dataset_space_written(dsl_dataset_t *oldsnap, dsl_dataset_t *newds,
 230  230      uint64_t *usedp, uint64_t *compp, uint64_t *uncompp);
 231  231  int dsl_dataset_space_wouldfree(dsl_dataset_t *firstsnap, dsl_dataset_t *last,
 232  232      uint64_t *usedp, uint64_t *compp, uint64_t *uncompp);
 233  233  boolean_t dsl_dataset_is_dirty(dsl_dataset_t *ds);
 234  234  
 235  235  int dsl_dsobj_to_dsname(char *pname, uint64_t obj, char *buf);
 236  236  
 237  237  int dsl_dataset_check_quota(dsl_dataset_t *ds, boolean_t check_quota,
 238  238      uint64_t asize, uint64_t inflight, uint64_t *used,
 239  239      uint64_t *ref_rsrv);
↓ open down ↓ 48 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX