Home
last modified time | relevance | path

Searched refs:lastsnap (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/
H A Dfssnap.c1756 int lastsnap; in fssnap_create_impl() local
1775 lastsnap = 0; in fssnap_create_impl()
1777 if (sidp->sid_snapnumber > lastsnap) in fssnap_create_impl()
1778 lastsnap = sidp->sid_snapnumber; in fssnap_create_impl()
1814 sidp->sid_snapnumber = (snapshot == NULL) ? 0 : lastsnap + 1; in fssnap_create_impl()
1823 ASSERT(sidp->sid_snapnumber <= (lastsnap + 1)); in fssnap_create_impl()
/titanic_41/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c293 lzc_snaprange_space(const char *firstsnap, const char *lastsnap, in lzc_snaprange_space() argument
312 err = lzc_ioctl(ZFS_IOC_SPACE_SNAPS, lastsnap, args, &result); in lzc_snaprange_space()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddsl_dataset.c3430 dsl_dataset_t *lastsnap, in dsl_dataset_space_wouldfree() argument
3438 ASSERT(lastsnap->ds_is_snapshot); in dsl_dataset_space_wouldfree()
3444 if (firstsnap->ds_dir != lastsnap->ds_dir || in dsl_dataset_space_wouldfree()
3446 dsl_dataset_phys(lastsnap)->ds_creation_txg) in dsl_dataset_space_wouldfree()
3451 snapobj = dsl_dataset_phys(lastsnap)->ds_next_snap_obj; in dsl_dataset_space_wouldfree()
H A Dzfs_ioctl.c5297 zfs_ioc_space_snaps(const char *lastsnap, nvlist_t *innvl, nvlist_t *outnvl) in zfs_ioc_space_snaps() argument
5308 error = dsl_pool_hold(lastsnap, FTAG, &dp); in zfs_ioc_space_snaps()
5312 error = dsl_dataset_hold(dp, lastsnap, FTAG, &new); in zfs_ioc_space_snaps()