/titanic_50/usr/src/cmd/fs.d/ |
H A D | ff.c | 80 struct vfstab vfsbuf; in main() local 112 while ((i = getvfsent(fp, &vfsbuf)) == 0) { in main() 113 if (numbers(vfsbuf.vfs_fsckpass)) { in main() 114 fstype = vfsbuf.vfs_fstype; in main() 115 newargv[newargc] = vfsbuf.vfs_special; in main() 188 while ((i = getvfsent(fp, &vfsbuf)) == 0) { in main() 189 if (!numbers(vfsbuf.vfs_fsckpass)) in main() 191 if ((F_flg) && (strcmp(fstype, vfsbuf.vfs_fstype) != 0)) in main() 194 fstype = vfsbuf.vfs_fstype; in main() 195 newargv[newargc] = vfsbuf.vfs_special; in main() [all …]
|
/titanic_50/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 91 struct vfstab vfsbuf; in main() local 169 while ((status = getvfsent(vfstab, &vfsbuf)) == NULL) { in main() 170 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main() 171 (vfsbuf.vfs_mntopts == 0) || in main() 172 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 173 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main() 174 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main() 176 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main() 177 strcpy(*listp, vfsbuf.vfs_special); in main()
|
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | main.c | 291 struct vfstab vfsbuf; in check_sanity() local 324 if (getvfsfile(vfstab, &vfsbuf, "/") == 0) { in check_sanity() 326 devname = vfsbuf.vfs_special; in check_sanity() 328 devname = vfsbuf.vfs_fsckdev; in check_sanity() 333 if (getvfsfile(vfstab, &vfsbuf, "/usr") == 0) { in check_sanity() 335 devname = vfsbuf.vfs_special; in check_sanity() 337 devname = vfsbuf.vfs_fsckdev; in check_sanity()
|
H A D | setup.c | 129 struct vfstab vfsbuf; in setup() local 137 while (getvfsent(vfstab, &vfsbuf) == NULL) { in setup() 138 if (strcmp(devstr, vfsbuf.vfs_mountp) == 0) { in setup() 139 if (strcmp(vfsbuf.vfs_fstype, in setup() 148 (void) strcpy(devstr, vfsbuf.vfs_special); in setup() 151 unrawname(vfsbuf.vfs_special)); in setup()
|
H A D | utilities.c | 556 struct vfstab vfsbuf; in writable() local 566 if ((getvfsspec(vfstab, &vfsbuf, blkname) == 0) && in writable() 567 (vfsbuf.vfs_fstype != NULL) && in writable() 568 (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UDFS) == 0) && in writable() 569 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
|
/titanic_50/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 102 struct vfstab vfsbuf; in main() local 171 while (getvfsent(vfstab, &vfsbuf) == 0) { in main() 173 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main() 174 (vfsbuf.vfs_mntopts == 0) || in main() 175 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 176 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main() 177 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main() 180 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main() 181 (void) strcpy(*listp, vfsbuf.vfs_special); in main()
|
/titanic_50/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 100 struct vfstab vfsbuf; in searchvfstab() local 111 while (getvfsent(vfstab, &vfsbuf) == NULL) in searchvfstab() 112 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) == 0) in searchvfstab() 113 if ((strcmp(vfsbuf.vfs_mountp, *specialp) == 0) || in searchvfstab() 114 (strcmp(vfsbuf.vfs_special, *specialp) == 0) || in searchvfstab() 115 (strcmp(vfsbuf.vfs_special, blockspecial) == 0) || in searchvfstab() 116 (strcmp(vfsbuf.vfs_fsckdev, *specialp) == 0)) { in searchvfstab() 117 *specialp = strdup(vfsbuf.vfs_special); in searchvfstab()
|
/titanic_50/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 122 struct vfstab vfsbuf; in main() local 197 while (getvfsent(vfstab, &vfsbuf) == NULL) { in main() 198 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main() 199 (vfsbuf.vfs_mntopts == 0) || in main() 200 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 201 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main() 202 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main() 204 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main() 205 strcpy(*listp, vfsbuf.vfs_special); in main()
|
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | main.c | 691 struct vfstab vfsbuf; in check_sanity() local 725 if (getvfsfile(vfstab, &vfsbuf, in check_sanity() 728 devname = vfsbuf.vfs_special; in check_sanity() 730 devname = vfsbuf.vfs_fsckdev; in check_sanity()
|
H A D | utilities.c | 1091 struct vfstab vfsbuf, vfskey; in writable() local 1103 if ((getvfsany(vfstab, &vfsbuf, &vfskey) == 0) && in writable() 1104 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
|
/titanic_50/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 444 struct statvfs64 vfsbuf; in fs_pathconf() local 461 bzero(&vfsbuf, sizeof (vfsbuf)); in fs_pathconf() 462 if (error = VFS_STATVFS(vp->v_vfsp, &vfsbuf)) in fs_pathconf() 464 val = vfsbuf.f_namemax; in fs_pathconf()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 202 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()
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 893 struct vfstab vfsbuf; in get_mntinfo() local 894 struct vfstab *vfs = &vfsbuf; in get_mntinfo()
|
/titanic_50/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 939 struct statvfs64 vfsbuf; in validate_zonepath() local 1093 if (statvfs64(rpath, &vfsbuf) != 0) { in validate_zonepath() 1097 if (strcmp(vfsbuf.f_basetype, MNTTYPE_NFS) == 0) { in validate_zonepath() 1107 if (vfsbuf.f_flag & ST_NOSUID) { in validate_zonepath()
|