Home
last modified time | relevance | path

Searched refs:tmpopts (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c394 static char *tmpopts; in hasvfsopt() local
398 if (tmpopts == 0) { in hasvfsopt()
399 tmpopts = (char *)calloc(256, sizeof (char)); in hasvfsopt()
400 if (tmpopts == 0) in hasvfsopt()
403 (void) strncpy(tmpopts, vfs->vfs_mntopts, (sizeof (tmpopts) - 1)); in hasvfsopt()
404 opts = tmpopts; in hasvfsopt()
408 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmntent.c205 static char *tmpopts; in hasmntopt() local
207 if (tmpopts == 0) { in hasmntopt()
208 tmpopts = (char *)calloc(256, sizeof (char)); in hasmntopt()
209 if (tmpopts == 0) in hasmntopt()
212 strcpy(tmpopts, mnt->mnt_opts); in hasmntopt()
213 opts = tmpopts; in hasmntopt()
217 return (f - tmpopts + mnt->mnt_opts); in hasmntopt()
/titanic_41/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c332 static char *tmpopts; in hasvfsopt() local
334 if (tmpopts == 0) { in hasvfsopt()
335 tmpopts = (char *)calloc(256, sizeof (char)); in hasvfsopt()
336 if (tmpopts == 0) in hasvfsopt()
339 strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt()
340 opts = tmpopts; in hasvfsopt()
344 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c492 static char *tmpopts; in hasvfsopt() local
494 if (tmpopts == 0) { in hasvfsopt()
495 tmpopts = calloc(256, sizeof (char)); in hasvfsopt()
496 if (tmpopts == 0) in hasvfsopt()
499 (void) strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt()
500 opts = tmpopts; in hasvfsopt()
504 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c774 static char *tmpopts; in hasvfsopt() local
776 if (tmpopts == 0) { in hasvfsopt()
777 tmpopts = (char *)calloc(256, sizeof (char)); in hasvfsopt()
778 if (tmpopts == 0) in hasvfsopt()
781 strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt()
782 opts = tmpopts; in hasvfsopt()
786 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/
H A Dswitchout.c134 char *tmpopts = NULL; /* used for in use checking */ in main() local
184 tmpopts = optarg; in main()
185 Nflag = has_Nflag(tmpopts); in main()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetmntent.c309 char tmpopts[MNT_LINE_MAX]; in hasmntopt() local
310 char *f, *opts = tmpopts; in hasmntopt()
326 return (f - tmpopts + mnt->mnt_mntopts); in hasmntopt()
/titanic_41/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c2707 char tmpopts[MNT_LINE_MAX]; in mountOptionPresent() local
2708 char *f, *opts = tmpopts; in mountOptionPresent()