Home
last modified time | relevance | path

Searched refs:vfsbuf (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/
H A Dff.c79 struct vfstab vfsbuf; in main() local
111 while ((i = getvfsent(fp, &vfsbuf)) == 0) { in main()
112 if (numbers(vfsbuf.vfs_fsckpass)) { in main()
113 fstype = vfsbuf.vfs_fstype; in main()
114 newargv[newargc] = vfsbuf.vfs_special; in main()
187 while ((i = getvfsent(fp, &vfsbuf)) == 0) { in main()
188 if (!numbers(vfsbuf.vfs_fsckpass)) in main()
190 if ((F_flg) && (strcmp(fstype, vfsbuf.vfs_fstype) != 0)) in main()
193 fstype = vfsbuf.vfs_fstype; in main()
194 newargv[newargc] = vfsbuf.vfs_special; in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c89 struct vfstab vfsbuf; in main() local
167 while ((status = getvfsent(vfstab, &vfsbuf)) == 0) { in main()
168 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main()
169 (vfsbuf.vfs_mntopts == 0) || in main()
170 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main()
171 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main()
172 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main()
174 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main()
175 strcpy(*listp, vfsbuf.vfs_special); in main()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c309 struct vfstab vfsbuf; in check_sanity() local
342 if (getvfsfile(vfstab, &vfsbuf, "/") == 0) { in check_sanity()
344 devname = vfsbuf.vfs_special; in check_sanity()
346 devname = vfsbuf.vfs_fsckdev; in check_sanity()
351 if (getvfsfile(vfstab, &vfsbuf, "/usr") == 0) { in check_sanity()
353 devname = vfsbuf.vfs_special; in check_sanity()
355 devname = vfsbuf.vfs_fsckdev; in check_sanity()
H A Dsetup.c152 struct vfstab vfsbuf; in setup() local
160 while (getvfsent(vfstab, &vfsbuf) == 0) { in setup()
161 if (strcmp(devstr, vfsbuf.vfs_mountp) == 0) { in setup()
162 if (strcmp(vfsbuf.vfs_fstype, in setup()
171 (void) strcpy(devstr, vfsbuf.vfs_special); in setup()
174 unrawname(vfsbuf.vfs_special)); in setup()
H A Dutilities.c557 struct vfstab vfsbuf; in writable() local
567 if ((getvfsspec(vfstab, &vfsbuf, blkname) == 0) && in writable()
568 (vfsbuf.vfs_fstype != NULL) && in writable()
569 (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UDFS) == 0) && in writable()
570 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c100 struct vfstab vfsbuf; in main() local
169 while (getvfsent(vfstab, &vfsbuf) == 0) { in main()
171 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main()
172 (vfsbuf.vfs_mntopts == 0) || in main()
173 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main()
174 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main()
175 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main()
178 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main()
179 (void) strcpy(*listp, vfsbuf.vfs_special); in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c98 struct vfstab vfsbuf; in searchvfstab() local
109 while (getvfsent(vfstab, &vfsbuf) == 0) in searchvfstab()
110 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) == 0) in searchvfstab()
111 if ((strcmp(vfsbuf.vfs_mountp, *specialp) == 0) || in searchvfstab()
112 (strcmp(vfsbuf.vfs_special, *specialp) == 0) || in searchvfstab()
113 (strcmp(vfsbuf.vfs_special, blockspecial) == 0) || in searchvfstab()
114 (strcmp(vfsbuf.vfs_fsckdev, *specialp) == 0)) { in searchvfstab()
115 *specialp = strdup(vfsbuf.vfs_special); in searchvfstab()
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c120 struct vfstab vfsbuf; in main() local
195 while (getvfsent(vfstab, &vfsbuf) == 0) { in main()
196 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main()
197 (vfsbuf.vfs_mntopts == 0) || in main()
198 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main()
199 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main()
200 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main()
202 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main()
203 strcpy(*listp, vfsbuf.vfs_special); in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c726 struct vfstab vfsbuf; in check_sanity() local
760 if (getvfsfile(vfstab, &vfsbuf, in check_sanity()
763 devname = vfsbuf.vfs_special; in check_sanity()
765 devname = vfsbuf.vfs_fsckdev; in check_sanity()
H A Dutilities.c1098 struct vfstab vfsbuf, vfskey; in writable() local
1110 if ((getvfsany(vfstab, &vfsbuf, &vfskey) == 0) && in writable()
1111 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c468 struct statvfs64 vfsbuf; in fs_pathconf() local
485 bzero(&vfsbuf, sizeof (vfsbuf)); in fs_pathconf()
486 if (error = VFS_STATVFS(vp->v_vfsp, &vfsbuf)) in fs_pathconf()
488 val = vfsbuf.f_namemax; in fs_pathconf()
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c202 struct statvfs vfsbuf; in server_main() local
349 if (statvfs(".", &vfsbuf) != 0) { in server_main()
354 if (strcmp(vfsbuf.f_basetype, "zfs") == 0) in server_main()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c893 struct vfstab vfsbuf; in get_mntinfo() local
894 struct vfstab *vfs = &vfsbuf; in get_mntinfo()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c943 struct statvfs64 vfsbuf; in validate_zonepath() local
1097 if (statvfs64(rpath, &vfsbuf) != 0) { in validate_zonepath()
1101 if (strcmp(vfsbuf.f_basetype, MNTTYPE_NFS) == 0) { in validate_zonepath()
1111 if (vfsbuf.f_flag & ST_NOSUID) { in validate_zonepath()