optind 120 drivers/scsi/aic7xxx/aicasm/aicasm.c extern int optind; optind 253 drivers/scsi/aic7xxx/aicasm/aicasm.c argc -= optind; optind 254 drivers/scsi/aic7xxx/aicasm/aicasm.c argv += optind; optind 493 samples/bpf/hbm.c if (optind < argc) optind 494 samples/bpf/hbm.c prog = argv[optind]; optind 152 samples/bpf/sampleip_user.c if (argc - optind == 1) optind 153 samples/bpf/sampleip_user.c secs = atoi(argv[optind]); optind 148 samples/bpf/test_cgrp2_attach.c if (argc - optind < 2) optind 151 samples/bpf/test_cgrp2_attach.c if (strcmp(argv[optind + 1], "ingress") == 0) optind 153 samples/bpf/test_cgrp2_attach.c else if (strcmp(argv[optind + 1], "egress") == 0) optind 158 samples/bpf/test_cgrp2_attach.c cg_fd = open(argv[optind], O_DIRECTORY | O_RDONLY); optind 242 samples/bpf/test_cgrp2_sock.c if (optind == argc) optind 245 samples/bpf/test_cgrp2_sock.c cgrp_path = argv[optind]; optind 112 samples/bpf/xdp1_user.c if (optind == argc) { optind 122 samples/bpf/xdp1_user.c ifindex = if_nametoindex(argv[optind]); optind 100 samples/bpf/xdp_fwd_user.c if (optind == argc) { optind 138 samples/bpf/xdp_fwd_user.c for (i = optind; i < argc; ++i) { optind 130 samples/bpf/xdp_redirect_map_user.c if (optind == argc) { optind 140 samples/bpf/xdp_redirect_map_user.c ifindex_in = if_nametoindex(argv[optind]); optind 142 samples/bpf/xdp_redirect_map_user.c ifindex_in = strtoul(argv[optind], NULL, 0); optind 144 samples/bpf/xdp_redirect_map_user.c ifindex_out = if_nametoindex(argv[optind + 1]); optind 146 samples/bpf/xdp_redirect_map_user.c ifindex_out = strtoul(argv[optind + 1], NULL, 0); optind 131 samples/bpf/xdp_redirect_user.c if (optind == argc) { optind 141 samples/bpf/xdp_redirect_user.c ifindex_in = if_nametoindex(argv[optind]); optind 143 samples/bpf/xdp_redirect_user.c ifindex_in = strtoul(argv[optind], NULL, 0); optind 145 samples/bpf/xdp_redirect_user.c ifindex_out = if_nametoindex(argv[optind + 1]); optind 147 samples/bpf/xdp_redirect_user.c ifindex_out = strtoul(argv[optind + 1], NULL, 0); optind 665 samples/bpf/xdp_router_ipv4_user.c if (optind == ac) { optind 136 samples/bpf/xdp_sample_pkts_user.c if (optind == argc) { optind 164 samples/bpf/xdp_sample_pkts_user.c if_idx = if_nametoindex(argv[optind]); optind 166 samples/bpf/xdp_sample_pkts_user.c if_idx = strtoul(argv[optind], NULL, 0); optind 172 samples/bpf/xdp_sample_pkts_user.c if_name = argv[optind]; optind 127 samples/connector/ucon.c if (argc != optind) { optind 128 samples/connector/ucon.c out = fopen(argv[optind], "a+"); optind 267 scripts/dtc/dtc.c if (argc > (optind+1)) optind 269 scripts/dtc/dtc.c else if (argc < (optind+1)) optind 272 scripts/dtc/dtc.c arg = argv[optind]; optind 333 scripts/dtc/fdtget.c if (optind < argc) optind 334 scripts/dtc/fdtget.c filename = argv[optind++]; optind 338 scripts/dtc/fdtget.c argv += optind; optind 339 scripts/dtc/fdtget.c argc -= optind; optind 330 scripts/dtc/fdtput.c if (optind < argc) optind 331 scripts/dtc/fdtput.c filename = argv[optind++]; optind 335 scripts/dtc/fdtput.c argv += optind; optind 336 scripts/dtc/fdtput.c argc -= optind; optind 554 scripts/kconfig/conf.c if (ac == optind) { optind 559 scripts/kconfig/conf.c name = av[optind]; optind 2632 scripts/mod/modpost.c while (optind < argc) optind 2633 scripts/mod/modpost.c read_symbols(argv[optind++]); optind 490 scripts/pnmtologo.c if (optind != argc-1) optind 493 scripts/pnmtologo.c filename = argv[optind]; optind 637 scripts/recordmcount.c if ((argc - optind) < 1) { optind 643 scripts/recordmcount.c for (i = optind; i < argc; i++) { optind 258 scripts/sign-file.c argc -= optind; optind 259 scripts/sign-file.c argv += optind; optind 311 scripts/unifdef.c argc -= optind; optind 312 scripts/unifdef.c argv += optind; optind 354 tools/accounting/getdelays.c if (execvp(argv[optind - 1], optind 355 tools/accounting/getdelays.c &argv[optind - 1]) < 0) optind 409 tools/bpf/bpftool/main.c p_err("unrecognized option '%s'", argv[optind - 1]); optind 417 tools/bpf/bpftool/main.c argc -= optind; optind 418 tools/bpf/bpftool/main.c argv += optind; optind 95 tools/firmware/ihex2fw.c if (optind + 2 != argc) optind 98 tools/firmware/ihex2fw.c if (!strcmp(argv[optind], "-")) optind 101 tools/firmware/ihex2fw.c infd = open(argv[optind], O_RDONLY); optind 117 tools/firmware/ihex2fw.c if (!strcmp(argv[optind+1], "-")) optind 120 tools/firmware/ihex2fw.c outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); optind 180 tools/iio/lsiio.c if (err || argc > optind) { optind 528 tools/power/cpupower/utils/cpufreq-info.c extern int optind, opterr, optopt; optind 195 tools/power/cpupower/utils/cpufreq-set.c extern int optind, opterr, optopt; optind 139 tools/power/cpupower/utils/cpuidle-info.c extern int optind, opterr, optopt; optind 28 tools/power/cpupower/utils/cpuidle-set.c extern int optind, opterr, optopt; optind 31 tools/power/cpupower/utils/cpupower-info.c extern int optind, opterr, optopt; optind 32 tools/power/cpupower/utils/cpupower-set.c extern int optind, opterr, optopt; optind 443 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c if (argc - optind) optind 444 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c fork_it(argv + optind); optind 1428 tools/power/x86/intel-speed-select/isst-config.c optind = start + 1; optind 1553 tools/power/x86/intel-speed-select/isst-config.c char *feature = argv[optind]; optind 1554 tools/power/x86/intel-speed-select/isst-config.c char *cmd = argv[optind + 1]; optind 1576 tools/power/x86/intel-speed-select/isst-config.c parse_cmd_args(argc, optind + 1, argv); optind 1684 tools/power/x86/intel-speed-select/isst-config.c if (optind > (argc - 2)) { optind 5809 tools/power/x86/turbostat/turbostat.c if (argc - optind) optind 5810 tools/power/x86/turbostat/turbostat.c return fork_it(argv + optind); optind 616 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (argc == optind + 1) optind 617 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c new_epb = parse_cmdline_epb(parse_optarg_string(argv[optind])); optind 619 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (argc > optind + 1) { optind 620 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c fprintf(stderr, "stray parameter '%s'\n", argv[optind + 1]); optind 139 tools/spi/spidev_fdx.c if ((optind + 1) != argc) optind 141 tools/spi/spidev_fdx.c name = argv[optind]; optind 136 tools/testing/selftests/bpf/test_libbpf_open.c if (optind >= argc) { optind 141 tools/testing/selftests/bpf/test_libbpf_open.c snprintf(filename, sizeof(filename), "%s", argv[optind]); optind 147 tools/testing/selftests/bpf/xdping.c if (!server && optind == argc) { optind 160 tools/testing/selftests/bpf/xdping.c if (getaddrinfo(argv[optind], NULL, &hints, &a) || !a) { optind 161 tools/testing/selftests/bpf/xdping.c fprintf(stderr, "Could not resolve %s\n", argv[optind]); optind 239 tools/testing/selftests/bpf/xdping.c count, ifname, argv[optind]); optind 782 tools/testing/selftests/net/msg_zerocopy.c if (optind != argc - 1) optind 329 tools/testing/selftests/net/so_txtime.c error(1, 0, "parse error at %d", optind); optind 333 tools/testing/selftests/net/so_txtime.c if (argc - optind != 2) optind 336 tools/testing/selftests/net/so_txtime.c ilen = parse_io(argv[optind], cfg_in); optind 337 tools/testing/selftests/net/so_txtime.c olen = parse_io(argv[optind + 1], cfg_out); optind 341 tools/testing/selftests/net/udpgso_bench_rx.c if (optind != argc) optind 495 tools/testing/selftests/net/udpgso_bench_tx.c if (optind != argc) optind 657 tools/testing/selftests/networking/timestamping/txtimestamp.c if (optind != argc - 1) optind 457 tools/testing/selftests/powerpc/benchmarks/context_switch.c if (((argc - optind) != 2)) { optind 460 tools/testing/selftests/powerpc/benchmarks/context_switch.c cpu1 = atoi(argv[optind++]); optind 461 tools/testing/selftests/powerpc/benchmarks/context_switch.c cpu2 = atoi(argv[optind++]); optind 290 tools/testing/selftests/powerpc/benchmarks/fork.c if (((argc - optind) != 1)) { optind 293 tools/testing/selftests/powerpc/benchmarks/fork.c cpu = atoi(argv[optind++]); optind 134 tools/testing/selftests/watchdog/watchdog-test.c optind = 0; optind 453 tools/usb/testusb.c if (optind != argc) optind 175 tools/usb/usbip/src/usbip.c cmd = argv[optind]; optind 179 tools/usb/usbip/src/usbip.c argc -= optind; optind 180 tools/usb/usbip/src/usbip.c argv += optind; optind 181 tools/usb/usbip/src/usbip.c optind = 0; optind 375 tools/virtio/ringtest/main.c if (optind < argc) { optind 1485 tools/vm/slabinfo.c if (argc > optind) optind 1486 tools/vm/slabinfo.c pattern_source = argv[optind]; optind 554 usr/gen_init_cpio.c if (argc - optind != 1) { optind 558 usr/gen_init_cpio.c filename = argv[optind];