Searched refs:snap_count (Results 1 – 6 of 6) sorted by relevance
90 snap_count=$(zfs list -t snapshot | grep -c $TESTPOOL)91 log_note "$snap_count snapshots created by ZCP"93 log_mustnot [ "$snap_count" -eq 0 ]94 log_mustnot [ "$snap_count" -gt 90 ]
56 typeset snap_count=586 for ((i = 1; i <= $snap_count; i++)); do98 log_must eval "zfs send -wR $TESTPOOL/$TESTVOL@snap$snap_count > $sendfile"
475 uint64_t snap_count; in zpl_snapdir_getattr_impl() local478 dsl_dataset_phys(ds)->ds_snapnames_zapobj, &snap_count); in zpl_snapdir_getattr_impl()483 stat->nlink += snap_count; in zpl_snapdir_getattr_impl()
353 uint64_t snap_count = 0; in check_filesystem() local357 dsl_dataset_phys(ds)->ds_snapnames_zapobj, &snap_count); in check_filesystem()365 if (snap_count == 0) { in check_filesystem()371 uint64_t *snap_obj_array = kmem_zalloc(snap_count * sizeof (uint64_t), in check_filesystem()451 for (int i = 0; i < snap_count; i++) { in check_filesystem()471 kmem_free(snap_obj_array, snap_count * sizeof (*snap_obj_array)); in check_filesystem()
4106 uint64_t snap_count = 0; in scrub_filesystem() local4110 dsl_dataset_phys(ds)->ds_snapnames_zapobj, &snap_count); in scrub_filesystem()4118 if (snap_count == 0) { in scrub_filesystem()
1120 uint64_t snap_count; in zfsctl_snapdir_getattr() local1132 dsl_dataset_phys(ds)->ds_snapnames_zapobj, &snap_count); in zfsctl_snapdir_getattr()1137 vap->va_nlink += snap_count; in zfsctl_snapdir_getattr()