Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c86 char obuff[MAX_MNTOPT_STR]; in main()
87 char saved_input_options[MAX_MNTOPT_STR]; in main()
116 if (strlen(optarg) > MAX_MNTOPT_STR) { in main()
174 if ((strlen(obuff) + strlen(MNTOPT_RO) + 2) > MAX_MNTOPT_STR) { in main()
199 if ((strlen(obuff) + strlen(gopt) + 2) > MAX_MNTOPT_STR) { in main()
/titanic_41/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c87 char optbuf[MAX_MNTOPT_STR]; in main()
120 (void) strncpy(optbuf, optarg, MAX_MNTOPT_STR); in main()
121 optbuf[MAX_MNTOPT_STR - 1] = '\0'; in main()
175 optbuf, MAX_MNTOPT_STR)) { in main()
/titanic_41/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()
/titanic_41/usr/src/cmd/fs.d/ctfs/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
146 optbuf, MAX_MNTOPT_STR)) { in main()
/titanic_41/usr/src/cmd/fs.d/objfs/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
146 optbuf, MAX_MNTOPT_STR)) { in main()
/titanic_41/usr/src/cmd/fs.d/sharefs/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
146 optbuf, MAX_MNTOPT_STR)) { in main()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c104 if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL) in mount_autofs()
161 if ((buf = (char *)malloc(MAX_MNTOPT_STR)) == NULL) in mount_autofs()
165 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.c75 char obuf[MAX_MNTOPT_STR]; in main()
155 MNTTYPE_AUTOFS, &fni, sizeof (fni), obuf, MAX_MNTOPT_STR); in main()
/titanic_41/usr/src/cmd/fs.d/fd/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
209 fstype, NULL, 0, optbuf, MAX_MNTOPT_STR)) { in do_mount()
/titanic_41/usr/src/cmd/fs.d/mntfs/
H A Dmount.c54 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
202 optbuf, MAX_MNTOPT_STR)) { in do_mount()
/titanic_41/usr/src/cmd/fs.d/proc/
H A Dmount.c54 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
210 optbuf, MAX_MNTOPT_STR)) { in do_mount()
/titanic_41/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
211 fstype, NULL, 0, optbuf, MAX_MNTOPT_STR) == -1) { in do_mount()
/titanic_41/usr/src/cmd/fs.d/pcfs/mount/
H A Dmount.c46 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
233 NULL, 0, optbuf, MAX_MNTOPT_STR)) { in main()
/titanic_41/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()
/titanic_41/usr/src/uts/common/sys/
H A Dmount.h77 #define MAX_MNTOPT_STR 1024 /* max length of mount options string */ macro
/titanic_41/usr/src/lib/brand/solaris10/s10_replacefile/
H A Ds10_replacefile.c81 char mntoptions[MAX_MNTOPT_STR]; in main()
/titanic_41/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c379 char opt[MAX_MNTOPT_STR]; in rlmount()
410 opt, MAX_MNTOPT_STR) == SYSERR) { in rlmount()
/titanic_41/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c164 char optbuf[MAX_MNTOPT_STR] = "rw";
383 mnt.mnt_mntopts, MAX_MNTOPT_STR); in main()
/titanic_41/usr/src/cmd/fs.d/cachefs/mount/
H A Dmount.c220 char mops[MAX_MNTOPT_STR]; in main()
221 char cfs_nfsv4ops[MAX_MNTOPT_STR]; in main()
492 MAX_MNTOPT_STR); in main()
1665 snprintf(cfs_nfsv4ops, MAX_MNTOPT_STR, in cfs_nfsv4_build_opts()
/titanic_41/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()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzfs.c1326 retval->mnt_mntopts = (char *)malloc(MAX_MNTOPT_STR * sizeof (char)); in mnttab_dup()
1331 MAX_MNTOPT_STR * sizeof (char)) >= MAX_MNTOPT_STR * in mnttab_dup()
1581 mtab->mnt_mntopts, MAX_MNTOPT_STR * sizeof (char)) != 0) { in zone_mount_rootfs()
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/
H A Dvfs.c1288 if (optlen < 0 || optlen > MAX_MNTOPT_STR) { in domount()
1293 inargs = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in domount()
1882 kmem_free(inargs, MAX_MNTOPT_STR); in domount()
2518 char *buf = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in vfs_settag()
2549 (void) vfs_buildoptionstr(mops, buf, MAX_MNTOPT_STR); in vfs_settag()
2551 if (len + strlen(tag) + 2 > MAX_MNTOPT_STR) { in vfs_settag()
2564 kmem_free(buf, MAX_MNTOPT_STR); in vfs_settag()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c3254 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP); in nfs4_trigger_create_mntopts()
3267 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_create_mntopts()
3287 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_create_mntopts()
3298 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_destroy_mntopts()
3315 if (mntoptslen + optnamelen + 2 > MAX_MNTOPT_STR) in nfs4_trigger_add_mntopt()

12