Searched defs:lastsnap (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c294 lzc_snaprange_space(const char *firstsnap, const char *lastsnap, argument
313 err = lzc_ioctl(ZFS_IOC_SPACE_SNAPS, lastsnap, args, &result);
/illumos-gate/usr/src/uts/common/io/
H A Dfssnap.c1756 int lastsnap; local
1775 lastsnap = 0;
1777 if (sidp->sid_snapnumber > lastsnap)
1778 lastsnap = sidp->sid_snapnumber;
1814 sidp->sid_snapnumber = (snapshot == NULL) ? 0 : lastsnap + 1;
1823 ASSERT(sidp->sid_snapnumber <= (lastsnap + 1));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_dataset.c3513 * lastsnap, and all snapshots in between are deleted.
3517 * firstsnap lastsnap
3521 * last snap (ie, is on lastsnap->ds_next->ds_deadlist or an earlier deadlist).
3523 * after lastsnap, backward to the snap after firstsnap), summing up the
3528 dsl_dataset_t *lastsnap,
3536 ASSERT(lastsnap->ds_is_snapshot);
3540 * is before lastsnap.
3542 if (firstsnap->ds_dir != lastsnap->ds_dir ||
3544 dsl_dataset_phys(lastsnap)->ds_creation_txg)
3549 snapobj = dsl_dataset_phys(lastsnap)
3527 dsl_dataset_space_wouldfree(dsl_dataset_t *firstsnap, dsl_dataset_t *lastsnap, uint64_t *usedp, uint64_t *compp, uint64_t *uncompp) argument
[all...]
H A Dzfs_ioctl.c5357 zfs_ioc_space_snaps(const char *lastsnap, nvlist_t *innvl, nvlist_t *outnvl) argument
5368 error = dsl_pool_hold(lastsnap, FTAG, &dp);
5372 error = dsl_dataset_hold(dp, lastsnap, FTAG, &new);

Completed in 88 milliseconds