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