Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/fs.d/
H A Dff.c80 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_41/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c91 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_41/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c291 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 Dsetup.c129 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 Dutilities.c556 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_41/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c102 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_41/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c100 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_41/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c122 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_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c691 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 Dutilities.c1091 struct vfstab vfsbuf, vfskey; in writable() local
1103 if ((getvfsany(vfstab, &vfsbuf, &vfskey) == 0) && in writable()
1104 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
/titanic_41/usr/src/uts/common/fs/
H A Dfs_subr.c416 struct statvfs64 vfsbuf; in fs_pathconf() local
433 bzero(&vfsbuf, sizeof (vfsbuf)); in fs_pathconf()
434 if (error = VFS_STATVFS(vp->v_vfsp, &vfsbuf)) in fs_pathconf()
436 val = vfsbuf.f_namemax; in fs_pathconf()
/titanic_41/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()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c897 struct vfstab vfsbuf; in get_mntinfo() local
898 struct vfstab *vfs = &vfsbuf; in get_mntinfo()
/titanic_41/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_commd_server.c243 struct statvfs64 vfsbuf; in flush_fcout() local
256 if (statvfs64(commdoutfile, &vfsbuf)) { in flush_fcout()
260 avail_bytes = vfsbuf.f_frsize * vfsbuf.f_bavail; in flush_fcout()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c938 struct statvfs64 vfsbuf; in validate_zonepath() local
1092 if (statvfs64(rpath, &vfsbuf) != 0) { in validate_zonepath()
1096 if (strcmp(vfsbuf.f_basetype, MNTTYPE_NFS) == 0) { in validate_zonepath()
1106 if (vfsbuf.f_flag & ST_NOSUID) { in validate_zonepath()