• Home
  • Raw
  • Download

Lines Matching refs:optarg

167 static int is_digits(char *optarg)  in is_digits()  argument
171 for (i = 0; i < strlen(optarg); i++) in is_digits()
172 if (!isdigit(optarg[i])) in is_digits()
174 return i == strlen(optarg); in is_digits()
267 c.cache_config.num_cache_entry = atoi(optarg); in f2fs_parse_options()
271 atoi(optarg); in f2fs_parse_options()
274 if (!strcmp(optarg, "android")) in f2fs_parse_options()
284 if (parse_feature(feature_table, optarg)) in f2fs_parse_options()
294 if (optarg[0] == '-' || !is_digits(optarg) || in f2fs_parse_options()
302 c.preen_mode = atoi(optarg); in f2fs_parse_options()
314 if (optarg[0] == '-') { in f2fs_parse_options()
317 } else if (!is_digits(optarg)) { in f2fs_parse_options()
321 c.dbg_lv = atoi(optarg); in f2fs_parse_options()
331 c.preserve_limits = atoi(optarg); in f2fs_parse_options()
353 token = strtok(optarg, ":"); in f2fs_parse_options()
401 if (!is_digits(optarg)) { in f2fs_parse_options()
405 c.dbg_lv = atoi(optarg); in f2fs_parse_options()
410 if (!strcmp(optarg, "android")) { in f2fs_parse_options()
418 if (strncmp(optarg, "0x", 2)) in f2fs_parse_options()
419 ret = sscanf(optarg, "%d", in f2fs_parse_options()
422 ret = sscanf(optarg, "%x", in f2fs_parse_options()
426 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
434 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
442 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
447 if (strncmp(optarg, "0x", 2)) in f2fs_parse_options()
448 ret = sscanf(optarg, "%d", in f2fs_parse_options()
451 ret = sscanf(optarg, "%x", in f2fs_parse_options()
478 if (!is_digits(optarg)) { in f2fs_parse_options()
482 c.dbg_lv = atoi(optarg); in f2fs_parse_options()
487 if (strncmp(optarg, "0x", 2)) in f2fs_parse_options()
488 ret = sscanf(optarg, "%"PRIu64"", in f2fs_parse_options()
491 ret = sscanf(optarg, "%"PRIx64"", in f2fs_parse_options()
498 if (strncmp(optarg, "0x", 2)) in f2fs_parse_options()
499 ret = sscanf(optarg, "%"PRIu64"", in f2fs_parse_options()
502 ret = sscanf(optarg, "%"PRIx64"", in f2fs_parse_options()
506 if (strncmp(optarg, "0x", 2)) in f2fs_parse_options()
507 ret = sscanf(optarg, "%"PRIu64"", in f2fs_parse_options()
510 ret = sscanf(optarg, "%"PRIx64"", in f2fs_parse_options()
538 if (!is_digits(optarg)) { in f2fs_parse_options()
542 c.dbg_lv = atoi(optarg); in f2fs_parse_options()
554 if (strncmp(optarg, "0x", 2)) in f2fs_parse_options()
555 ret = sscanf(optarg, "%"PRIu64"", in f2fs_parse_options()
558 ret = sscanf(optarg, "%"PRIx64"", in f2fs_parse_options()
601 val = atoi(optarg); in f2fs_parse_options()
618 optarg)) { in f2fs_parse_options()
625 " algorithm %s\n", optarg); in f2fs_parse_options()
637 c.compress.filter_ops->add(optarg); in f2fs_parse_options()
647 c.compress.filter_ops->add(optarg); in f2fs_parse_options()
651 val = atoi(optarg); in f2fs_parse_options()
665 c.fs_config_file = absolute_path(optarg); in f2fs_parse_options()
668 if (!is_digits(optarg)) { in f2fs_parse_options()
672 c.dbg_lv = atoi(optarg); in f2fs_parse_options()
677 c.from_dir = absolute_path(optarg); in f2fs_parse_options()
680 c.target_out_dir = absolute_path(optarg); in f2fs_parse_options()
684 token = strtok(optarg, ","); in f2fs_parse_options()
706 c.mount_point = (char *)optarg; in f2fs_parse_options()
709 c.fixed_time = strtoul(optarg, &p, 0); in f2fs_parse_options()
801 MSG(0, "\tError: Wrong option -%c %s\n", option, optarg); in f2fs_parse_options()