Lines Matching refs:optbuf
179 char *optbuf, *opt; in specified_ro() local
182 optbuf = strdup(arg); in specified_ro()
183 if (optbuf == NULL) in specified_ro()
186 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in specified_ro()
192 free(optbuf); in specified_ro()
507 char *opt, *optbuf; in hasopt() local
514 optbuf = strdup(mntopts); in hasopt()
516 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in hasopt()
523 free(optbuf); in hasopt()
545 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; in mountfs() local
564 optbuf = catopt(strdup(mntopts), options); in mountfs()
569 optbuf = catopt(optbuf, "force"); in mountfs()
571 optbuf = catopt(optbuf, "ro"); in mountfs()
579 optbuf = catopt(optbuf, "update"); in mountfs()
590 mangle(optbuf, &mnt_argv); in mountfs()
606 free(optbuf); in mountfs()
618 free(optbuf); in mountfs()