Home
last modified time | relevance | path

Searched refs:MAX_MNTOPT_STR (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c84 char obuff[MAX_MNTOPT_STR]; in main()
85 char saved_input_options[MAX_MNTOPT_STR]; in main()
114 if (strlen(optarg) > MAX_MNTOPT_STR) { in main()
172 if ((strlen(obuff) + strlen(MNTOPT_RO) + 2) > MAX_MNTOPT_STR) { in main()
197 if ((strlen(obuff) + strlen(gopt) + 2) > MAX_MNTOPT_STR) { in main()
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c86 char optbuf[MAX_MNTOPT_STR]; in main()
119 (void) strncpy(optbuf, optarg, MAX_MNTOPT_STR); in main()
120 optbuf[MAX_MNTOPT_STR - 1] = '\0'; in main()
174 optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/bootfs/
H A Dmount.c44 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
128 0, optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/lofs/mount/
H A Dmount.c54 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
130 optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/ctfs/
H A Dmount.c47 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
144 optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/objfs/
H A Dmount.c47 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
144 optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/sharefs/
H A Dmount.c47 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
144 optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c102 if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL) in mount_autofs()
159 if ((buf = (char *)malloc(MAX_MNTOPT_STR)) == NULL) in mount_autofs()
163 if (len + strlen(",nest") + 1 > MAX_MNTOPT_STR) in mount_autofs()
H A Dautomount.c96 char mntopts[MAX_MNTOPT_STR]; in main()
315 MAX_MNTOPT_STR) < 0) { in main()
381 char optbuf1[MAX_MNTOPT_STR], *s = optbuf1;
382 char optbuf2[MAX_MNTOPT_STR];
H A Dmount.c73 char obuf[MAX_MNTOPT_STR]; in main()
153 MNTTYPE_AUTOFS, &fni, sizeof (fni), obuf, MAX_MNTOPT_STR); in main()
/illumos-gate/usr/src/cmd/fs.d/fd/
H A Dmount.c46 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
206 fstype, NULL, 0, optbuf, MAX_MNTOPT_STR)) { in do_mount()
/illumos-gate/usr/src/cmd/fs.d/mntfs/
H A Dmount.c51 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
199 optbuf, MAX_MNTOPT_STR)) { in do_mount()
/illumos-gate/usr/src/cmd/fs.d/proc/
H A Dmount.c51 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
207 optbuf, MAX_MNTOPT_STR)) { in do_mount()
/illumos-gate/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c47 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
209 fstype, NULL, 0, optbuf, MAX_MNTOPT_STR) == -1) { in do_mount()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mount/
H A Dmount.c45 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
232 NULL, 0, optbuf, MAX_MNTOPT_STR)) { in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c104 static char opts[MAX_MNTOPT_STR];
416 char opt[MAX_MNTOPT_STR]; in mountfs()
417 char opt2[MAX_MNTOPT_STR]; in mountfs()
553 &args, sizeof (args), mnt->mnt_mntopts, MAX_MNTOPT_STR) != 0) { in mountfs()
677 (void) strlcpy(mnt->mnt_mntopts, opts, MAX_MNTOPT_STR); in fixopts()
/illumos-gate/usr/src/uts/common/sys/
H A Dmount.h83 #define MAX_MNTOPT_STR 1024 /* max length of mount options string */ macro
/illumos-gate/usr/src/lib/brand/solaris10/s10_replacefile/
H A Ds10_replacefile.c81 char mntoptions[MAX_MNTOPT_STR]; in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c377 char opt[MAX_MNTOPT_STR]; in rlmount()
408 opt, MAX_MNTOPT_STR) == SYSERR) { in rlmount()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c164 char optbuf[MAX_MNTOPT_STR] = "rw";
392 mnt.mnt_mntopts, MAX_MNTOPT_STR); in main()
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c140 return (snprintf(buf, MAX_MNTOPT_STR, "dev=%x", odev)); in mntfs_devprint()
216 buf += snprintf(buf, MAX_MNTOPT_STR, in mntfs_optprint()
222 buf += snprintf(buf, MAX_MNTOPT_STR, "=%s", in mntfs_optprint()
232 buf += snprintf(buf, MAX_MNTOPT_STR, "zone=%s", in mntfs_optprint()
241 buf += snprintf(buf, MAX_MNTOPT_STR, "-"); in mntfs_optprint()
294 cp += snprintf(cp, MAX_MNTOPT_STR, "%ld", vfsp->vfs_mtime); in mntfs_populate_text()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c1332 retval->mnt_mntopts = (char *)malloc(MAX_MNTOPT_STR * sizeof (char)); in mnttab_dup()
1337 MAX_MNTOPT_STR * sizeof (char)) >= MAX_MNTOPT_STR * in mnttab_dup()
1587 mtab->mnt_mntopts, MAX_MNTOPT_STR * sizeof (char)) != 0) { in zone_mount_rootfs()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c1214 if (optlen < 0 || optlen > MAX_MNTOPT_STR) { in domount()
1219 inargs = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in domount()
1808 kmem_free(inargs, MAX_MNTOPT_STR); in domount()
2444 char *buf = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in vfs_settag()
2475 (void) vfs_buildoptionstr(mops, buf, MAX_MNTOPT_STR); in vfs_settag()
2477 if (len + strlen(tag) + 2 > MAX_MNTOPT_STR) { in vfs_settag()
2490 kmem_free(buf, MAX_MNTOPT_STR); in vfs_settag()
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c236 char optbuf[MAX_MNTOPT_STR]; in main()
267 if (strlen(optarg) >= MAX_MNTOPT_STR) { in main()
776 sizeof (*args), mntp->mnt_mntopts, MAX_MNTOPT_STR) < 0) { in mount_nfs()
988 if (optlen > MAX_MNTOPT_STR) { in set_args()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c591 if (optlen < 0 || optlen > MAX_MNTOPT_STR) { in fake_domount()
596 inargs = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in fake_domount()
830 kmem_free(inargs, MAX_MNTOPT_STR); in fake_domount()

12