Lines Matching defs:options
357 set_option(const option_t *options, const char *option, char *buf, size_t len)
370 retval = set_option_var(options, var, val, buf, len);
376 set_option_var(const option_t *options, const char *var, const char *val,
384 *(type *)options[i].value = 1; \
387 *(type *)options[i].value = (type)strsuftoll(options[i].desc, val, \
388 options[i].minimum, options[i].maximum); break
390 for (i = 0; options[i].name != NULL; i++) {
392 if (options[i].letter != var[0])
394 } else if (strcmp(options[i].name, var) != 0)
396 switch (options[i].type) {
398 *(bool *)options[i].value = 1;
401 strlcpy((void *)options[i].value, val, (size_t)
402 options[i].maximum);
406 *(char **)options[i].value = s;
422 warnx("Unknown type %d in option %s", options[i].type,
490 "\t[-N userdb-dir] [-O offset] [-o fs-options] [-R roundup-size]\n"
499 fprintf(stderr, "\n%s specific options:\n", fstype->type);