Home
last modified time | relevance | path

Searched refs:acpi_gbl_optind (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/tools/power/acpi/common/
Dgetopt.c29 int acpi_gbl_optind = 1; variable
56 acpi_gbl_optind--; in acpi_getopt_argument()
59 if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { in acpi_getopt_argument()
61 &argv[acpi_gbl_optind++][(int)(current_char_ptr + 1)]; in acpi_getopt_argument()
62 } else if (++acpi_gbl_optind >= argc) { in acpi_getopt_argument()
68 acpi_gbl_optarg = argv[acpi_gbl_optind++]; in acpi_getopt_argument()
94 if (acpi_gbl_optind >= argc || in acpi_getopt()
95 argv[acpi_gbl_optind][0] != '-' || in acpi_getopt()
96 argv[acpi_gbl_optind][1] == '\0') { in acpi_getopt()
98 } else if (strcmp(argv[acpi_gbl_optind], "--") == 0) { in acpi_getopt()
[all …]
/linux-5.19.10/drivers/acpi/acpica/
Dacapps.h104 extern int acpi_gbl_optind;