/illumos-gate/usr/src/uts/common/sys/ |
H A D | mount.h | 77 #define MAX_MNTOPT_STR 1024 /* max length of mount options string */ macro
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/ |
H A D | mount.c | 86 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 D | s10_replacefile.c | 81 char mntoptions[MAX_MNTOPT_STR];
|
/illumos-gate/usr/src/cmd/fs.d/tmpfs/ |
H A D | mount.c | 87 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 D | mount.c | 54 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 130 optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/bootfs/ |
H A D | mount.c | 44 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 128 0, optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/ctfs/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 146 optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/fd/ |
H A D | mount.c | 49 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 D | mount.c | 54 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 202 optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/objfs/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 146 optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/proc/ |
H A D | mount.c | 54 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 210 optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/sharefs/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; 146 optbuf, MAX_MNTOPT_STR)) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | mount.c | 75 char obuf[MAX_MNTOPT_STR]; 155 MNTTYPE_AUTOFS, &fni, sizeof (fni), obuf, MAX_MNTOPT_STR);
|
H A D | autod_autofs.c | 104 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 D | automount.c | 96 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 D | mount.c | 46 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 D | mount.c | 49 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 D | mount.c | 104 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 D | roll_log.c | 379 char opt[MAX_MNTOPT_STR]; 410 opt, MAX_MNTOPT_STR) == SYSERR) {
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/ |
H A D | mount.c | 164 char optbuf[MAX_MNTOPT_STR] = "rw"; 383 mnt.mnt_mntopts, MAX_MNTOPT_STR);
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 1325 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 D | mntvnops.c | 140 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 D | mount.c | 236 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 D | libzonecfg.h | 183 char zone_fsopt_opt[MAX_MNTOPT_STR];
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 3259 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)
|