Lines Matching defs:optbuf
340 char *opt, *optbuf;
347 optbuf = estrdup(mntopts);
349 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
356 free(optbuf);
379 char *optbuf, execname[MAXPATHLEN + 1], execbase[MAXPATHLEN],
390 optbuf = NULL;
392 catopt(&optbuf, mntopts);
395 catopt(&optbuf, options);
401 catopt(&optbuf, "rw");
403 if (getargs == 0 && strcmp(name, "/") == 0 && !hasopt(optbuf, "union"))
441 catopt(&optbuf, "force");
443 catopt(&optbuf, "ro");
446 catopt(&optbuf, "rw");
449 catopt(&optbuf, "update");
461 else if (hasopt(optbuf, "rump"))
467 if (optbuf)
468 mangle(optbuf, &argc, &argv, &maxargc);
497 if (optbuf)
498 free(optbuf);
529 if (optbuf)
530 free(optbuf);