Lines Matching defs:optarg
2720 void parse_cpu_command(char *optarg)
2725 next = optarg;
2792 fprintf(stderr, "\"--cpu %s\" malformed\n", optarg);
2798 if (optarg) {
2799 char *start = optarg;
2802 if (hex && strlen(optarg) < 3) {
2804 fprintf(stderr, "malformed arguments for:%s [%s]\n", option, optarg);
2809 if (optarg[0] != '0' || tolower(optarg[1]) != 'x') {
2811 option, optarg);
2814 start = &optarg[2];
2821 option, optarg);
2826 option, optarg);
2867 fact_bucket = atoi(optarg);
2874 tdp_level = atoi(optarg);
2881 sscanf(optarg, "0x%llx", &fact_trl);
2884 if (!strncmp(optarg, "sse", 3)) {
2886 } else if (!strncmp(optarg, "avx2", 4)) {
2888 } else if (!strncmp(optarg, "avx512", 6)) {
2898 current_clos = atoi(optarg);
2902 clos_desired = atoi(optarg);
2907 clos_epp = atoi(optarg);
2915 clos_min = atoi(optarg);
2920 clos_max = atoi(optarg);
2925 clos_priority_type = atoi(optarg);
2933 clos_prop_prio = atoi(optarg);
3200 parse_cpu_command(optarg);
3207 if (!strncmp(optarg, "json", 4))
3219 outf = fopen_or_exit(optarg, "w");
3222 ret = strtol(optarg, &ptr, 10);
3229 ret = strtol(optarg, &ptr, 10);
3245 ret = strtol(optarg, &ptr, 10);