Lines Matching refs:optbuf
183 char *optbuf, *opt;
186 optbuf = strdup(arg);
187 if (optbuf == NULL)
190 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
196 free(optbuf);
513 char *opt, *optbuf;
520 optbuf = strdup(mntopts);
522 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
529 free(optbuf);
551 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX];
563 optbuf = catopt(strdup(mntopts), options);
568 optbuf = catopt(optbuf, "force");
570 optbuf = catopt(optbuf, "ro");
578 optbuf = catopt(optbuf, "update");
589 mangle(optbuf, &mnt_argv);
605 free(optbuf);
617 free(optbuf);