Searched refs:tmpopts (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | main.c | 412 static char *tmpopts; in hasvfsopt() local 416 if (tmpopts == 0) { in hasvfsopt() 417 tmpopts = (char *)calloc(256, sizeof (char)); in hasvfsopt() 418 if (tmpopts == 0) in hasvfsopt() 421 (void) strncpy(tmpopts, vfs->vfs_mntopts, (sizeof (tmpopts) - 1)); in hasvfsopt() 422 opts = tmpopts; in hasvfsopt() 426 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 330 static char *tmpopts; in hasvfsopt() local 332 if (tmpopts == 0) { in hasvfsopt() 333 tmpopts = (char *)calloc(256, sizeof (char)); in hasvfsopt() 334 if (tmpopts == 0) in hasvfsopt() 337 strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt() 338 opts = tmpopts; in hasvfsopt() 342 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 490 static char *tmpopts; in hasvfsopt() local 492 if (tmpopts == 0) { in hasvfsopt() 493 tmpopts = calloc(256, sizeof (char)); in hasvfsopt() 494 if (tmpopts == 0) in hasvfsopt() 497 (void) strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt() 498 opts = tmpopts; in hasvfsopt() 502 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 772 static char *tmpopts; in hasvfsopt() local 774 if (tmpopts == 0) { in hasvfsopt() 775 tmpopts = (char *)calloc(256, sizeof (char)); in hasvfsopt() 776 if (tmpopts == 0) in hasvfsopt() 779 strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt() 780 opts = tmpopts; in hasvfsopt() 784 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | switchout.c | 132 char *tmpopts = NULL; /* used for in use checking */ in main() local 182 tmpopts = optarg; in main() 183 Nflag = has_Nflag(tmpopts); in main()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getmntent.c | 308 char tmpopts[MNT_LINE_MAX]; in hasmntopt() local 309 char *f, *opts = tmpopts; in hasmntopt() 325 return (f - tmpopts + mnt->mnt_mntopts); in hasmntopt()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 2711 char tmpopts[MNT_LINE_MAX]; in mountOptionPresent() local 2712 char *f, *opts = tmpopts; in mountOptionPresent()
|