Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c108 int volatile mountfd = -1; in main() local
125 mountfd = backout_snap_fd; in main()
127 delete_snap(mountfd); in main()
208 if ((mountfd = open(mountpoint, O_RDONLY)) < 0) in main()
215 delete_snap(mountfd); in main()
220 create_snap(mountfd, backpath, maxsize, chunksize, in main()
277 enable->rootfiledesc = mountfd; in create_snap()
313 backout_snap_fd = mountfd; in create_snap()
343 delete_snap(int mountfd) in delete_snap() argument
353 disable.rootfiledesc = mountfd; in delete_snap()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c151 int i, mountfd; in main() local
317 mountfd = open(mountpoint, O_RDONLY); in main()
318 if (mountfd == -1) { in main()
329 if (ioctl(mountfd, _FIOTUNE, &fiotune) == -1) { in main()
335 close(mountfd); in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c192 int mountfd; variable
406 mountfd = -1; in checkfilesys()
H A Dutilities.c1491 if (mountfd < 0) { in is_errorlocked()
1492 if ((mountfd = open64(mountp, O_RDONLY)) == -1) in is_errorlocked()
1506 if (ioctl(mountfd, _FIOLFSS, lfp) == -1) in is_errorlocked()
1656 if ((rc = ioctl(mountfd, _FIOLFSS, lfp)) == -1) { in search_vfstab()
1676 if ((rc = ioctl(mountfd, _FIOLFS, lfp)) == -1) { in search_vfstab()
H A Dfsck.h344 extern int mountfd; /* fd of mount point */