Home
last modified time | relevance | path

Searched refs:snapcnt (Results 1 – 5 of 5) sorted by relevance

/freebsd/sbin/fsck_ffs/
H A Dsetup.c55 int snapcnt; /* number of active snapshots */ variable
184 for (snapcnt = 0; snapcnt < FSMAXSNAP; snapcnt++) { in setup()
185 if (sblock.fs_snapinum[snapcnt] == 0) in setup()
187 ginode(sblock.fs_snapinum[snapcnt], &ip); in setup()
193 (intmax_t)sblock.fs_snapinum[snapcnt]); in setup()
194 snaplist[snapcnt] = ip; in setup()
198 (uintmax_t)sblock.fs_snapinum[snapcnt]); in setup()
200 for (i = snapcnt + 1; i < FSMAXSNAP; i++) { in setup()
206 snapcnt--; in setup()
209 if (snapcnt > 0 && copybuf == NULL) { in setup()
H A Dinode.c722 for (i = 0; i < snapcnt; i++) in snapremove()
725 if (i == snapcnt) in snapremove()
732 if (i == snapcnt) in snapremove()
738 i == snapcnt ? "in" : "", (intmax_t)inum); in snapremove()
742 if (i < snapcnt) { in snapremove()
751 snapcnt--; in snapremove()
817 if (snapcnt == 0) in snapblkfree()
829 for (i = 0; i < snapcnt; i++) { in snapblkfree()
941 if (snapcnt == 0) in copyonwrite()
970 for (i = 0; i < snapcnt; i++) { in chkcopyonwrite()
[all …]
H A Dfsutil.c523 if (snapcnt > 0) { in snapflush()
529 for (cnt = 0; cnt < snapcnt; cnt++) in snapflush()
531 snapcnt = 0; in snapflush()
H A Dfsck.h376 extern int snapcnt; /* number of active snapshots */
H A Dsuj.c2501 for (i = 0; i < snapcnt; i++) in suj_check()