Searched refs:mountfd (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 108 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() 228 create_snap(int mountfd, char *backpath, u_offset_t maxsize, uint_t chunksize, in create_snap() argument 262 backcount = open_backpath(mountfd, max_bf_size, &backpath, in create_snap() 277 enable->rootfiledesc = mountfd; in create_snap() 313 backout_snap_fd = mountfd; in create_snap() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 151 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 D | main.c | 192 int mountfd; variable 406 mountfd = -1; in checkfilesys()
|
H A D | utilities.c | 1491 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 D | fsck.h | 344 extern int mountfd; /* fd of mount point */
|