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

12

/illumos-gate/usr/src/uts/common/sys/
H A Dmount.h77 #define MAX_MNTOPT_STR 1024 /* max length of mount options string */ macro
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c86 char obuff[MAX_MNTOPT_STR];
87 char saved_input_options[MAX_MNTOPT_STR];
116 if (strlen(optarg) > MAX_MNTOPT_STR) {
174 if ((strlen(obuff) + strlen(MNTOPT_RO) + 2) > MAX_MNTOPT_STR) {
199 if ((strlen(obuff) + strlen(gopt) + 2) > MAX_MNTOPT_STR) {
/illumos-gate/usr/src/lib/brand/solaris10/s10_replacefile/
H A Ds10_replacefile.c81 char mntoptions[MAX_MNTOPT_STR];
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c87 char optbuf[MAX_MNTOPT_STR];
120 (void) strncpy(optbuf, optarg, MAX_MNTOPT_STR);
121 optbuf[MAX_MNTOPT_STR - 1] = '\0';
175 optbuf, MAX_MNTOPT_STR)) {
/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)) {
/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)) {
/illumos-gate/usr/src/cmd/fs.d/ctfs/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
146 optbuf, MAX_MNTOPT_STR)) {
/illumos-gate/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)) {
/illumos-gate/usr/src/cmd/fs.d/mntfs/
H A Dmount.c54 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
202 optbuf, MAX_MNTOPT_STR)) {
/illumos-gate/usr/src/cmd/fs.d/objfs/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
146 optbuf, MAX_MNTOPT_STR)) {
/illumos-gate/usr/src/cmd/fs.d/proc/
H A Dmount.c54 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
210 optbuf, MAX_MNTOPT_STR)) {
/illumos-gate/usr/src/cmd/fs.d/sharefs/
H A Dmount.c49 static char optbuf[MAX_MNTOPT_STR] = { '\0', };
146 optbuf, MAX_MNTOPT_STR)) {
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dmount.c75 char obuf[MAX_MNTOPT_STR];
155 MNTTYPE_AUTOFS, &fni, sizeof (fni), obuf, MAX_MNTOPT_STR);
H A Dautod_autofs.c104 if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL)
161 if ((buf = (char *)malloc(MAX_MNTOPT_STR)) == NULL)
165 if (len + strlen(",nest") + 1 > MAX_MNTOPT_STR)
H A Dautomount.c96 char mntopts[MAX_MNTOPT_STR];
315 MAX_MNTOPT_STR) < 0) {
381 char optbuf1[MAX_MNTOPT_STR], *s = optbuf1;
382 char optbuf2[MAX_MNTOPT_STR];
/illumos-gate/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)) {
/illumos-gate/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) {
/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];
417 char opt2[MAX_MNTOPT_STR];
553 &args, sizeof (args), mnt->mnt_mntopts, MAX_MNTOPT_STR) != 0) {
677 (void) strlcpy(mnt->mnt_mntopts, opts, MAX_MNTOPT_STR);
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c379 char opt[MAX_MNTOPT_STR];
410 opt, MAX_MNTOPT_STR) == SYSERR) {
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c164 char optbuf[MAX_MNTOPT_STR] = "rw";
383 mnt.mnt_mntopts, MAX_MNTOPT_STR);
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c1325 retval->mnt_mntopts = (char *)malloc(MAX_MNTOPT_STR * sizeof (char));
1330 MAX_MNTOPT_STR * sizeof (char)) >= MAX_MNTOPT_STR *
1580 mtab->mnt_mntopts, MAX_MNTOPT_STR * sizeof (char)) != 0) {
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c140 return (snprintf(buf, MAX_MNTOPT_STR, "dev=%x", odev));
216 buf += snprintf(buf, MAX_MNTOPT_STR,
222 buf += snprintf(buf, MAX_MNTOPT_STR, "=%s",
232 buf += snprintf(buf, MAX_MNTOPT_STR, "zone=%s",
241 buf += snprintf(buf, MAX_MNTOPT_STR, "-");
294 cp += snprintf(cp, MAX_MNTOPT_STR, "%ld", vfsp->vfs_mtime);
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c236 char optbuf[MAX_MNTOPT_STR];
267 if (strlen(optarg) >= MAX_MNTOPT_STR) {
776 sizeof (*args), mntp->mnt_mntopts, MAX_MNTOPT_STR) < 0) {
988 if (optlen > MAX_MNTOPT_STR) {
/illumos-gate/usr/src/head/
H A Dlibzonecfg.h183 char zone_fsopt_opt[MAX_MNTOPT_STR];
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c3259 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP);
3272 kmem_free(mntopts, MAX_MNTOPT_STR);
3292 kmem_free(mntopts, MAX_MNTOPT_STR);
3303 kmem_free(mntopts, MAX_MNTOPT_STR);
3320 if (mntoptslen + optnamelen + 2 > MAX_MNTOPT_STR)

Completed in 77 milliseconds

12