argv 56 Documentation/usb/usbdevfs-drop-permissions.c int main(int argc, char *argv[]) argv 61 Documentation/usb/usbdevfs-drop-permissions.c fd = open(argv[1], O_RDWR); argv 86 arch/alpha/boot/tools/mkbb.c int main(int argc, char ** argv) argv 96 arch/alpha/boot/tools/mkbb.c fprintf(stderr, "Usage: %s device lxboot\n", argv[0]); argv 101 arch/alpha/boot/tools/mkbb.c dev = open(argv[1], O_RDWR); argv 103 arch/alpha/boot/tools/mkbb.c perror(argv[1]); argv 108 arch/alpha/boot/tools/mkbb.c fd = open(argv[2], O_RDONLY); argv 110 arch/alpha/boot/tools/mkbb.c perror(argv[2]); argv 53 arch/alpha/boot/tools/objstrip.c main (int argc, char *argv[]) argv 66 arch/alpha/boot/tools/objstrip.c prog_name = argv[0]; argv 68 arch/alpha/boot/tools/objstrip.c for (i = 1; i < argc && argv[i][0] == '-'; ++i) { argv 69 arch/alpha/boot/tools/objstrip.c for (j = 1; argv[i][j]; ++j) { argv 70 arch/alpha/boot/tools/objstrip.c switch (argv[i][j]) { argv 89 arch/alpha/boot/tools/objstrip.c inname = argv[i++]; argv 99 arch/alpha/boot/tools/objstrip.c ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); argv 116 arch/arm/vdso/vdsomunge.c int main(int argc, char **argv) argv 130 arch/arm/vdso/vdsomunge.c argv0 = argv[0]; argv 133 arch/arm/vdso/vdsomunge.c fail("Usage: %s [infile] [outfile]\n", argv[0]); argv 135 arch/arm/vdso/vdsomunge.c infile = argv[1]; argv 136 arch/arm/vdso/vdsomunge.c outfile = argv[2]; argv 73 arch/m68k/include/asm/openprom.h char *argv[8]; argv 41 arch/m68k/tools/amiga/dmesg.c int main(int argc, char *argv[]) argv 48 arch/m68k/tools/amiga/dmesg.c end = strtoul(argv[1], NULL, 0); argv 21 arch/microblaze/kernel/asm-offsets.c int main(int argc, char *argv[]) argv 42 arch/mips/ar7/prom.c static void __init ar7_init_cmdline(int argc, char *argv[]) argv 47 arch/mips/ar7/prom.c strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); argv 14 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c int main(int argc, char *argv[]) argv 21 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c argv[0]); argv 25 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c if (stat(argv[1], &sb) == -1) { argv 32 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c if (sscanf(argv[2], "%llx", &vmlinux_load_addr) != 1) { argv 268 arch/mips/boot/elf2ecoff.c int main(int argc, char *argv[]) argv 294 arch/mips/boot/elf2ecoff.c if (strcmp(argv[3], "-a")) argv 300 arch/mips/boot/elf2ecoff.c if ((infile = open(argv[1], O_RDONLY)) < 0) { argv 302 arch/mips/boot/elf2ecoff.c argv[1], strerror(errno)); argv 310 arch/mips/boot/elf2ecoff.c argv[1], argv 507 arch/mips/boot/elf2ecoff.c if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) { argv 508 arch/mips/boot/elf2ecoff.c fprintf(stderr, "Unable to create %s: %s\n", argv[2], argv 29 arch/mips/boot/tools/relocs_main.c int main(int argc, char **argv) argv 43 arch/mips/boot/tools/relocs_main.c char *arg = argv[i]; argv 175 arch/mips/cavium-octeon/setup.c octeon_boot_desc_ptr->argv[argc] = argv 872 arch/mips/cavium-octeon/setup.c cvmx_phys_to_ptr(octeon_boot_desc_ptr->argv[i]); argv 952 arch/mips/cavium-octeon/setup.c cvmx_phys_to_ptr(octeon_boot_desc_ptr->argv[i]); argv 103 arch/mips/cobalt/setup.c char **argv; argv 107 arch/mips/cobalt/setup.c argv = (char **)fw_arg1; argv 110 arch/mips/cobalt/setup.c strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); argv 18 arch/mips/dec/prom/cmdline.c void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) argv 31 arch/mips/dec/prom/cmdline.c arg = (void *)(long)(argv[i]); argv 95 arch/mips/dec/prom/init.c s32 *argv = (void *)fw_arg1; argv 136 arch/mips/dec/prom/init.c prom_init_cmdline(argc, argv, magic); argv 142 arch/mips/fw/sni/sniprom.c u32 *argv = (u32 *)CKSEG0ADDR(fw_arg1); argv 149 arch/mips/fw/sni/sniprom.c strcat(arcs_cmdline, (char *)CKSEG0ADDR(argv[i])); argv 24 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # a1 = argv (kseg0 compat addr) argv 73 arch/mips/include/asm/octeon/octeon.h uint32_t argv[OCTEON_ARGV_MAX_ARGS]; argv 127 arch/mips/include/asm/octeon/octeon.h uint32_t argv[OCTEON_ARGV_MAX_ARGS]; argv 54 arch/mips/lantiq/prom.c char **argv = (char **) KSEG1ADDR(fw_arg1); argv 60 arch/mips/lantiq/prom.c char *p = (char *) KSEG1ADDR(argv[i]); argv 87 arch/mips/lasat/prom.c char **argv = (char **) fw_arg1; argv 105 arch/mips/lasat/prom.c strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1); argv 102 arch/mips/netlogic/xlr/setup.c static void __init build_arcs_cmdline(int *argv) argv 109 arch/mips/netlogic/xlr/setup.c for (i = 0; argv[i] != 0; i++) { argv 110 arch/mips/netlogic/xlr/setup.c arg = (char *)(long)argv[i]; argv 177 arch/mips/netlogic/xlr/setup.c int *argv, *envp; /* passed as 32 bit ptrs */ argv 185 arch/mips/netlogic/xlr/setup.c argv = (int *)(long)(int)fw_arg1; argv 198 arch/mips/netlogic/xlr/setup.c build_arcs_cmdline(argv); argv 43 arch/mips/paravirt/setup.c char **argv = (char **)fw_arg1; argv 52 arch/mips/paravirt/setup.c strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); argv 68 arch/mips/pic32/pic32mzda/init.c static __init void pic32_init_cmdline(int argc, char *argv[]) argv 76 arch/mips/pic32/pic32mzda/init.c src = argv[i]; argv 376 arch/mips/pmcs-msp71xx/msp_prom.c char **argv; argv 392 arch/mips/pmcs-msp71xx/msp_prom.c argv = kmalloc(len, GFP_KERNEL); argv 393 arch/mips/pmcs-msp71xx/msp_prom.c ptr = (char *) &argv[prom_argc + 1]; /* strings follow array */ argv 396 arch/mips/pmcs-msp71xx/msp_prom.c argv[argc] = ptr; argv 400 arch/mips/pmcs-msp71xx/msp_prom.c argv[prom_argc] = NULL; /* end array with null pointer */ argv 401 arch/mips/pmcs-msp71xx/msp_prom.c prom_argv = argv; argv 19 arch/mips/pnx833x/common/prom.c char **argv = (char **)fw_arg1; argv 24 arch/mips/pnx833x/common/prom.c strcpy(c, argv[i]); argv 25 arch/mips/pnx833x/common/prom.c c += strlen(argv[i]); argv 34 arch/mips/ralink/prom.c char **argv; argv 42 arch/mips/ralink/prom.c argv = (char **) KSEG1ADDR(fw_arg1); argv 44 arch/mips/ralink/prom.c if (!argv) { argv 46 arch/mips/ralink/prom.c argv); argv 51 arch/mips/ralink/prom.c char *p = (char *) KSEG1ADDR(argv[i]); argv 32 arch/mips/tools/elf-entry.c int main(int argc, const char *argv[]) argv 45 arch/mips/tools/elf-entry.c file = fopen(argv[1], "r"); argv 199 arch/mips/vdso/genvdso.c int main(int argc, char **argv) argv 205 arch/mips/vdso/genvdso.c program_name = argv[0]; argv 214 arch/mips/vdso/genvdso.c dbg_vdso_path = argv[1]; argv 215 arch/mips/vdso/genvdso.c vdso_path = argv[2]; argv 216 arch/mips/vdso/genvdso.c out_path = argv[3]; argv 217 arch/mips/vdso/genvdso.c vdso_name = (argc > 4) ? argv[4] : ""; argv 50 arch/mips/vr41xx/common/init.c char **argv; argv 53 arch/mips/vr41xx/common/init.c argv = (char **)fw_arg1; argv 56 arch/mips/vr41xx/common/init.c strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); argv 254 arch/parisc/include/asm/processor.h elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \ argv 274 arch/parisc/include/asm/processor.h get_user(regs->gr[25], (argv - 1)); \ argv 275 arch/parisc/include/asm/processor.h regs->gr[24] = (long) argv; \ argv 42 arch/powerpc/boot/mktree.c int main(int argc, char *argv[]) argv 51 arch/powerpc/boot/mktree.c fprintf(stderr, "usage: %s <zImage-file> <boot-image> <load address> <entry point>\n",argv[0]); argv 55 arch/powerpc/boot/mktree.c if (stat(argv[1], &st) < 0) { argv 65 arch/powerpc/boot/mktree.c bt.bb_dest = htonl(strtoul(argv[3], NULL, 0)); argv 66 arch/powerpc/boot/mktree.c bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0)); argv 82 arch/powerpc/boot/mktree.c if ((in_fd = open(argv[1], O_RDONLY)) < 0) { argv 87 arch/powerpc/boot/mktree.c if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { argv 101 arch/powerpc/boot/mktree.c argv[1]); argv 106 arch/powerpc/boot/mktree.c fprintf(stderr, "%s is not an ELF image\n", argv[1]); argv 111 arch/powerpc/boot/mktree.c fprintf(stderr, "%s failed to seek in ELF image\n", argv[1]); argv 158 arch/s390/tools/gen_facilities.c int main(int argc, char **argv) argv 318 arch/s390/tools/gen_opcode_table.c int main(int argc, char **argv) argv 173 arch/sparc/boot/piggyback.c int main(int argc,char **argv) argv 184 arch/sparc/boot/piggyback.c if (strcmp(argv[1], "64") == 0) argv 186 arch/sparc/boot/piggyback.c if (stat (argv[4], &s) < 0) argv 187 arch/sparc/boot/piggyback.c die(argv[4]); argv 189 arch/sparc/boot/piggyback.c if (!get_start_end(argv[3], &start, &end)) { argv 191 arch/sparc/boot/piggyback.c argv[3]); argv 194 arch/sparc/boot/piggyback.c if ((image = open(argv[2], O_RDWR)) < 0) argv 195 arch/sparc/boot/piggyback.c die(argv[2]); argv 197 arch/sparc/boot/piggyback.c die(argv[2]); argv 210 arch/sparc/boot/piggyback.c offset = get_hdrs_offset(image, argv[2]); argv 230 arch/sparc/boot/piggyback.c die(argv[2]); argv 245 arch/sparc/boot/piggyback.c die(argv[2]); argv 251 arch/sparc/boot/piggyback.c if ((tail = open(argv[4], O_RDONLY)) < 0) argv 252 arch/sparc/boot/piggyback.c die(argv[4]); argv 255 arch/sparc/boot/piggyback.c die(argv[2]); argv 65 arch/sparc/include/asm/openprom.h char *argv[8]; argv 32 arch/sparc/prom/bootstr_32.c arg = (*(romvec->pv_v0bootargs))->argv[iter]; argv 180 arch/sparc/vdso/vdso2c.c int main(int argc, char **argv) argv 197 arch/sparc/vdso/vdso2c.c name = strdup(argv[3]); argv 213 arch/sparc/vdso/vdso2c.c map_input(argv[1], &raw_addr, &raw_len, PROT_READ); argv 214 arch/sparc/vdso/vdso2c.c map_input(argv[2], &stripped_addr, &stripped_len, PROT_READ); argv 216 arch/sparc/vdso/vdso2c.c outfilename = argv[3]; argv 219 arch/sparc/vdso/vdso2c.c err(1, "%s", argv[2]); argv 180 arch/um/drivers/net_user.c static int change_tramp(char **argv, char *output, int output_len) argv 193 arch/um/drivers/net_user.c pid = run_helper(change_pre_exec, &pe_data, argv); argv 212 arch/um/drivers/net_user.c char *argv[] = { "uml_net", version, what, dev, addr_buf, argv 228 arch/um/drivers/net_user.c pid = change_tramp(argv, output, output_len); argv 170 arch/um/drivers/port_user.c char *argv[] = { "/usr/sbin/in.telnetd", "-L", argv 186 arch/um/drivers/port_user.c err = run_helper(port_pre_exec, &data, argv); argv 74 arch/um/drivers/slip_user.c static int slip_tramp(char **argv, int fd) argv 91 arch/um/drivers/slip_user.c err = run_helper(slip_pre_exec, &pe_data, argv); argv 128 arch/um/drivers/slip_user.c char *argv[] = { "uml_net", version_buf, "slip", "up", gate_buf, argv 158 arch/um/drivers/slip_user.c err = slip_tramp(argv, sfd); argv 194 arch/um/drivers/slip_user.c char *argv[] = { "uml_net", version_buf, "slip", "down", pri->name, argv 203 arch/um/drivers/slip_user.c err = slip_tramp(argv, pri->slave); argv 18 arch/um/drivers/slirp.h struct arg_list_dummy_wrapper { char *argv[SLIRP_MAX_ARGS]; }; argv 42 arch/um/drivers/slirp_kern.c for (i = 0; spri->argw.argv[i] != NULL; i++) argv 43 arch/um/drivers/slirp_kern.c printk(" '%s'",spri->argw.argv[i]); argv 89 arch/um/drivers/slirp_kern.c init->argw.argv[i++] = str; argv 100 arch/um/drivers/slirp_kern.c init->argw.argv[i] = NULL; argv 37 arch/um/drivers/slirp_user.c static int slirp_tramp(char **argv, int fd) argv 44 arch/um/drivers/slirp_user.c pid = run_helper(slirp_pre_exec, &pe_data, argv); argv 58 arch/um/drivers/slirp_user.c err = slirp_tramp(pri->argw.argv, fds[1]); argv 90 arch/um/drivers/xterm.c char *argv[] = { terminal_emulator, title_switch, title, exec_switch, argv 94 arch/um/drivers/xterm.c if (access(argv[4], X_OK) < 0) argv 95 arch/um/drivers/xterm.c argv[4] = "port-helper"; argv 137 arch/um/drivers/xterm.c pid = run_helper(NULL, NULL, argv); argv 58 arch/um/include/shared/as-layout.h extern int linux_main(int argc, char **argv); argv 217 arch/um/include/shared/os.h extern int execvp_noalloc(char *buf, const char *file, char *const argv[]); argv 219 arch/um/include/shared/os.h extern int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv); argv 250 arch/um/kernel/um_arch.c int __init linux_main(int argc, char **argv) argv 259 arch/um/kernel/um_arch.c if ((i == 1) && (argv[i][0] == ' ')) argv 262 arch/um/kernel/um_arch.c uml_checksetup(argv[i], &add); argv 264 arch/um/kernel/um_arch.c add_arg(argv[i]); argv 322 arch/um/kernel/um_arch.c stack = (unsigned long) argv; argv 67 arch/um/os-Linux/drivers/tuntap_user.c char *argv[] = { "uml_net", version_buf, "tuntap", "up", gate, argv 80 arch/um/os-Linux/drivers/tuntap_user.c pid = run_helper(tuntap_pre_exec, &data, argv); argv 39 arch/um/os-Linux/execvp.c int execvp_noalloc(char *buf, const char *file, char *const argv[]) argv 47 arch/um/os-Linux/execvp.c execv(file, argv); argv 83 arch/um/os-Linux/execvp.c execv(startp, argv); argv 133 arch/um/os-Linux/execvp.c int main(int argc, char**argv) argv 142 arch/um/os-Linux/execvp.c argv++; argv 143 arch/um/os-Linux/execvp.c if (ret = execvp_noalloc(buf, argv[0], argv)) { argv 20 arch/um/os-Linux/helper.c char **argv; argv 28 arch/um/os-Linux/helper.c char **argv = data->argv; argv 33 arch/um/os-Linux/helper.c err = execvp_noalloc(data->buf, argv[0], argv); argv 42 arch/um/os-Linux/helper.c int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv) argv 70 arch/um/os-Linux/helper.c data.argv = argv; argv 107 arch/um/os-Linux/main.c int __init main(int argc, char **argv, char **envp) argv 124 arch/um/os-Linux/main.c new_argv[i] = strdup(argv[i]); argv 144 arch/um/os-Linux/main.c ret = linux_main(argc, argv); argv 19 arch/x86/boot/compressed/mkpiggy.c int main(int argc, char *argv[]) argv 27 arch/x86/boot/compressed/mkpiggy.c fprintf(stderr, "Usage: %s compressed_file\n", argv[0]); argv 33 arch/x86/boot/compressed/mkpiggy.c f = fopen(argv[1], "r"); argv 35 arch/x86/boot/compressed/mkpiggy.c perror(argv[1]); argv 41 arch/x86/boot/compressed/mkpiggy.c perror(argv[1]); argv 45 arch/x86/boot/compressed/mkpiggy.c perror(argv[1]); argv 60 arch/x86/boot/compressed/mkpiggy.c printf(".incbin \"%s\"\n", argv[1]); argv 332 arch/x86/boot/tools/build.c int main(int argc, char ** argv) argv 347 arch/x86/boot/tools/build.c parse_zoffset(argv[3]); argv 349 arch/x86/boot/tools/build.c dest = fopen(argv[4], "w"); argv 351 arch/x86/boot/tools/build.c die("Unable to write `%s': %m", argv[4]); argv 354 arch/x86/boot/tools/build.c file = fopen(argv[1], "r"); argv 356 arch/x86/boot/tools/build.c die("Unable to open `%s': %m", argv[1]); argv 383 arch/x86/boot/tools/build.c fd = open(argv[2], O_RDONLY); argv 385 arch/x86/boot/tools/build.c die("Unable to open `%s': %m", argv[2]); argv 387 arch/x86/boot/tools/build.c die("Unable to stat `%s': %m", argv[2]); argv 392 arch/x86/boot/tools/build.c die("Unable to mmap '%s': %m", argv[2]); argv 201 arch/x86/entry/vdso/vdso2c.c int main(int argc, char **argv) argv 218 arch/x86/entry/vdso/vdso2c.c name = strdup(argv[3]); argv 234 arch/x86/entry/vdso/vdso2c.c map_input(argv[1], &raw_addr, &raw_len, PROT_READ); argv 235 arch/x86/entry/vdso/vdso2c.c map_input(argv[2], &stripped_addr, &stripped_len, PROT_READ); argv 237 arch/x86/entry/vdso/vdso2c.c outfilename = argv[3]; argv 240 arch/x86/entry/vdso/vdso2c.c err(1, "%s", argv[2]); argv 66 arch/x86/ia32/ia32_aout.c u32 __user *argv, *envp, *sp; argv 73 arch/x86/ia32/ia32_aout.c argv = sp; argv 75 arch/x86/ia32/ia32_aout.c put_user((unsigned long) argv, --sp); argv 81 arch/x86/ia32/ia32_aout.c put_user((u32)(unsigned long)p, argv++); argv 86 arch/x86/ia32/ia32_aout.c put_user(0, argv); argv 88 arch/x86/tools/insn_decoder_test.c static void parse_args(int argc, char **argv) argv 91 arch/x86/tools/insn_decoder_test.c prog = argv[0]; argv 92 arch/x86/tools/insn_decoder_test.c while ((c = getopt(argc, argv, "ynv")) != -1) { argv 111 arch/x86/tools/insn_decoder_test.c int main(int argc, char **argv) argv 119 arch/x86/tools/insn_decoder_test.c parse_args(argc, argv); argv 162 arch/x86/tools/insn_sanity.c static void parse_args(int argc, char **argv) argv 168 arch/x86/tools/insn_sanity.c prog = argv[0]; argv 169 arch/x86/tools/insn_sanity.c while ((c = getopt(argc, argv, "ynvs:m:i:")) != -1) { argv 223 arch/x86/tools/insn_sanity.c int main(int argc, char **argv) argv 231 arch/x86/tools/insn_sanity.c parse_args(argc, argv); argv 19 arch/x86/tools/relocs_common.c int main(int argc, char **argv) argv 35 arch/x86/tools/relocs_common.c char *arg = argv[i]; argv 76 arch/xtensa/platforms/iss/setup.c static void *argv[COMMAND_LINE_SIZE / sizeof(void *)] __initdata; argv 82 arch/xtensa/platforms/iss/setup.c if (argv_size > sizeof(argv)) { argv 89 arch/xtensa/platforms/iss/setup.c simc_argv((void *)argv); argv 94 arch/xtensa/platforms/iss/setup.c strcat(cmdline, argv[i]); argv 39 drivers/acpi/acpi_adxl.c static union acpi_object *adxl_dsm(int cmd, union acpi_object argv[]) argv 44 drivers/acpi/acpi_adxl.c cmd, argv, ACPI_TYPE_PACKAGE); argv 100 drivers/acpi/acpica/acapps.h int acpi_getopt(int argc, char **argv, char *opts); argv 102 drivers/acpi/acpica/acapps.h int acpi_getopt_argument(int argc, char **argv); argv 364 drivers/block/drbd/drbd_nl.c char *argv[] = {drbd_usermode_helper, cmd, mb, NULL }; argv 384 drivers/block/drbd/drbd_nl.c ret = call_usermodehelper(drbd_usermode_helper, argv, envp, UMH_WAIT_PROC); argv 416 drivers/block/drbd/drbd_nl.c char *argv[] = {drbd_usermode_helper, cmd, resource_name, NULL }; argv 426 drivers/block/drbd/drbd_nl.c ret = call_usermodehelper(drbd_usermode_helper, argv, envp, UMH_WAIT_PROC); argv 289 drivers/char/tpm/tpm_ppi.c union acpi_object argv = ACPI_INIT_DSM_ARGV4(1, &tmp); argv 307 drivers/char/tpm/tpm_ppi.c ACPI_TYPE_INTEGER, &argv, argv 14 drivers/gpu/drm/nouveau/include/nvif/mem.h u64 size, void *argv, u32 argc, struct nvif_mem *); argv 16 drivers/gpu/drm/nouveau/include/nvif/mem.h u64 size, void *argv, u32 argc, struct nvif_mem *); argv 34 drivers/gpu/drm/nouveau/include/nvif/vmm.h u64 size, void *argv, u32 argc, struct nvif_vmm *); argv 39 drivers/gpu/drm/nouveau/include/nvif/vmm.h int nvif_vmm_map(struct nvif_vmm *, u64 addr, u64 size, void *argv, u32 argc, argv 32 drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h struct nvkm_vma *, void *argv, u32 argc); argv 39 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h struct nvkm_vma *, void *argv, u32 argc); argv 34 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int (*map)(struct nvkm_object *, void *argv, u32 argc, argv 61 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int nvkm_object_map(struct nvkm_object *, void *argv, u32 argc, argv 52 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h int nvkm_vmm_new(struct nvkm_device *, u64 addr, u64 size, void *argv, u32 argc, argv 80 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h int nvkm_vmm_map(struct nvkm_vmm *, struct nvkm_vma *, void *argv, u32 argc, argv 122 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argv 153 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argv 167 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_del(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argv 183 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argv 190 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_get(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argv 217 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argv 227 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_put(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argv 243 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argv 264 drivers/gpu/drm/nouveau/nouveau_usif.c usif_object_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argv 283 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argv 302 drivers/gpu/drm/nouveau/nouveau_usif.c } *argv = data; argv 307 drivers/gpu/drm/nouveau/nouveau_usif.c if (ret = -ENOMEM, !argv) argv 309 drivers/gpu/drm/nouveau/nouveau_usif.c if (ret = -EFAULT, copy_from_user(argv, user, size)) argv 312 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ret = nvif_unpack(-ENOSYS, &data, &size, argv->v0, 0, 0, true))) { argv 314 drivers/gpu/drm/nouveau/nouveau_usif.c owner = argv->v0.owner; argv 315 drivers/gpu/drm/nouveau/nouveau_usif.c if (argv->v0.object == 0ULL && argv 316 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.type != NVIF_IOCTL_V0_DEL) argv 317 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.owner = NVDRM_OBJECT_ANY; /* except client */ argv 319 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.owner = NVDRM_OBJECT_USIF; argv 327 drivers/gpu/drm/nouveau/nouveau_usif.c if (argv->v0.route) { argv 328 drivers/gpu/drm/nouveau/nouveau_usif.c if (ret = -EINVAL, argv->v0.route == 0xff) argv 329 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nouveau_abi16_usif(filp, argv, argc); argv 336 drivers/gpu/drm/nouveau/nouveau_usif.c switch (argv->v0.type) { argv 338 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_object_new(filp, data, size, argv, argc); argv 341 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_new(filp, data, size, argv, argc); argv 344 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_del(filp, data, size, argv, argc); argv 347 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_get(filp, data, size, argv, argc); argv 350 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_put(filp, data, size, argv, argc); argv 353 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argv 356 drivers/gpu/drm/nouveau/nouveau_usif.c if (argv->v0.route == NVDRM_OBJECT_USIF) { argv 357 drivers/gpu/drm/nouveau/nouveau_usif.c object = (void *)(unsigned long)argv->v0.token; argv 358 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.route = object->route; argv 359 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.token = object->token; argv 360 drivers/gpu/drm/nouveau/nouveau_usif.c if (ret == 0 && argv->v0.type == NVIF_IOCTL_V0_DEL) { argv 365 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.route = NVIF_IOCTL_V0_ROUTE_HIDDEN; argv 366 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.token = 0; argv 368 drivers/gpu/drm/nouveau/nouveau_usif.c argv->v0.owner = owner; argv 371 drivers/gpu/drm/nouveau/nouveau_usif.c if (copy_to_user(user, argv, argc)) argv 374 drivers/gpu/drm/nouveau/nouveau_usif.c kfree(argv); argv 48 drivers/gpu/drm/nouveau/nvif/mem.c u64 size, void *argv, u32 argc, struct nvif_mem *mem) argv 68 drivers/gpu/drm/nouveau/nvif/mem.c memcpy(args->data, argv, argc); argv 87 drivers/gpu/drm/nouveau/nvif/mem.c u64 size, void *argv, u32 argc, struct nvif_mem *mem) argv 96 drivers/gpu/drm/nouveau/nvif/mem.c argv, argc, mem); argv 182 drivers/gpu/drm/nouveau/nvif/object.c nvif_object_map_handle(struct nvif_object *object, void *argv, u32 argc, argv 195 drivers/gpu/drm/nouveau/nvif/object.c memcpy(args->map.data, argv, argc); argv 221 drivers/gpu/drm/nouveau/nvif/object.c nvif_object_map(struct nvif_object *object, void *argv, u32 argc) argv 225 drivers/gpu/drm/nouveau/nvif/object.c int ret = nvif_object_map_handle(object, argv, argc, &handle, &length); argv 36 drivers/gpu/drm/nouveau/nvif/vmm.c nvif_vmm_map(struct nvif_vmm *vmm, u64 addr, u64 size, void *argv, u32 argc, argv 55 drivers/gpu/drm/nouveau/nvif/vmm.c memcpy(args->data, argv, argc); argv 116 drivers/gpu/drm/nouveau/nvif/vmm.c u64 size, void *argv, u32 argc, struct nvif_vmm *vmm) argv 131 drivers/gpu/drm/nouveau/nvif/vmm.c memcpy(args->data, argv, argc); argv 35 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_uclient_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 40 drivers/gpu/drm/nouveau/nvkm/core/client.c } *args = argv; argv 44 drivers/gpu/drm/nouveau/nvkm/core/client.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))){ argv 48 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c void *argv, u32 argc) argv 50 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c return nvkm_memory_map(gpuobj->memory, offset, vmm, vma, argv, argc); argv 110 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c void *argv, u32 argc) argv 113 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c vmm, vma, argv, argc); argv 105 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_map(struct nvkm_object *object, void *argv, u32 argc, argv 109 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->map(object, argv, argc, type, addr, size); argv 40 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c nvkm_oproxy_map(struct nvkm_object *object, void *argv, u32 argc, argv 44 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c return nvkm_object_map(oproxy->object, argv, argc, type, addr, size); argv 282 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvkm_udevice_map(struct nvkm_object *object, void *argv, u32 argc, argv 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/baseg84.c g84_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 73 drivers/gpu/drm/nouveau/nvkm/engine/disp/baseg84.c disp, 1, oclass, argv, argc, pobject); argv 103 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegf119.c gf119_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 107 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegf119.c disp, 1, oclass, argv, argc, pobject); argv 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegp102.c gp102_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegp102.c disp, 1, oclass, argv, argc, pobject); argv 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c } *args = argv; argv 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 114 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c nv50_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 118 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c disp, 1, oclass, argv, argc, pobject); argv 213 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nv50_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, argv 245 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c void *argv, u32 argc, struct nvkm_object **pobject) argv 260 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); argv 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argv 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argv 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argv 81 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 86 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argv 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg84.c g84_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 110 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg84.c disp, 0, oclass, argv, argc, pobject); argv 52 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg94.c g94_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg94.c disp, 0, oclass, argv, argc, pobject); argv 224 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c gf119_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 228 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c disp, 0, oclass, argv, argc, pobject); argv 121 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregk104.c gk104_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 125 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregk104.c disp, 0, oclass, argv, argc, pobject); argv 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c gp102_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c disp, 0, oclass, argv, argc, pobject); argv 199 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c gv100_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 203 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c disp, 0, oclass, argv, argc, pobject); argv 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c } *args = argv; argv 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 227 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c nv50_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 231 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c disp, 0, oclass, argv, argc, pobject); argv 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgf119.c gf119_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgf119.c oclass, argv, argc, pobject); argv 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c gp102_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c oclass, argv, argc, pobject); argv 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c gv100_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 80 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c oclass, argv, argc, pobject); argv 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c } *args = argv; argv 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c nv50_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c oclass, argv, argc, pobject); argv 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c gf119_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c oclass, argv, argc, pobject); argv 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c gp102_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c oclass, argv, argc, pobject); argv 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c } *args = argv; argv 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c nv50_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c oclass, argv, argc, pobject); argv 66 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlyg84.c g84_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 70 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlyg84.c disp, 3, oclass, argv, argc, pobject); argv 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygf119.c gf119_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 94 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygf119.c disp, 5, oclass, argv, argc, pobject); argv 92 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygk104.c gk104_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygk104.c disp, 5, oclass, argv, argc, pobject); argv 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygp102.c gp102_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygp102.c disp, 5, oclass, argv, argc, pobject); argv 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygt200.c gt200_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 73 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygt200.c disp, 3, oclass, argv, argc, pobject); argv 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c } *args = argv; argv 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 102 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c nv50_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c disp, 3, oclass, argv, argc, pobject); argv 279 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c void *argv, u32 argc, struct nvkm_object **pobject) argv 283 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c return user->ctor(oclass, argv, argc, disp, pobject); argv 18 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h int (*ctor)(const struct nvkm_oclass *, void *argv, u32 argc, argv 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 55 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c } *args = argv; argv 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 77 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c gv100_disp_wimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 81 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c oclass, argv, argc, pobject); argv 152 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 157 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c } *args = argv; argv 163 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 179 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c gv100_disp_wndw_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 183 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c disp, 1, oclass, argv, argc, pobject); argv 256 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c nvkm_fifo_chan_map(struct nvkm_object *object, void *argv, u32 argc, argv 100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c void *argv, u32 argc, struct nvkm_object **pobject) argv 105 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c return user->ctor(fifo, oclass, argv, argc, pobject); argv 109 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c return user->ctor(oclass, argv, argc, pobject); argv 25 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c gv100_fifo_user_map(struct nvkm_object *object, void *argv, u32 argc, argv 41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c gv100_fifo_user_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 44 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c return nvkm_object_new_(&gv100_fifo_user, oclass, argv, argc, pobject); argv 25 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c tu102_fifo_user_map(struct nvkm_object *object, void *argv, u32 argc, argv 41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c tu102_fifo_user_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 44 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c return nvkm_object_new_(&tu102_fifo_user, oclass, argv, argc, pobject); argv 42 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_ntfy_ctor(struct nvkm_object *object, void *argv, u32 argc, argv 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c nvkm_ufault_map(struct nvkm_object *object, void *argv, u32 argc, argv 87 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c void *argv, u32 argc, struct nvkm_object **pobject) argv 91 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c } *args = argv; argv 96 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c struct nvkm_vma *vma, void *argv, u32 argc) argv 48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argv 282 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c struct nvkm_vma *vma, void *argv, u32 argc) argv 291 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argv 184 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c struct nvkm_vma *vma, void *argv, u32 argc) argv 187 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c return nvkm_memory_map(memory, offset, vmm, vma, argv, argc); argv 71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c struct nvkm_vma *vma, void *argv, u32 argc) argv 79 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argv 111 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c struct nvkm_vma *vma, void *argv, u32 argc) argv 119 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argv 145 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c void *argv, u32 argc, struct nvkm_memory **pmemory) argv 151 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c } *args = argv; argv 172 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if ( (ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 225 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c void *argv, u32 argc, struct nvkm_memory **pmemory) argv 232 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c argv, argc, &memory); argv 235 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c argv, argc, &memory); argv 6 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.h void *argv, u32 argc, struct nvkm_memory **); argv 34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c gf100_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, argv 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c } *args = argv; argv 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 70 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c void *argv, u32 argc, struct nvkm_memory **pmemory) argv 75 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c } *args = argv; argv 79 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 82 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 31 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c nv04_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, argv 36 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c } *args = argv; argv 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) argv 52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c void *argv, u32 argc, struct nvkm_memory **pmemory) argv 56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c } *args = argv; argv 59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) argv 34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c nv50_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, argv 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c } *args = argv; argv 47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c void *argv, u32 argc, struct nvkm_memory **pmemory) argv 72 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c } *args = argv; argv 76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 24 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h void *argv, u32 argc, struct nvkm_memory **); argv 25 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h int (*umap)(struct nvkm_mmu *, struct nvkm_memory *, void *argv, argv 32 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h void *argv, u32 argc, struct lock_class_key *, argv 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, argv 110 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc, argv 143 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c nvkm_umem_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 149 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c } *args = argv; argv 155 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argv 179 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c ret = nvkm_mem_new_type(mmu, type, page, size, argv, argc, argv 24 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.h int nvkm_umem_new(const struct nvkm_oclass *, void *argv, u32 argc, argv 57 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_heap(struct nvkm_ummu *ummu, void *argv, u32 argc) argv 62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; argv 66 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_type(struct nvkm_ummu *ummu, void *argv, u32 argc) argv 82 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; argv 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 106 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_kind(struct nvkm_ummu *ummu, void *argv, u32 argc) argv 111 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; argv 118 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argv 131 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) argv 135 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c case NVIF_MMU_V0_HEAP: return nvkm_ummu_heap(ummu, argv, argc); argv 136 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c case NVIF_MMU_V0_TYPE: return nvkm_ummu_type(ummu, argv, argc); argv 137 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c case NVIF_MMU_V0_KIND: return nvkm_ummu_kind(ummu, argv, argc); argv 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c void *argv, u32 argc, struct nvkm_object **pobject) argv 156 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; argv 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 13 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.h void *argv, u32 argc, struct nvkm_object **); argv 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_pfnclr(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 51 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 75 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_pfnmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argv 109 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_unmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 114 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 120 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_map(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 157 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argv 214 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c ret = nvkm_memory_map(memory, offset, vmm, vma, argv, argc); argv 231 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_put(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 236 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 242 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 269 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_get(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 274 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 282 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 305 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_page(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argv 309 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 317 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 333 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) argv 337 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PAGE : return nvkm_uvmm_mthd_page (uvmm, argv, argc); argv 338 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_GET : return nvkm_uvmm_mthd_get (uvmm, argv, argc); argv 339 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PUT : return nvkm_uvmm_mthd_put (uvmm, argv, argc); argv 340 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_MAP : return nvkm_uvmm_mthd_map (uvmm, argv, argc); argv 341 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_UNMAP : return nvkm_uvmm_mthd_unmap (uvmm, argv, argc); argv 342 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PFNMAP: return nvkm_uvmm_mthd_pfnmap(uvmm, argv, argc); argv 343 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PFNCLR: return nvkm_uvmm_mthd_pfnclr(uvmm, argv, argc); argv 348 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c mthd, argv, argc); argv 372 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argv 379 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; argv 386 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, more))) { argv 399 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c ret = mmu->func->vmm.ctor(mmu, managed, addr, size, argv, argc, argv 12 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h int nvkm_uvmm_new(const struct nvkm_oclass *, void *argv, u32 argc, argv 1377 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c void *argv, u32 argc, struct nvkm_vmm_map *map) argv 1408 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c return vmm->func->valid(vmm, argv, argc, map); argv 1413 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c void *argv, u32 argc, struct nvkm_vmm_map *map) argv 1417 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!nvkm_vmm_map_valid(vmm, vma, argv, argc, map)) argv 1425 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c void *argv, u32 argc, struct nvkm_vmm_map *map) argv 1444 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_map_choose(vmm, vma, argv, argc, map); argv 1448 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_map_choose(vmm, vma, argv, argc, map); argv 1458 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_map_valid(vmm, vma, argv, argc, map); argv 1510 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_map(struct nvkm_vmm *vmm, struct nvkm_vma *vma, void *argv, u32 argc, argv 1515 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_map_locked(vmm, vma, argv, argc, map); argv 1861 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_new(struct nvkm_device *device, u64 addr, u64 size, void *argv, argv 1868 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = mmu->func->vmm.ctor(mmu, false, addr, size, argv, argc, argv 144 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h int (*valid)(struct nvkm_vmm *, void *argv, u32 argc, argv 149 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h u32 mthd, void *argv, u32 argc); argv 238 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c gf100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argv 247 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c } *args = argv; argv 257 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 263 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 404 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c void *argv, u32 argc, struct lock_class_key *key, argv 409 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c argv, argc, key, name, pvmm); argv 411 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c argv, argc, key, name, pvmm); argv 420 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c void *argv, u32 argc, struct lock_class_key *key, argv 424 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c size, argv, argc, key, name, pvmm); argv 99 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk104.c void *argv, u32 argc, struct lock_class_key *key, argv 103 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk104.c size, argv, argc, key, name, pvmm); argv 68 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk20a.c void *argv, u32 argc, struct lock_class_key *key, argv 72 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk20a.c size, argv, argc, key, name, pvmm); argv 145 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c void *argv, u32 argc, struct lock_class_key *key, argv 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c } *args = argv; argv 155 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 163 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 173 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c void *argv, u32 argc, struct lock_class_key *key, argv 177 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c size, argv, argc, key, name, pvmm); argv 182 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c void *argv, u32 argc, struct lock_class_key *key, argv 186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c size, argv, argc, key, name, pvmm); argv 58 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c void *argv, u32 argc, struct lock_class_key *key, argv 62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c size, argv, argc, key, name, pvmm); argv 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c void *argv, u32 argc, struct lock_class_key *key, argv 71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c size, argv, argc, key, name, pvmm); argv 312 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argv 320 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; argv 330 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 336 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 391 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_fault_cancel(struct nvkm_vmm *vmm, void *argv, u32 argc) argv 396 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; argv 400 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if ((ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) argv 426 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_fault_replay(struct nvkm_vmm *vmm, void *argv, u32 argc) argv 430 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; argv 433 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 442 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c struct nvkm_client *client, u32 mthd, void *argv, u32 argc) argv 447 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c return gp100_vmm_fault_replay(vmm, argv, argc); argv 449 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c return gp100_vmm_fault_cancel(vmm, argv, argc); argv 510 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c void *argv, u32 argc, struct lock_class_key *key, argv 516 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; argv 520 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 523 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 538 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c void *argv, u32 argc, struct lock_class_key *key, argv 542 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c argv, argc, key, name, pvmm); argv 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c void *argv, u32 argc, struct lock_class_key *key, argv 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c argv, argc, key, name, pvmm); argv 84 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c void *argv, u32 argc, struct lock_class_key *key, argv 88 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c argv, argc, key, name, pvmm); argv 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmmcp77.c void *argv, u32 argc, struct lock_class_key *key, argv 44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmmcp77.c argv, argc, key, name, pvmm); argv 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c nv04_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argv 85 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c } *args = argv; argv 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) argv 104 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c void *argv, u32 argc, struct lock_class_key *key, argv 109 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c } *args = argv; argv 117 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c return nvif_unvers(-ENOSYS, &argv, &argc, args->vn); argv 122 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argv 130 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c argv, argc, key, name, &vmm); argv 108 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argv 112 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c argv, argc, key, name, pvmm); argv 209 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argv 217 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c argv, argc, key, name, &vmm); argv 227 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c nv50_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argv 234 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c } *args = argv; argv 245 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argv 251 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argv 380 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argv 384 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c argv, argc, key, name, pvmm); argv 73 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c void *argv, u32 argc, struct lock_class_key *key, argv 77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c argv, argc, key, name, pvmm); argv 1127 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c u32 argv; argv 1168 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->argv = addr_args; argv 112 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c u32 argv; argv 141 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c desc->argv = addr_args; argv 188 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c desc->argv = 0x01000000; argv 111 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c desc->argv = 0x01000000; argv 43 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.h u32 argv; argv 54 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c desc->argv = addr_args; argv 265 drivers/gpu/drm/radeon/mkregtable.c int main(int argc, char *argv[]) argv 270 drivers/gpu/drm/radeon/mkregtable.c fprintf(stderr, "Usage: %s <authfile>\n", argv[0]); argv 274 drivers/gpu/drm/radeon/mkregtable.c if (parser_auth(&t, argv[1])) { argv 275 drivers/gpu/drm/radeon/mkregtable.c fprintf(stderr, "Failed to parse file %s\n", argv[1]); argv 52 drivers/greybus/svc_watchdog.c static char *argv[] = { argv 59 drivers/greybus/svc_watchdog.c argv[0], argv[1]); argv 60 drivers/greybus/svc_watchdog.c call_usermodehelper(start_path, argv, envp, UMH_WAIT_EXEC); argv 77 drivers/macintosh/windfarm_core.c char *argv[] = { (char *)critical_overtemp_path, NULL }; argv 84 drivers/macintosh/windfarm_core.c argv, envp, UMH_WAIT_EXEC); argv 2294 drivers/md/dm-cache-target.c ca->policy_argv = (const char **)as->argv; argv 2300 drivers/md/dm-cache-target.c static int parse_cache_args(struct cache_args *ca, int argc, char **argv, argv 2307 drivers/md/dm-cache-target.c as.argv = argv; argv 2370 drivers/md/dm-cache-target.c static int set_config_values(struct cache *cache, int argc, const char **argv) argv 2380 drivers/md/dm-cache-target.c r = set_config_value(cache, argv[0], argv[1]); argv 2385 drivers/md/dm-cache-target.c argv += 2; argv 2662 drivers/md/dm-cache-target.c static int copy_ctr_args(struct cache *cache, int argc, const char **argv) argv 2671 drivers/md/dm-cache-target.c copy[i] = kstrdup(argv[i], GFP_KERNEL); argv 2686 drivers/md/dm-cache-target.c static int cache_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 2699 drivers/md/dm-cache-target.c r = parse_cache_args(ca, argc, argv, &ti->error); argv 2707 drivers/md/dm-cache-target.c r = copy_ctr_args(cache, argc - 3, (const char **)argv + 3); argv 3399 drivers/md/dm-cache-target.c static int cache_message(struct dm_target *ti, unsigned argc, char **argv, argv 3413 drivers/md/dm-cache-target.c if (!strcasecmp(argv[0], "invalidate_cblocks")) argv 3414 drivers/md/dm-cache-target.c return process_invalidate_cblocks_message(cache, argc - 1, (const char **) argv + 1); argv 3419 drivers/md/dm-cache-target.c return set_config_value(cache, argv[0], argv[1]); argv 1760 drivers/md/dm-clone-target.c static int copy_ctr_args(struct clone *clone, int argc, const char **argv, char **error) argv 1770 drivers/md/dm-clone-target.c copy[i] = kstrdup(argv[i], GFP_KERNEL); argv 1789 drivers/md/dm-clone-target.c static int clone_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 1802 drivers/md/dm-clone-target.c as.argv = argv; argv 1924 drivers/md/dm-clone-target.c r = copy_ctr_args(clone, argc - 3, (const char **)argv + 3, &ti->error); argv 2160 drivers/md/dm-clone-target.c static int clone_message(struct dm_target *ti, unsigned int argc, char **argv, argv 2169 drivers/md/dm-clone-target.c if (!strcasecmp(argv[0], "enable_hydration")) { argv 2174 drivers/md/dm-clone-target.c if (!strcasecmp(argv[0], "disable_hydration")) { argv 2182 drivers/md/dm-clone-target.c if (!strcasecmp(argv[0], "hydration_threshold")) { argv 2183 drivers/md/dm-clone-target.c if (kstrtouint(argv[1], 10, &value)) argv 2191 drivers/md/dm-clone-target.c if (!strcasecmp(argv[0], "hydration_batch_size")) { argv 2192 drivers/md/dm-clone-target.c if (kstrtouint(argv[1], 10, &value)) argv 2200 drivers/md/dm-clone-target.c DMERR("%s: Unsupported message `%s'", clone_device_name(clone), argv[0]); argv 2481 drivers/md/dm-crypt.c static int crypt_ctr_optional(struct dm_target *ti, unsigned int argc, char **argv) argv 2495 drivers/md/dm-crypt.c as.argv = argv; argv 2560 drivers/md/dm-crypt.c static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 2576 drivers/md/dm-crypt.c key_size = get_key_size(&argv[1]); argv 2604 drivers/md/dm-crypt.c ret = crypt_ctr_optional(ti, argc - 5, &argv[5]); argv 2609 drivers/md/dm-crypt.c ret = crypt_ctr_cipher(ti, argv[0], argv[1]); argv 2669 drivers/md/dm-crypt.c if ((sscanf(argv[2], "%llu%c", &tmpll, &dummy) != 1) || argv 2676 drivers/md/dm-crypt.c ret = dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &cc->dev); argv 2683 drivers/md/dm-crypt.c if (sscanf(argv[4], "%llu%c", &tmpll, &dummy) != 1 || tmpll != (sector_t)tmpll) { argv 2898 drivers/md/dm-crypt.c static int crypt_message(struct dm_target *ti, unsigned argc, char **argv, argv 2907 drivers/md/dm-crypt.c if (!strcasecmp(argv[0], "key")) { argv 2912 drivers/md/dm-crypt.c if (argc == 3 && !strcasecmp(argv[1], "set")) { argv 2914 drivers/md/dm-crypt.c key_size = get_key_size(&argv[2]); argv 2916 drivers/md/dm-crypt.c memset(argv[2], '0', strlen(argv[2])); argv 2920 drivers/md/dm-crypt.c ret = crypt_set_key(cc, argv[2]); argv 2930 drivers/md/dm-crypt.c if (argc == 2 && !strcasecmp(argv[1], "wipe")) argv 139 drivers/md/dm-delay.c static int delay_class_ctr(struct dm_target *ti, struct delay_class *c, char **argv) argv 145 drivers/md/dm-delay.c if (sscanf(argv[1], "%llu%c", &tmpll, &dummy) != 1 || tmpll != (sector_t)tmpll) { argv 151 drivers/md/dm-delay.c if (sscanf(argv[2], "%u%c", &c->delay, &dummy) != 1) { argv 156 drivers/md/dm-delay.c ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &c->dev); argv 173 drivers/md/dm-delay.c static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 197 drivers/md/dm-delay.c ret = delay_class_ctr(ti, &dc->read, argv); argv 202 drivers/md/dm-delay.c ret = delay_class_ctr(ti, &dc->write, argv); argv 205 drivers/md/dm-delay.c ret = delay_class_ctr(ti, &dc->flush, argv); argv 211 drivers/md/dm-delay.c ret = delay_class_ctr(ti, &dc->write, argv + 3); argv 215 drivers/md/dm-delay.c ret = delay_class_ctr(ti, &dc->flush, argv + 3); argv 221 drivers/md/dm-delay.c ret = delay_class_ctr(ti, &dc->flush, argv + 6); argv 279 drivers/md/dm-dust.c static int dust_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 294 drivers/md/dm-dust.c if (kstrtouint(argv[2], 10, &blksz) || !blksz) { argv 316 drivers/md/dm-dust.c if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1 || tmp != (sector_t)tmp) { argv 327 drivers/md/dm-dust.c if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dd->dev)) { argv 372 drivers/md/dm-dust.c static int dust_message(struct dm_target *ti, unsigned int argc, char **argv, argv 384 drivers/md/dm-dust.c if (!strcasecmp(argv[0], "addbadblock") || argv 385 drivers/md/dm-dust.c !strcasecmp(argv[0], "removebadblock") || argv 386 drivers/md/dm-dust.c !strcasecmp(argv[0], "queryblock")) { argv 387 drivers/md/dm-dust.c DMERR("%s requires an additional argument", argv[0]); argv 388 drivers/md/dm-dust.c } else if (!strcasecmp(argv[0], "disable")) { argv 392 drivers/md/dm-dust.c } else if (!strcasecmp(argv[0], "enable")) { argv 396 drivers/md/dm-dust.c } else if (!strcasecmp(argv[0], "countbadblocks")) { argv 402 drivers/md/dm-dust.c } else if (!strcasecmp(argv[0], "clearbadblocks")) { argv 404 drivers/md/dm-dust.c } else if (!strcasecmp(argv[0], "quiet")) { argv 414 drivers/md/dm-dust.c if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1) argv 424 drivers/md/dm-dust.c if (!strcasecmp(argv[0], "addbadblock")) argv 426 drivers/md/dm-dust.c else if (!strcasecmp(argv[0], "removebadblock")) argv 428 drivers/md/dm-dust.c else if (!strcasecmp(argv[0], "queryblock")) argv 437 drivers/md/dm-dust.c DMERR("unrecognized message '%s' received", argv[0]); argv 1423 drivers/md/dm-era-target.c static int era_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 1443 drivers/md/dm-era-target.c r = dm_get_device(ti, argv[0], FMODE_READ | FMODE_WRITE, &era->metadata_dev); argv 1450 drivers/md/dm-era-target.c r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &era->origin_dev); argv 1457 drivers/md/dm-era-target.c r = sscanf(argv[2], "%u%c", &era->sectors_per_block, &dummy); argv 1639 drivers/md/dm-era-target.c static int era_message(struct dm_target *ti, unsigned argc, char **argv, argv 1649 drivers/md/dm-era-target.c if (!strcasecmp(argv[0], "checkpoint")) argv 1652 drivers/md/dm-era-target.c if (!strcasecmp(argv[0], "take_metadata_snap")) argv 1655 drivers/md/dm-era-target.c if (!strcasecmp(argv[0], "drop_metadata_snap")) argv 1658 drivers/md/dm-era-target.c DMERR("unsupported message '%s'", argv[0]); argv 191 drivers/md/dm-exception-store.c int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, argv 212 drivers/md/dm-exception-store.c persistent = toupper(*argv[0]); argv 232 drivers/md/dm-exception-store.c r = set_chunk_size(tmp_store, argv[1], &ti->error); argv 236 drivers/md/dm-exception-store.c r = type->ctr(tmp_store, (strlen(argv[0]) > 1 ? &argv[0][1] : NULL)); argv 187 drivers/md/dm-exception-store.h int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, argv 184 drivers/md/dm-flakey.c static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 199 drivers/md/dm-flakey.c as.argv = argv; argv 3568 drivers/md/dm-integrity.c static int dm_integrity_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 3612 drivers/md/dm-integrity.c r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &ic->dev); argv 3618 drivers/md/dm-integrity.c if (sscanf(argv[1], "%llu%c", &start, &dummy) != 1 || start != (sector_t)start) { argv 3625 drivers/md/dm-integrity.c if (strcmp(argv[2], "-")) { argv 3626 drivers/md/dm-integrity.c if (sscanf(argv[2], "%u%c", &ic->tag_size, &dummy) != 1 || !ic->tag_size) { argv 3633 drivers/md/dm-integrity.c if (!strcmp(argv[3], "J") || !strcmp(argv[3], "B") || argv 3634 drivers/md/dm-integrity.c !strcmp(argv[3], "D") || !strcmp(argv[3], "R")) { argv 3635 drivers/md/dm-integrity.c ic->mode = argv[3][0]; argv 3650 drivers/md/dm-integrity.c as.argv = argv + DIRECT_ARGUMENTS; argv 1545 drivers/md/dm-ioctl.c static int message_for_md(struct mapped_device *md, unsigned argc, char **argv, argv 1550 drivers/md/dm-ioctl.c if (**argv != '@') argv 1553 drivers/md/dm-ioctl.c if (!strcasecmp(argv[0], "@cancel_deferred_remove")) { argv 1561 drivers/md/dm-ioctl.c r = dm_stats_message(md, argc, argv, result, maxlen); argv 1565 drivers/md/dm-ioctl.c DMERR("Unsupported message sent to DM core: %s", argv[0]); argv 1575 drivers/md/dm-ioctl.c char **argv; argv 1595 drivers/md/dm-ioctl.c r = dm_split_args(&argc, &argv, tmsg->message); argv 1606 drivers/md/dm-ioctl.c r = message_for_md(md, argc, argv, result, maxlen); argv 1624 drivers/md/dm-ioctl.c r = ti->type->message(ti, argc, argv, result, maxlen); argv 1633 drivers/md/dm-ioctl.c kfree(argv); argv 29 drivers/md/dm-linear.c static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 48 drivers/md/dm-linear.c if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1 || tmp != (sector_t)tmp) { argv 54 drivers/md/dm-linear.c ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev); argv 126 drivers/md/dm-log-userspace-base.c unsigned argc, char **argv, argv 138 drivers/md/dm-log-userspace-base.c str_size += strlen(argv[i]) + 1; /* +1 for space between args */ argv 150 drivers/md/dm-log-userspace-base.c str_size += sprintf(str + str_size, " %s", argv[i]); argv 191 drivers/md/dm-log-userspace-base.c unsigned argc, char **argv) argv 218 drivers/md/dm-log-userspace-base.c if (strlen(argv[0]) > (DM_UUID_LEN - 1)) { argv 226 drivers/md/dm-log-userspace-base.c strncpy(lc->uuid, argv[0], DM_UUID_LEN); argv 228 drivers/md/dm-log-userspace-base.c argv++; argv 233 drivers/md/dm-log-userspace-base.c if (!strcasecmp(argv[0], "integrated_flush")) { argv 236 drivers/md/dm-log-userspace-base.c argv++; argv 239 drivers/md/dm-log-userspace-base.c str_size = build_constructor_string(ti, argc, argv, &ctr_str); argv 528 drivers/md/dm-log-writes.c static int log_writes_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 536 drivers/md/dm-log-writes.c as.argv = argv; argv 868 drivers/md/dm-log-writes.c static int log_writes_message(struct dm_target *ti, unsigned argc, char **argv, argv 879 drivers/md/dm-log-writes.c if (!strcasecmp(argv[0], "mark")) argv 880 drivers/md/dm-log-writes.c r = log_mark(lc, argv[1]); argv 882 drivers/md/dm-log-writes.c DMWARN("Unrecognised log writes target message received: %s", argv[0]); argv 150 drivers/md/dm-log.c unsigned int argc, char **argv) argv 167 drivers/md/dm-log.c if (type->ctr(log, ti, argc, argv)) { argv 364 drivers/md/dm-log.c unsigned int argc, char **argv, argv 382 drivers/md/dm-log.c if (!strcmp(argv[1], "sync")) argv 384 drivers/md/dm-log.c else if (!strcmp(argv[1], "nosync")) argv 388 drivers/md/dm-log.c "dirty region log: %s", argv[1]); argv 393 drivers/md/dm-log.c if (sscanf(argv[0], "%u%c", ®ion_size, &dummy) != 1 || argv 395 drivers/md/dm-log.c DMWARN("invalid region size %s", argv[0]); argv 517 drivers/md/dm-log.c unsigned int argc, char **argv) argv 519 drivers/md/dm-log.c return create_log_context(log, ti, argc, argv, NULL); argv 543 drivers/md/dm-log.c unsigned int argc, char **argv) argv 553 drivers/md/dm-log.c r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dev); argv 557 drivers/md/dm-log.c r = create_log_context(log, ti, argc - 1, argv + 1, dev); argv 767 drivers/md/dm-mpath.c r = pst->create(&pg->ps, ps_argc, as->argv); argv 874 drivers/md/dm-mpath.c r = ps->type->add_path(ps, &p->path, as->argc, as->argv, &ti->error); argv 939 drivers/md/dm-mpath.c path_args.argv = as->argv; argv 990 drivers/md/dm-mpath.c len += strlen(as->argv[i]) + 1; argv 999 drivers/md/dm-mpath.c j = sprintf(p, "%s", as->argv[i]); argv 1082 drivers/md/dm-mpath.c static int multipath_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 1097 drivers/md/dm-mpath.c as.argv = argv; argv 1787 drivers/md/dm-mpath.c static int multipath_message(struct dm_target *ti, unsigned argc, char **argv, argv 1803 drivers/md/dm-mpath.c if (!strcasecmp(argv[0], "queue_if_no_path")) { argv 1806 drivers/md/dm-mpath.c } else if (!strcasecmp(argv[0], "fail_if_no_path")) { argv 1817 drivers/md/dm-mpath.c if (!strcasecmp(argv[0], "disable_group")) { argv 1818 drivers/md/dm-mpath.c r = bypass_pg_num(m, argv[1], true); argv 1820 drivers/md/dm-mpath.c } else if (!strcasecmp(argv[0], "enable_group")) { argv 1821 drivers/md/dm-mpath.c r = bypass_pg_num(m, argv[1], false); argv 1823 drivers/md/dm-mpath.c } else if (!strcasecmp(argv[0], "switch_group")) { argv 1824 drivers/md/dm-mpath.c r = switch_pg_num(m, argv[1]); argv 1826 drivers/md/dm-mpath.c } else if (!strcasecmp(argv[0], "reinstate_path")) argv 1828 drivers/md/dm-mpath.c else if (!strcasecmp(argv[0], "fail_path")) argv 1831 drivers/md/dm-mpath.c DMWARN("Unrecognised multipath message received: %s", argv[0]); argv 1835 drivers/md/dm-mpath.c r = dm_get_device(ti, argv[1], dm_table_get_mode(ti->table), &dev); argv 1838 drivers/md/dm-mpath.c argv[1]); argv 40 drivers/md/dm-path-selector.h int (*create) (struct path_selector *ps, unsigned argc, char **argv); argv 48 drivers/md/dm-path-selector.h int argc, char **argv, char **error); argv 55 drivers/md/dm-queue-length.c static int ql_create(struct path_selector *ps, unsigned argc, char **argv) argv 112 drivers/md/dm-queue-length.c int argc, char **argv, char **error) argv 130 drivers/md/dm-queue-length.c if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { argv 3005 drivers/md/dm-raid.c static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 3015 drivers/md/dm-raid.c struct dm_arg_set as = { argc, argv }, as_nrd; argv 3669 drivers/md/dm-raid.c static int raid_message(struct dm_target *ti, unsigned int argc, char **argv, argv 3678 drivers/md/dm-raid.c if (!strcasecmp(argv[0], "frozen")) argv 3683 drivers/md/dm-raid.c if (!strcasecmp(argv[0], "idle") || !strcasecmp(argv[0], "frozen")) { argv 3690 drivers/md/dm-raid.c else if (!strcasecmp(argv[0], "resync")) argv 3692 drivers/md/dm-raid.c else if (!strcasecmp(argv[0], "recover")) argv 3695 drivers/md/dm-raid.c if (!strcasecmp(argv[0], "check")) { argv 3699 drivers/md/dm-raid.c } else if (!strcasecmp(argv[0], "repair")) { argv 937 drivers/md/dm-raid1.c unsigned int mirror, char **argv) argv 943 drivers/md/dm-raid1.c if (sscanf(argv[1], "%llu%c", &offset, &dummy) != 1 || argv 949 drivers/md/dm-raid1.c ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), argv 968 drivers/md/dm-raid1.c unsigned argc, char **argv, argv 980 drivers/md/dm-raid1.c if (sscanf(argv[1], "%u%c", ¶m_count, &dummy) != 1) { argv 992 drivers/md/dm-raid1.c dl = dm_dirty_log_create(argv[0], ti, mirror_flush, param_count, argv 993 drivers/md/dm-raid1.c argv + 2); argv 1002 drivers/md/dm-raid1.c static int parse_features(struct mirror_set *ms, unsigned argc, char **argv, argv 1015 drivers/md/dm-raid1.c if (sscanf(argv[0], "%u%c", &num_features, &dummy) != 1) { argv 1021 drivers/md/dm-raid1.c argv++; argv 1030 drivers/md/dm-raid1.c if (!strcmp("handle_errors", argv[0])) argv 1032 drivers/md/dm-raid1.c else if (!strcmp("keep_log", argv[0])) argv 1040 drivers/md/dm-raid1.c argv++; argv 1063 drivers/md/dm-raid1.c static int mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 1071 drivers/md/dm-raid1.c dl = create_dirty_log(ti, argc, argv, &args_used); argv 1075 drivers/md/dm-raid1.c argv += args_used; argv 1078 drivers/md/dm-raid1.c if (!argc || sscanf(argv[0], "%u%c", &nr_mirrors, &dummy) != 1 || argv 1085 drivers/md/dm-raid1.c argv++, argc--; argv 1101 drivers/md/dm-raid1.c r = get_mirror(ms, ti, m, argv); argv 1106 drivers/md/dm-raid1.c argv += 2; argv 1131 drivers/md/dm-raid1.c r = parse_features(ms, argc, argv, &args_used); argv 1135 drivers/md/dm-raid1.c argv += args_used; argv 65 drivers/md/dm-round-robin.c static int rr_create(struct path_selector *ps, unsigned argc, char **argv) argv 114 drivers/md/dm-round-robin.c int argc, char **argv, char **error) argv 128 drivers/md/dm-round-robin.c if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { argv 51 drivers/md/dm-service-time.c static int st_create(struct path_selector *ps, unsigned argc, char **argv) argv 109 drivers/md/dm-service-time.c int argc, char **argv, char **error) argv 135 drivers/md/dm-service-time.c if (argc && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { argv 146 drivers/md/dm-service-time.c (sscanf(argv[1], "%u%c", &relative_throughput, &dummy) != 1 || argv 1230 drivers/md/dm-snap.c static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 1260 drivers/md/dm-snap.c as.argv = argv; argv 1266 drivers/md/dm-snap.c origin_path = argv[0]; argv 1267 drivers/md/dm-snap.c argv++; argv 1277 drivers/md/dm-snap.c cow_path = argv[0]; argv 1278 drivers/md/dm-snap.c argv++; argv 1294 drivers/md/dm-snap.c r = dm_exception_store_create(ti, argc, argv, s, &args_used, &s->store); argv 1301 drivers/md/dm-snap.c argv += args_used; argv 2608 drivers/md/dm-snap.c static int origin_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 2625 drivers/md/dm-snap.c r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &o->dev); argv 945 drivers/md/dm-stats.c unsigned argc, char **argv, argv 972 drivers/md/dm-stats.c as.argv = argv; argv 1070 drivers/md/dm-stats.c unsigned argc, char **argv) argv 1078 drivers/md/dm-stats.c if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) argv 1085 drivers/md/dm-stats.c unsigned argc, char **argv) argv 1093 drivers/md/dm-stats.c if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) argv 1100 drivers/md/dm-stats.c unsigned argc, char **argv, argv 1110 drivers/md/dm-stats.c program = kstrdup(argv[1], GFP_KERNEL); argv 1123 drivers/md/dm-stats.c unsigned argc, char **argv, bool clear, argv 1133 drivers/md/dm-stats.c if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) argv 1137 drivers/md/dm-stats.c if (strcmp(argv[2], "-") && argv 1138 drivers/md/dm-stats.c sscanf(argv[2], "%lu%c", &idx_start, &dummy) != 1) argv 1140 drivers/md/dm-stats.c if (strcmp(argv[3], "-") && argv 1141 drivers/md/dm-stats.c sscanf(argv[3], "%lu%c", &idx_len, &dummy) != 1) argv 1150 drivers/md/dm-stats.c unsigned argc, char **argv) argv 1158 drivers/md/dm-stats.c if (sscanf(argv[1], "%d%c", &id, &dummy) != 1 || id < 0) argv 1161 drivers/md/dm-stats.c return dm_stats_set_aux(dm_get_stats(md), id, argv[2]); argv 1164 drivers/md/dm-stats.c int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, argv 1170 drivers/md/dm-stats.c if (!strcasecmp(argv[0], "@stats_create")) argv 1171 drivers/md/dm-stats.c r = message_stats_create(md, argc, argv, result, maxlen); argv 1172 drivers/md/dm-stats.c else if (!strcasecmp(argv[0], "@stats_delete")) argv 1173 drivers/md/dm-stats.c r = message_stats_delete(md, argc, argv); argv 1174 drivers/md/dm-stats.c else if (!strcasecmp(argv[0], "@stats_clear")) argv 1175 drivers/md/dm-stats.c r = message_stats_clear(md, argc, argv); argv 1176 drivers/md/dm-stats.c else if (!strcasecmp(argv[0], "@stats_list")) argv 1177 drivers/md/dm-stats.c r = message_stats_list(md, argc, argv, result, maxlen); argv 1178 drivers/md/dm-stats.c else if (!strcasecmp(argv[0], "@stats_print")) argv 1179 drivers/md/dm-stats.c r = message_stats_print(md, argc, argv, false, result, maxlen); argv 1180 drivers/md/dm-stats.c else if (!strcasecmp(argv[0], "@stats_print_clear")) argv 1181 drivers/md/dm-stats.c r = message_stats_print(md, argc, argv, true, result, maxlen); argv 1182 drivers/md/dm-stats.c else if (!strcasecmp(argv[0], "@stats_set_aux")) argv 1183 drivers/md/dm-stats.c r = message_stats_set_aux(md, argc, argv); argv 1188 drivers/md/dm-stats.c DMWARN("Invalid parameters for message %s", argv[0]); argv 30 drivers/md/dm-stats.h int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, argv 75 drivers/md/dm-stripe.c unsigned int stripe, char **argv) argv 81 drivers/md/dm-stripe.c if (sscanf(argv[1], "%llu%c", &start, &dummy) != 1) argv 84 drivers/md/dm-stripe.c ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), argv 98 drivers/md/dm-stripe.c static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 112 drivers/md/dm-stripe.c if (kstrtouint(argv[0], 10, &stripes) || !stripes) { argv 117 drivers/md/dm-stripe.c if (kstrtouint(argv[1], 10, &chunk_size) || !chunk_size) { argv 186 drivers/md/dm-stripe.c argv += 2; argv 188 drivers/md/dm-stripe.c r = get_stripe(ti, sc, i, argv); argv 252 drivers/md/dm-switch.c static int switch_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 266 drivers/md/dm-switch.c as.argv = argv; argv 374 drivers/md/dm-switch.c unsigned argc, char **argv) argv 381 drivers/md/dm-switch.c const char *string = argv[i]; argv 388 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 393 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 398 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 403 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 433 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 440 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 446 drivers/md/dm-switch.c DMWARN("invalid set_region_mappings argument: '%s'", argv[i]); argv 469 drivers/md/dm-switch.c static int switch_message(struct dm_target *ti, unsigned argc, char **argv, argv 479 drivers/md/dm-switch.c if (!strcasecmp(argv[0], "set_region_mappings")) argv 480 drivers/md/dm-switch.c r = process_set_region_mappings(sctx, argc, argv); argv 550 drivers/md/dm-table.c char **argv; argv 561 drivers/md/dm-table.c argv = kmalloc_array(new_size, sizeof(*argv), gfp); argv 562 drivers/md/dm-table.c if (argv && old_argv) { argv 563 drivers/md/dm-table.c memcpy(argv, old_argv, *size * sizeof(*argv)); argv 568 drivers/md/dm-table.c return argv; argv 576 drivers/md/dm-table.c char *start, *end = input, *out, **argv = NULL; argv 586 drivers/md/dm-table.c argv = realloc_argv(&array_size, argv); argv 587 drivers/md/dm-table.c if (!argv) argv 615 drivers/md/dm-table.c argv = realloc_argv(&array_size, argv); argv 616 drivers/md/dm-table.c if (!argv) argv 626 drivers/md/dm-table.c argv[*argc] = start; argv 630 drivers/md/dm-table.c *argvp = argv; argv 712 drivers/md/dm-table.c char **argv; argv 779 drivers/md/dm-table.c r = dm_split_args(&argc, &argv, params); argv 785 drivers/md/dm-table.c r = tgt->type->ctr(tgt, argc, argv); argv 786 drivers/md/dm-table.c kfree(argv); argv 846 drivers/md/dm-table.c r = *as->argv; argv 847 drivers/md/dm-table.c as->argv++; argv 859 drivers/md/dm-table.c as->argv += num_args; argv 3300 drivers/md/dm-thin.c static int pool_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 3325 drivers/md/dm-thin.c as.argv = argv; argv 3328 drivers/md/dm-thin.c if (!strcmp(argv[0], argv[1])) { argv 3345 drivers/md/dm-thin.c r = dm_get_device(ti, argv[0], metadata_mode, &metadata_dev); argv 3352 drivers/md/dm-thin.c r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &data_dev); argv 3358 drivers/md/dm-thin.c if (kstrtoul(argv[2], 10, &block_size) || !block_size || argv 3367 drivers/md/dm-thin.c if (kstrtoull(argv[3], 10, (unsigned long long *)&low_water_blocks)) { argv 3716 drivers/md/dm-thin.c static int process_create_thin_mesg(unsigned argc, char **argv, struct pool *pool) argv 3725 drivers/md/dm-thin.c r = read_dev_id(argv[1], &dev_id, 1); argv 3732 drivers/md/dm-thin.c argv[1]); argv 3739 drivers/md/dm-thin.c static int process_create_snap_mesg(unsigned argc, char **argv, struct pool *pool) argv 3749 drivers/md/dm-thin.c r = read_dev_id(argv[1], &dev_id, 1); argv 3753 drivers/md/dm-thin.c r = read_dev_id(argv[2], &origin_dev_id, 1); argv 3760 drivers/md/dm-thin.c argv[1], argv[2]); argv 3767 drivers/md/dm-thin.c static int process_delete_mesg(unsigned argc, char **argv, struct pool *pool) argv 3776 drivers/md/dm-thin.c r = read_dev_id(argv[1], &dev_id, 1); argv 3782 drivers/md/dm-thin.c DMWARN("Deletion of thin device %s failed.", argv[1]); argv 3787 drivers/md/dm-thin.c static int process_set_transaction_id_mesg(unsigned argc, char **argv, struct pool *pool) argv 3796 drivers/md/dm-thin.c if (kstrtoull(argv[1], 10, (unsigned long long *)&old_id)) { argv 3797 drivers/md/dm-thin.c DMWARN("set_transaction_id message: Unrecognised id %s.", argv[1]); argv 3801 drivers/md/dm-thin.c if (kstrtoull(argv[2], 10, (unsigned long long *)&new_id)) { argv 3802 drivers/md/dm-thin.c DMWARN("set_transaction_id message: Unrecognised new id %s.", argv[2]); argv 3809 drivers/md/dm-thin.c argv[1], argv[2]); argv 3816 drivers/md/dm-thin.c static int process_reserve_metadata_snap_mesg(unsigned argc, char **argv, struct pool *pool) argv 3833 drivers/md/dm-thin.c static int process_release_metadata_snap_mesg(unsigned argc, char **argv, struct pool *pool) argv 3857 drivers/md/dm-thin.c static int pool_message(struct dm_target *ti, unsigned argc, char **argv, argv 3870 drivers/md/dm-thin.c if (!strcasecmp(argv[0], "create_thin")) argv 3871 drivers/md/dm-thin.c r = process_create_thin_mesg(argc, argv, pool); argv 3873 drivers/md/dm-thin.c else if (!strcasecmp(argv[0], "create_snap")) argv 3874 drivers/md/dm-thin.c r = process_create_snap_mesg(argc, argv, pool); argv 3876 drivers/md/dm-thin.c else if (!strcasecmp(argv[0], "delete")) argv 3877 drivers/md/dm-thin.c r = process_delete_mesg(argc, argv, pool); argv 3879 drivers/md/dm-thin.c else if (!strcasecmp(argv[0], "set_transaction_id")) argv 3880 drivers/md/dm-thin.c r = process_set_transaction_id_mesg(argc, argv, pool); argv 3882 drivers/md/dm-thin.c else if (!strcasecmp(argv[0], "reserve_metadata_snap")) argv 3883 drivers/md/dm-thin.c r = process_reserve_metadata_snap_mesg(argc, argv, pool); argv 3885 drivers/md/dm-thin.c else if (!strcasecmp(argv[0], "release_metadata_snap")) argv 3886 drivers/md/dm-thin.c r = process_release_metadata_snap_mesg(argc, argv, pool); argv 3889 drivers/md/dm-thin.c DMWARN("Unrecognised thin pool target message received: %s", argv[0]); argv 4192 drivers/md/dm-thin.c static int thin_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 4222 drivers/md/dm-thin.c if (!strcmp(argv[0], argv[2])) { argv 4228 drivers/md/dm-thin.c r = dm_get_device(ti, argv[2], FMODE_READ, &origin_dev); argv 4236 drivers/md/dm-thin.c r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &pool_dev); argv 4243 drivers/md/dm-thin.c if (read_dev_id(argv[1], (unsigned long long *)&tc->dev_id, 0)) { argv 38 drivers/md/dm-unstripe.c static int unstripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 56 drivers/md/dm-unstripe.c if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { argv 61 drivers/md/dm-unstripe.c if (kstrtouint(argv[1], 10, &uc->chunk_size) || !uc->chunk_size) { argv 66 drivers/md/dm-unstripe.c if (kstrtouint(argv[2], 10, &uc->unstripe)) { argv 76 drivers/md/dm-unstripe.c if (dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &uc->dev)) { argv 81 drivers/md/dm-unstripe.c if (sscanf(argv[4], "%llu%c", &start, &dummy) != 1 || start != (sector_t)start) { argv 946 drivers/md/dm-verity-target.c static int verity_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 983 drivers/md/dm-verity-target.c if (sscanf(argv[0], "%u%c", &num, &dummy) != 1 || argv 991 drivers/md/dm-verity-target.c r = dm_get_device(ti, argv[1], FMODE_READ, &v->data_dev); argv 997 drivers/md/dm-verity-target.c r = dm_get_device(ti, argv[2], FMODE_READ, &v->hash_dev); argv 1003 drivers/md/dm-verity-target.c if (sscanf(argv[3], "%u%c", &num, &dummy) != 1 || argv 1013 drivers/md/dm-verity-target.c if (sscanf(argv[4], "%u%c", &num, &dummy) != 1 || argv 1023 drivers/md/dm-verity-target.c if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 || argv 1038 drivers/md/dm-verity-target.c if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 || argv 1047 drivers/md/dm-verity-target.c v->alg_name = kstrdup(argv[7], GFP_KERNEL); argv 1085 drivers/md/dm-verity-target.c if (strlen(argv[8]) != v->digest_size * 2 || argv 1086 drivers/md/dm-verity-target.c hex2bin(v->root_digest, argv[8], v->digest_size)) { argv 1091 drivers/md/dm-verity-target.c root_hash_digest_to_validate = argv[8]; argv 1093 drivers/md/dm-verity-target.c if (strcmp(argv[9], "-")) { argv 1094 drivers/md/dm-verity-target.c v->salt_size = strlen(argv[9]) / 2; argv 1101 drivers/md/dm-verity-target.c if (strlen(argv[9]) != v->salt_size * 2 || argv 1102 drivers/md/dm-verity-target.c hex2bin(v->salt, argv[9], v->salt_size)) { argv 1109 drivers/md/dm-verity-target.c argv += 10; argv 1115 drivers/md/dm-verity-target.c as.argv = argv; argv 1005 drivers/md/dm-writecache.c static int process_flush_mesg(unsigned argc, char **argv, struct dm_writecache *wc) argv 1038 drivers/md/dm-writecache.c static int process_flush_on_suspend_mesg(unsigned argc, char **argv, struct dm_writecache *wc) argv 1050 drivers/md/dm-writecache.c static int writecache_message(struct dm_target *ti, unsigned argc, char **argv, argv 1056 drivers/md/dm-writecache.c if (!strcasecmp(argv[0], "flush")) argv 1057 drivers/md/dm-writecache.c r = process_flush_mesg(argc, argv, wc); argv 1058 drivers/md/dm-writecache.c else if (!strcasecmp(argv[0], "flush_on_suspend")) argv 1059 drivers/md/dm-writecache.c r = process_flush_on_suspend_mesg(argc, argv, wc); argv 1061 drivers/md/dm-writecache.c DMERR("unrecognised message received: %s", argv[0]); argv 1865 drivers/md/dm-writecache.c static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv) argv 1884 drivers/md/dm-writecache.c as.argv = argv; argv 18 drivers/md/dm-zero.c static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 757 drivers/md/dm-zoned-target.c static int dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv) argv 778 drivers/md/dm-zoned-target.c ret = dmz_get_zoned_device(ti, argv[0]); argv 1312 drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c int main(int argc, char **argv) argv 249 drivers/media/rc/nuvoton-cir.c char **argv; argv 254 drivers/media/rc/nuvoton-cir.c argv = argv_split(GFP_KERNEL, buf, &count); argv 255 drivers/media/rc/nuvoton-cir.c if (!argv) argv 263 drivers/media/rc/nuvoton-cir.c ret = kstrtouint(argv[i], 10, &val); argv 281 drivers/media/rc/nuvoton-cir.c argv_free(argv); argv 296 drivers/net/hamradio/baycom_epp.c char *argv[] = { argv 312 drivers/net/hamradio/baycom_epp.c return call_usermodehelper(eppconfig_path, argv, envp, UMH_WAIT_PROC); argv 89 drivers/pnp/pnpbios/core.c char *argv[3], **envp, *buf, *scratch; argv 103 drivers/pnp/pnpbios/core.c argv[0] = (char *)sbin_pnpbios; argv 104 drivers/pnp/pnpbios/core.c argv[1] = "dock"; argv 105 drivers/pnp/pnpbios/core.c argv[2] = NULL; argv 130 drivers/pnp/pnpbios/core.c value = call_usermodehelper(sbin_pnpbios, argv, envp, UMH_WAIT_EXEC); argv 114 drivers/scsi/aic7xxx/aicasm/aicasm.c int main(int argc, char *argv[]); argv 117 drivers/scsi/aic7xxx/aicasm/aicasm.c main(int argc, char *argv[]) argv 137 drivers/scsi/aic7xxx/aicasm/aicasm.c appname = *argv; argv 146 drivers/scsi/aic7xxx/aicasm/aicasm.c while ((ch = getopt(argc, argv, "d:i:l:n:o:p:r:I:")) != -1) { argv 254 drivers/scsi/aic7xxx/aicasm/aicasm.c argv += optind; argv 271 drivers/scsi/aic7xxx/aicasm/aicasm.c inputfilename = *argv; argv 272 drivers/scsi/aic7xxx/aicasm/aicasm.c include_file(*argv, SOURCE_FILE); argv 3176 drivers/scsi/gdth.c char *cur_str, *argv; argv 3182 drivers/scsi/gdth.c argv = str; argv 3183 drivers/scsi/gdth.c while (argv && (cur_str = strchr(argv, ':'))) { argv 3193 drivers/scsi/gdth.c if (!strncmp(argv, "disable:", 8)) argv 3195 drivers/scsi/gdth.c else if (!strncmp(argv, "reserve_mode:", 13)) argv 3197 drivers/scsi/gdth.c else if (!strncmp(argv, "reverse_scan:", 13)) argv 3199 drivers/scsi/gdth.c else if (!strncmp(argv, "hdr_channel:", 12)) argv 3201 drivers/scsi/gdth.c else if (!strncmp(argv, "max_ids:", 8)) argv 3203 drivers/scsi/gdth.c else if (!strncmp(argv, "rescan:", 7)) argv 3205 drivers/scsi/gdth.c else if (!strncmp(argv, "shared_access:", 14)) argv 3207 drivers/scsi/gdth.c else if (!strncmp(argv, "reserve_list:", 13)) { argv 3222 drivers/scsi/gdth.c argv = ++cur_str; argv 3226 drivers/scsi/gdth.c if ((argv = strchr(argv, ','))) argv 3227 drivers/scsi/gdth.c ++argv; argv 29 drivers/staging/greybus/Documentation/firmware/authenticate.c int main(int argc, char *argv[]) argv 41 drivers/staging/greybus/Documentation/firmware/authenticate.c capdev = argv[1]; argv 160 drivers/staging/greybus/Documentation/firmware/firmware.c int main(int argc, char *argv[]) argv 166 drivers/staging/greybus/Documentation/firmware/firmware.c (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))) { argv 172 drivers/staging/greybus/Documentation/firmware/firmware.c fwdev = argv[1]; argv 175 drivers/staging/greybus/Documentation/firmware/firmware.c fw_update_type = strtoul(argv[2], &endptr, 10); argv 178 drivers/staging/greybus/Documentation/firmware/firmware.c firmware_tag = argv[3]; argv 185 drivers/staging/greybus/Documentation/firmware/firmware.c fw_timeout = strtoul(argv[4], &endptr, 10); argv 890 drivers/staging/greybus/tools/loopback_test.c int main(int argc, char *argv[]) argv 898 drivers/staging/greybus/tools/loopback_test.c while ((o = getopt(argc, argv, argv 264 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c char *argv[] = {(char *)ac_dc_script, DRV_NAME, NULL}; argv 278 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c call_usermodehelper(ac_dc_script, argv, envp, UMH_WAIT_PROC); argv 1803 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c char *argv[3]; argv 1839 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c argv[1] = "RFOFF"; argv 1841 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c argv[1] = "RFON"; argv 1843 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c argv[0] = (char *)RadioPowerPath; argv 1844 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c argv[2] = NULL; argv 1845 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c call_usermodehelper(RadioPowerPath, argv, envp, UMH_WAIT_PROC); argv 143 drivers/video/fbdev/broadsheetfb.c int argc, u16 *argv) argv 154 drivers/video/fbdev/broadsheetfb.c broadsheet_gpio_issue_data(par, argv[i]); argv 159 drivers/video/fbdev/broadsheetfb.c int argc, u16 *argv) argv 166 drivers/video/fbdev/broadsheetfb.c par->board->mmio_write(par, BS_MMIO_DATA, argv[i]); argv 178 drivers/video/fbdev/broadsheetfb.c int argc, u16 *argv) argv 181 drivers/video/fbdev/broadsheetfb.c broadsheet_mmio_send_cmdargs(par, cmd, argc, argv); argv 183 drivers/video/fbdev/broadsheetfb.c broadsheet_gpio_send_cmdargs(par, cmd, argc, argv); argv 120 drivers/video/fbdev/uvesafb.c char *argv[] = { argv 125 drivers/video/fbdev/uvesafb.c return call_usermodehelper(v86d_path, argv, envp, UMH_WAIT_PROC); argv 61 fs/binfmt_aout.c char __user * __user *argv; argv 84 fs/binfmt_aout.c argv = (char __user * __user *) sp; argv 87 fs/binfmt_aout.c put_user((unsigned long) argv,--sp); argv 93 fs/binfmt_aout.c put_user(p,argv++); argv 98 fs/binfmt_aout.c put_user(NULL,argv); argv 504 fs/binfmt_elf_fdpic.c elf_caddr_t __user *argv, *envp; argv 674 fs/binfmt_elf_fdpic.c argv = (elf_caddr_t __user *) csp; argv 692 fs/binfmt_elf_fdpic.c __put_user((elf_caddr_t) p, argv++); argv 698 fs/binfmt_elf_fdpic.c __put_user(NULL, argv); argv 143 fs/binfmt_flat.c unsigned long argv, envp; argv 144 fs/binfmt_flat.c argv = (unsigned long)(sp + 2); argv 146 fs/binfmt_flat.c __put_user(argv, sp++); argv 192 fs/coredump.c size_t **argv, int *argc) argv 209 fs/coredump.c (*argv) = kmalloc_array(argvs, sizeof(**argv), GFP_KERNEL); argv 210 fs/coredump.c if (!(*argv)) argv 212 fs/coredump.c (*argv)[(*argc)++] = 0; argv 235 fs/coredump.c (*argv)[(*argc)++] = cn->used; argv 577 fs/coredump.c size_t *argv = NULL; argv 625 fs/coredump.c ispipe = format_corename(&cn, &cprm, &argv, &argc); argv 679 fs/coredump.c helper_argv[argi] = cn.corename + argv[argi]; argv 812 fs/coredump.c kfree(argv); argv 401 fs/exec.c static const char __user *get_user_arg_ptr(struct user_arg_ptr argv, int nr) argv 406 fs/exec.c if (unlikely(argv.is_compat)) { argv 409 fs/exec.c if (get_user(compat, argv.ptr.compat + nr)) argv 416 fs/exec.c if (get_user(native, argv.ptr.native + nr)) argv 425 fs/exec.c static int count(struct user_arg_ptr argv, int max) argv 429 fs/exec.c if (argv.ptr.native != NULL) { argv 431 fs/exec.c const char __user *p = get_user_arg_ptr(argv, i); argv 452 fs/exec.c struct user_arg_ptr argv, struct user_arg_ptr envp) argv 456 fs/exec.c bprm->argc = count(argv, MAX_ARG_STRINGS); argv 500 fs/exec.c static int copy_strings(int argc, struct user_arg_ptr argv, argv 514 fs/exec.c str = get_user_arg_ptr(argv, argc); argv 600 fs/exec.c struct user_arg_ptr argv = { argv 605 fs/exec.c r = copy_strings(argc, argv, bprm); argv 1719 fs/exec.c struct user_arg_ptr argv, argv 1801 fs/exec.c retval = prepare_arg_pages(bprm, argv, envp); argv 1818 fs/exec.c retval = copy_strings(bprm->argc, argv, bprm); argv 1864 fs/exec.c struct user_arg_ptr argv, argv 1868 fs/exec.c return __do_execve_file(fd, filename, argv, envp, flags, NULL); argv 1873 fs/exec.c struct user_arg_ptr argv = { .ptr.native = __argv }; argv 1876 fs/exec.c return __do_execve_file(AT_FDCWD, NULL, argv, envp, 0, file); argv 1883 fs/exec.c struct user_arg_ptr argv = { .ptr.native = __argv }; argv 1885 fs/exec.c return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); argv 1893 fs/exec.c struct user_arg_ptr argv = { .ptr.native = __argv }; argv 1896 fs/exec.c return do_execveat_common(fd, filename, argv, envp, flags); argv 1904 fs/exec.c struct user_arg_ptr argv = { argv 1912 fs/exec.c return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); argv 1920 fs/exec.c struct user_arg_ptr argv = { argv 1928 fs/exec.c return do_execveat_common(fd, filename, argv, envp, flags); argv 1958 fs/exec.c const char __user *const __user *, argv, argv 1961 fs/exec.c return do_execve(getname(filename), argv, envp); argv 1966 fs/exec.c const char __user *const __user *, argv, argv 1974 fs/exec.c argv, envp, flags); argv 1979 fs/exec.c const compat_uptr_t __user *, argv, argv 1982 fs/exec.c return compat_do_execve(getname(filename), argv, envp); argv 1987 fs/exec.c const compat_uptr_t __user *, argv, argv 1995 fs/exec.c argv, envp, flags); argv 42 fs/nfs/cache_lib.c char *argv[] = { argv 52 fs/nfs/cache_lib.c ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); argv 618 fs/nfsd/nfs4layouts.c char *argv[8]; argv 627 fs/nfsd/nfs4layouts.c argv[0] = (char *)nfsd_recall_failed; argv 628 fs/nfsd/nfs4layouts.c argv[1] = addr_str; argv 629 fs/nfsd/nfs4layouts.c argv[2] = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_id; argv 630 fs/nfsd/nfs4layouts.c argv[3] = NULL; argv 632 fs/nfsd/nfs4layouts.c error = call_usermodehelper(nfsd_recall_failed, argv, envp, argv 1813 fs/nfsd/nfs4recover.c char *argv[4]; argv 1830 fs/nfsd/nfs4recover.c argv[0] = (char *)cltrack_prog; argv 1831 fs/nfsd/nfs4recover.c argv[1] = cmd; argv 1832 fs/nfsd/nfs4recover.c argv[2] = arg; argv 1833 fs/nfsd/nfs4recover.c argv[3] = NULL; argv 1835 fs/nfsd/nfs4recover.c ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); argv 47 fs/nilfs2/ioctl.c struct nilfs_argv *argv, int dir, argv 53 fs/nilfs2/ioctl.c void __user *base = (void __user *)(unsigned long)argv->v_base; argv 59 fs/nilfs2/ioctl.c if (argv->v_nmembs == 0) argv 62 fs/nilfs2/ioctl.c if (argv->v_size > PAGE_SIZE) argv 70 fs/nilfs2/ioctl.c if (argv->v_index > ~(__u64)0 - argv->v_nmembs) argv 76 fs/nilfs2/ioctl.c maxmembs = PAGE_SIZE / argv->v_size; argv 80 fs/nilfs2/ioctl.c pos = argv->v_index; argv 81 fs/nilfs2/ioctl.c for (i = 0; i < argv->v_nmembs; i += n) { argv 82 fs/nilfs2/ioctl.c n = (argv->v_nmembs - i < maxmembs) ? argv 83 fs/nilfs2/ioctl.c argv->v_nmembs - i : maxmembs; argv 85 fs/nilfs2/ioctl.c copy_from_user(buf, base + argv->v_size * i, argv 86 fs/nilfs2/ioctl.c argv->v_size * n)) { argv 91 fs/nilfs2/ioctl.c nr = dofunc(nilfs, &pos, argv->v_flags, buf, argv->v_size, argv 98 fs/nilfs2/ioctl.c copy_to_user(base + argv->v_size * i, buf, argv 99 fs/nilfs2/ioctl.c argv->v_size * nr)) { argv 109 fs/nilfs2/ioctl.c argv->v_nmembs = total; argv 516 fs/nilfs2/ioctl.c struct nilfs_argv argv; argv 519 fs/nilfs2/ioctl.c if (copy_from_user(&argv, argp, sizeof(argv))) argv 522 fs/nilfs2/ioctl.c if (argv.v_size != sizeof(struct nilfs_bdesc)) argv 525 fs/nilfs2/ioctl.c ret = nilfs_ioctl_wrap_copy(nilfs, &argv, _IOC_DIR(cmd), argv 530 fs/nilfs2/ioctl.c if (copy_to_user(argp, &argv, sizeof(argv))) argv 612 fs/nilfs2/ioctl.c struct nilfs_argv *argv, void *buf) argv 614 fs/nilfs2/ioctl.c size_t nmembs = argv->v_nmembs; argv 696 fs/nilfs2/ioctl.c struct nilfs_argv *argv, void *buf) argv 698 fs/nilfs2/ioctl.c size_t nmembs = argv->v_nmembs; argv 731 fs/nilfs2/ioctl.c struct nilfs_argv *argv, void *buf) argv 733 fs/nilfs2/ioctl.c size_t nmembs = argv->v_nmembs; argv 760 fs/nilfs2/ioctl.c struct nilfs_argv *argv, void *buf) argv 762 fs/nilfs2/ioctl.c size_t nmembs = argv->v_nmembs; argv 806 fs/nilfs2/ioctl.c struct nilfs_argv *argv, void **kbufs) argv 811 fs/nilfs2/ioctl.c ret = nilfs_ioctl_delete_checkpoints(nilfs, &argv[1], kbufs[1]); argv 820 fs/nilfs2/ioctl.c ret = nilfs_ioctl_free_vblocknrs(nilfs, &argv[2], kbufs[2]); argv 829 fs/nilfs2/ioctl.c ret = nilfs_ioctl_mark_blocks_dirty(nilfs, &argv[3], kbufs[3]); argv 862 fs/nilfs2/ioctl.c struct nilfs_argv argv[5]; argv 884 fs/nilfs2/ioctl.c if (copy_from_user(argv, argp, sizeof(argv))) argv 888 fs/nilfs2/ioctl.c nsegs = argv[4].v_nmembs; argv 889 fs/nilfs2/ioctl.c if (argv[4].v_size != argsz[4]) argv 899 fs/nilfs2/ioctl.c kbufs[4] = memdup_user((void __user *)(unsigned long)argv[4].v_base, argv 909 fs/nilfs2/ioctl.c if (argv[n].v_size != argsz[n]) argv 912 fs/nilfs2/ioctl.c if (argv[n].v_nmembs > nsegs * nilfs->ns_blocks_per_segment) argv 915 fs/nilfs2/ioctl.c if (argv[n].v_nmembs >= UINT_MAX / argv[n].v_size) argv 918 fs/nilfs2/ioctl.c len = argv[n].v_size * argv[n].v_nmembs; argv 919 fs/nilfs2/ioctl.c base = (void __user *)(unsigned long)argv[n].v_base; argv 948 fs/nilfs2/ioctl.c ret = nilfs_ioctl_move_blocks(inode->i_sb, &argv[0], kbufs[0]); argv 956 fs/nilfs2/ioctl.c ret = nilfs_clean_segments(inode->i_sb, argv, kbufs); argv 1173 fs/nilfs2/ioctl.c struct nilfs_argv argv; argv 1176 fs/nilfs2/ioctl.c if (copy_from_user(&argv, argp, sizeof(argv))) argv 1179 fs/nilfs2/ioctl.c if (argv.v_size < membsz) argv 1182 fs/nilfs2/ioctl.c ret = nilfs_ioctl_wrap_copy(nilfs, &argv, _IOC_DIR(cmd), dofunc); argv 1186 fs/nilfs2/ioctl.c if (copy_to_user(argp, &argv, sizeof(argv))) argv 1220 fs/nilfs2/ioctl.c struct nilfs_argv argv; argv 1234 fs/nilfs2/ioctl.c if (copy_from_user(&argv, argp, sizeof(argv))) argv 1238 fs/nilfs2/ioctl.c if (argv.v_size < sizeof(struct nilfs_suinfo_update)) argv 1241 fs/nilfs2/ioctl.c if (argv.v_nmembs > nilfs->ns_nsegments) argv 1244 fs/nilfs2/ioctl.c if (argv.v_nmembs >= UINT_MAX / argv.v_size) argv 1247 fs/nilfs2/ioctl.c len = argv.v_size * argv.v_nmembs; argv 1253 fs/nilfs2/ioctl.c base = (void __user *)(unsigned long)argv.v_base; argv 1266 fs/nilfs2/ioctl.c ret = nilfs_sufile_set_suinfo(nilfs->ns_sufile, kbuf, argv.v_size, argv 1267 fs/nilfs2/ioctl.c argv.v_nmembs); argv 2418 fs/nilfs2/segment.c int nilfs_clean_segments(struct super_block *sb, struct nilfs_argv *argv, argv 2435 fs/nilfs2/segment.c err = nilfs_ioctl_prepare_clean_segments(nilfs, argv, kbufs); argv 2442 fs/nilfs2/segment.c sci->sc_nfreesegs = argv[4].v_nmembs; argv 421 fs/ocfs2/stackglue.c char *argv[5], *envp[3]; argv 423 fs/ocfs2/stackglue.c argv[0] = ocfs2_hb_ctl_path; argv 424 fs/ocfs2/stackglue.c argv[1] = "-K"; argv 425 fs/ocfs2/stackglue.c argv[2] = "-u"; argv 426 fs/ocfs2/stackglue.c argv[3] = (char *)group; argv 427 fs/ocfs2/stackglue.c argv[4] = NULL; argv 434 fs/ocfs2/stackglue.c ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); argv 439 fs/ocfs2/stackglue.c ret, argv[0], argv[1], argv[2], argv[3]); argv 3347 fs/unicode/mkutf8data.c int main(int argc, char *argv[]) argv 3352 fs/unicode/mkutf8data.c argv0 = argv[0]; argv 3354 fs/unicode/mkutf8data.c while ((opt = getopt(argc, argv, "a:c:d:f:hn:o:p:t:v")) != -1) { argv 141 include/linux/binfmts.h extern int copy_strings_kernel(int argc, const char *const *argv, argv 784 include/linux/compat.h asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, argv 838 include/linux/compat.h const compat_uptr_t __user *argv, argv 45 include/linux/device-mapper.h unsigned int argc, char **argv); argv 91 include/linux/device-mapper.h typedef int (*dm_message_fn) (struct dm_target *ti, unsigned argc, char **argv, argv 339 include/linux/device-mapper.h char **argv; argv 36 include/linux/dm-dirty-log.h unsigned argc, char **argv); argv 142 include/linux/dm-dirty-log.h unsigned argc, char **argv); argv 150 include/linux/kobject.h char *argv[3]; argv 189 include/linux/string.h extern void argv_free(char **argv); argv 858 include/linux/syscalls.h const char __user *const __user *argv, argv 969 include/linux/syscalls.h const char __user *const __user *argv, argv 23 include/linux/umh.h char **argv; argv 35 include/linux/umh.h call_usermodehelper(const char *path, char **argv, char **envp, int wait); argv 38 include/linux/umh.h call_usermodehelper_setup(const char *path, char **argv, char **envp, argv 66 init/do_mounts_initrd.c static char *argv[] = { "linuxrc", NULL, }; argv 83 init/do_mounts_initrd.c info = call_usermodehelper_setup("/linuxrc", argv, envp_init, argv 105 kernel/audit.h unsigned long argv[4]; /* syscall arguments */ argv 164 kernel/auditsc.c return mask & ACC_MODE(ctx->argv[1]); argv 166 kernel/auditsc.c return mask & ACC_MODE(ctx->argv[2]); argv 168 kernel/auditsc.c return ((mask & AUDIT_PERM_WRITE) && ctx->argv[0] == SYS_BIND); argv 692 kernel/auditsc.c result = audit_comparator(ctx->argv[f->type-AUDIT_ARG0], f->op, f->val); argv 1468 kernel/auditsc.c context->argv[0], argv 1469 kernel/auditsc.c context->argv[1], argv 1470 kernel/auditsc.c context->argv[2], argv 1471 kernel/auditsc.c context->argv[3], argv 1652 kernel/auditsc.c context->argv[0] = a1; argv 1653 kernel/auditsc.c context->argv[1] = a2; argv 1654 kernel/auditsc.c context->argv[2] = a3; argv 1655 kernel/auditsc.c context->argv[3] = a4; argv 780 kernel/cgroup/cgroup-v1.c char *argv[3], *envp[3]; argv 796 kernel/cgroup/cgroup-v1.c argv[0] = agentbuf; argv 797 kernel/cgroup/cgroup-v1.c argv[1] = pathbuf; argv 798 kernel/cgroup/cgroup-v1.c argv[2] = NULL; argv 806 kernel/cgroup/cgroup-v1.c call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); argv 48 kernel/debug/kdb/kdb_bp.c static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) argv 55 kernel/debug/kdb/kdb_bp.c if (strncasecmp(argv[nextarg], "datar", sizeof("datar")) == 0) argv 57 kernel/debug/kdb/kdb_bp.c else if (strncasecmp(argv[nextarg], "dataw", sizeof("dataw")) == 0) argv 59 kernel/debug/kdb/kdb_bp.c else if (strncasecmp(argv[nextarg], "inst", sizeof("inst")) == 0) argv 71 kernel/debug/kdb/kdb_bp.c diag = kdbgetularg((char *)argv[nextarg], argv 277 kernel/debug/kdb/kdb_bp.c static int kdb_bp(int argc, const char **argv) argv 302 kernel/debug/kdb/kdb_bp.c diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, argv 320 kernel/debug/kdb/kdb_bp.c if (strcmp(argv[0], "bph") == 0) { argv 322 kernel/debug/kdb/kdb_bp.c diag = kdb_parsebp(argc, argv, &nextarg, &template); argv 377 kernel/debug/kdb/kdb_bp.c static int kdb_bc(int argc, const char **argv) argv 392 kernel/debug/kdb/kdb_bp.c if (strcmp(argv[0], "be") == 0) argv 394 kernel/debug/kdb/kdb_bp.c else if (strcmp(argv[0], "bd") == 0) argv 402 kernel/debug/kdb/kdb_bp.c if (strcmp(argv[1], "*") == 0) { argv 406 kernel/debug/kdb/kdb_bp.c diag = kdbgetularg(argv[1], &addr); argv 506 kernel/debug/kdb/kdb_bp.c static int kdb_ss(int argc, const char **argv) argv 106 kernel/debug/kdb/kdb_bt.c kdb_bt(int argc, const char **argv) argv 118 kernel/debug/kdb/kdb_bt.c if (strcmp(argv[0], "bta") == 0) { argv 121 kernel/debug/kdb/kdb_bt.c unsigned long mask = kdb_task_state_string(argc ? argv[1] : argv 140 kernel/debug/kdb/kdb_bt.c } else if (strcmp(argv[0], "btp") == 0) { argv 145 kernel/debug/kdb/kdb_bt.c diag = kdbgetularg((char *)argv[1], &pid); argv 155 kernel/debug/kdb/kdb_bt.c } else if (strcmp(argv[0], "btt") == 0) { argv 158 kernel/debug/kdb/kdb_bt.c diag = kdbgetularg((char *)argv[1], &addr); argv 163 kernel/debug/kdb/kdb_bt.c } else if (strcmp(argv[0], "btc") == 0) { argv 170 kernel/debug/kdb/kdb_bt.c diag = kdbgetularg((char *)argv[1], &cpu); argv 176 kernel/debug/kdb/kdb_bt.c argv = NULL; argv 207 kernel/debug/kdb/kdb_bt.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, argv 382 kernel/debug/kdb/kdb_main.c int kdb_set(int argc, const char **argv) argv 395 kernel/debug/kdb/kdb_main.c argv[2] = argv[3]; argv 405 kernel/debug/kdb/kdb_main.c if (strcmp(argv[1], "KDBDEBUG") == 0) { argv 409 kernel/debug/kdb/kdb_main.c debugflags = simple_strtoul(argv[2], &cp, 0); argv 410 kernel/debug/kdb/kdb_main.c if (cp == argv[2] || debugflags & ~KDB_DEBUG_FLAG_MASK) { argv 412 kernel/debug/kdb/kdb_main.c argv[2]); argv 426 kernel/debug/kdb/kdb_main.c varlen = strlen(argv[1]); argv 427 kernel/debug/kdb/kdb_main.c vallen = strlen(argv[2]); argv 432 kernel/debug/kdb/kdb_main.c sprintf(ep, "%s=%s", argv[1], argv[2]); argv 438 kernel/debug/kdb/kdb_main.c && ((strncmp(__env[i], argv[1], varlen) == 0) argv 494 kernel/debug/kdb/kdb_main.c int kdbgetaddrarg(int argc, const char **argv, int *nextarg, argv 528 kernel/debug/kdb/kdb_main.c symname = (char *)argv[*nextarg]; argv 559 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[*nextarg], &addr); argv 586 kernel/debug/kdb/kdb_main.c if ((argv[*nextarg][0] != '+') argv 587 kernel/debug/kdb/kdb_main.c && (argv[*nextarg][0] != '-')) { argv 593 kernel/debug/kdb/kdb_main.c positive = (argv[*nextarg][0] == '+'); argv 608 kernel/debug/kdb/kdb_main.c cp = (char *)argv[*nextarg]; argv 672 kernel/debug/kdb/kdb_main.c static int kdb_exec_defcmd(int argc, const char **argv); argv 707 kernel/debug/kdb/kdb_main.c static int kdb_defcmd(int argc, const char **argv) argv 741 kernel/debug/kdb/kdb_main.c s->name = kdb_strdup(argv[1], GFP_KDB); argv 744 kernel/debug/kdb/kdb_main.c s->usage = kdb_strdup(argv[2], GFP_KDB); argv 747 kernel/debug/kdb/kdb_main.c s->help = kdb_strdup(argv[3], GFP_KDB); argv 751 kernel/debug/kdb/kdb_main.c strcpy(s->usage, argv[2]+1); argv 755 kernel/debug/kdb/kdb_main.c strcpy(s->help, argv[3]+1); argv 769 kernel/debug/kdb/kdb_main.c kdb_printf("Could not allocate new defcmd_set entry for %s\n", argv[1]); argv 783 kernel/debug/kdb/kdb_main.c static int kdb_exec_defcmd(int argc, const char **argv) argv 790 kernel/debug/kdb/kdb_main.c if (strcmp(s->name, argv[0]) == 0) argv 795 kernel/debug/kdb/kdb_main.c argv[0]); argv 801 kernel/debug/kdb/kdb_main.c argv = NULL; argv 913 kernel/debug/kdb/kdb_main.c static char *argv[MAXARGC]; argv 960 kernel/debug/kdb/kdb_main.c argv[argc++] = cpp; argv 996 kernel/debug/kdb/kdb_main.c int result = kdb_defcmd2(cmdstr, argv[0]); argv 999 kernel/debug/kdb/kdb_main.c *(argv[0]) = '\0'; argv 1003 kernel/debug/kdb/kdb_main.c if (argv[0][0] == '-' && argv[0][1] && argv 1004 kernel/debug/kdb/kdb_main.c (argv[0][1] < '0' || argv[0][1] > '9')) { argv 1006 kernel/debug/kdb/kdb_main.c ++argv[0]; argv 1017 kernel/debug/kdb/kdb_main.c && (strlen(argv[0]) <= tp->cmd_minlen)) { argv 1018 kernel/debug/kdb/kdb_main.c if (strncmp(argv[0], argv 1025 kernel/debug/kdb/kdb_main.c if (strcmp(argv[0], tp->cmd_name) == 0) argv 1038 kernel/debug/kdb/kdb_main.c if (strncmp(argv[0], argv 1054 kernel/debug/kdb/kdb_main.c result = (*tp->cmd_func)(argc-1, (const char **)argv); argv 1063 kernel/debug/kdb/kdb_main.c if (argv[argc]) argv 1064 kernel/debug/kdb/kdb_main.c *(argv[argc]) = '\0'; argv 1081 kernel/debug/kdb/kdb_main.c if (kdbgetaddrarg(0, (const char **)argv, &nextarg, argv 1086 kernel/debug/kdb/kdb_main.c kdb_printf("%s = ", argv[0]); argv 1121 kernel/debug/kdb/kdb_main.c static int kdb_reboot(int argc, const char **argv) argv 1552 kernel/debug/kdb/kdb_main.c static int kdb_md(int argc, const char **argv) argv 1574 kernel/debug/kdb/kdb_main.c if (strcmp(argv[0], "mdr") == 0) { argv 1579 kernel/debug/kdb/kdb_main.c } else if (isdigit(argv[0][2])) { argv 1580 kernel/debug/kdb/kdb_main.c bytesperword = (int)(argv[0][2] - '0'); argv 1588 kernel/debug/kdb/kdb_main.c if (!argv[0][3]) argv 1590 kernel/debug/kdb/kdb_main.c else if (argv[0][3] == 'c' && argv[0][4]) { argv 1592 kernel/debug/kdb/kdb_main.c repeat = simple_strtoul(argv[0] + 4, &p, 10); argv 1597 kernel/debug/kdb/kdb_main.c } else if (strcmp(argv[0], "md") == 0) argv 1599 kernel/debug/kdb/kdb_main.c else if (strcmp(argv[0], "mds") == 0) argv 1601 kernel/debug/kdb/kdb_main.c else if (strcmp(argv[0], "mdp") == 0) { argv 1623 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, argv 1631 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[nextarg], &val); argv 1641 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[nextarg+1], &val); argv 1647 kernel/debug/kdb/kdb_main.c if (strcmp(argv[0], "mdr") == 0) { argv 1696 kernel/debug/kdb/kdb_main.c if (strcmp(argv[0], "mds") == 0) { argv 1750 kernel/debug/kdb/kdb_main.c static int kdb_mm(int argc, const char **argv) argv 1759 kernel/debug/kdb/kdb_main.c if (argv[0][2] && !isdigit(argv[0][2])) argv 1766 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); argv 1772 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &contents, NULL, NULL); argv 1779 kernel/debug/kdb/kdb_main.c width = argv[0][2] ? (argv[0][2] - '0') : (KDB_WORD_SIZE); argv 1793 kernel/debug/kdb/kdb_main.c static int kdb_go(int argc, const char **argv) argv 1808 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, argv 1838 kernel/debug/kdb/kdb_main.c static int kdb_rd(int argc, const char **argv) argv 1908 kernel/debug/kdb/kdb_main.c static int kdb_rm(int argc, const char **argv) argv 1924 kernel/debug/kdb/kdb_main.c rname = argv[1]; argv 1928 kernel/debug/kdb/kdb_main.c diag = kdbgetu64arg(argv[2], ®64); argv 1975 kernel/debug/kdb/kdb_main.c static int kdb_sr(int argc, const char **argv) argv 1984 kernel/debug/kdb/kdb_main.c __handle_sysrq(*argv[1], check_mask); argv 2000 kernel/debug/kdb/kdb_main.c static int kdb_ef(int argc, const char **argv) argv 2011 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); argv 2024 kernel/debug/kdb/kdb_main.c static int kdb_lsmod(int argc, const char **argv) argv 2071 kernel/debug/kdb/kdb_main.c static int kdb_env(int argc, const char **argv) argv 2092 kernel/debug/kdb/kdb_main.c static int kdb_dmesg(int argc, const char **argv) argv 2108 kernel/debug/kdb/kdb_main.c lines = simple_strtol(argv[1], &cp, 0); argv 2112 kernel/debug/kdb/kdb_main.c adjust = simple_strtoul(argv[2], &cp, 0); argv 2179 kernel/debug/kdb/kdb_main.c static int kdb_disable_nmi(int argc, const char *argv[]) argv 2252 kernel/debug/kdb/kdb_main.c static int kdb_cpu(int argc, const char **argv) argv 2265 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[1], &cpunum); argv 2347 kernel/debug/kdb/kdb_main.c static int kdb_ps(int argc, const char **argv) argv 2357 kernel/debug/kdb/kdb_main.c mask = kdb_task_state_string(argc ? argv[1] : NULL); argv 2383 kernel/debug/kdb/kdb_main.c static int kdb_pid(int argc, const char **argv) argv 2393 kernel/debug/kdb/kdb_main.c if (strcmp(argv[1], "R") == 0) { argv 2396 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[1], &val); argv 2415 kernel/debug/kdb/kdb_main.c static int kdb_kgdb(int argc, const char **argv) argv 2423 kernel/debug/kdb/kdb_main.c static int kdb_help(int argc, const char **argv) argv 2450 kernel/debug/kdb/kdb_main.c static int kdb_kill(int argc, const char **argv) argv 2459 kernel/debug/kdb/kdb_main.c sig = simple_strtol(argv[1], &endp, 0); argv 2468 kernel/debug/kdb/kdb_main.c pid = simple_strtol(argv[2], &endp, 0); argv 2510 kernel/debug/kdb/kdb_main.c static int kdb_summary(int argc, const char **argv) argv 2559 kernel/debug/kdb/kdb_main.c static int kdb_per_cpu(int argc, const char **argv) argv 2568 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &symaddr, NULL, NULL); argv 2573 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[2], &bytesperword); argv 2583 kernel/debug/kdb/kdb_main.c diag = kdbgetularg(argv[3], &whichcpu); argv 2629 kernel/debug/kdb/kdb_main.c static int kdb_grep_help(int argc, const char **argv) argv 66 kernel/kmod.c kfree(info->argv[3]); /* check call_modprobe() */ argv 67 kernel/kmod.c kfree(info->argv); argv 80 kernel/kmod.c char **argv = kmalloc(sizeof(char *[5]), GFP_KERNEL); argv 81 kernel/kmod.c if (!argv) argv 88 kernel/kmod.c argv[0] = modprobe_path; argv 89 kernel/kmod.c argv[1] = "-q"; argv 90 kernel/kmod.c argv[2] = "--"; argv 91 kernel/kmod.c argv[3] = module_name; /* check free_modprobe_argv() */ argv 92 kernel/kmod.c argv[4] = NULL; argv 94 kernel/kmod.c info = call_usermodehelper_setup(modprobe_path, argv, envp, GFP_KERNEL, argv 104 kernel/kmod.c kfree(argv); argv 424 kernel/reboot.c char **argv; argv 431 kernel/reboot.c argv = argv_split(GFP_KERNEL, cmd, NULL); argv 432 kernel/reboot.c if (argv) { argv 433 kernel/reboot.c ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); argv 434 kernel/reboot.c argv_free(argv); argv 9029 kernel/trace/trace.c char **argv; argv 9034 kernel/trace/trace.c argv = argv_split(GFP_KERNEL, buf, &argc); argv 9035 kernel/trace/trace.c if (!argv) argv 9039 kernel/trace/trace.c ret = createfn(argc, argv); argv 9041 kernel/trace/trace.c argv_free(argv); argv 34 kernel/trace/trace_dynevent.c int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type) argv 40 kernel/trace/trace_dynevent.c if (argv[0][0] == '-') { argv 41 kernel/trace/trace_dynevent.c if (argv[0][1] != ':') argv 43 kernel/trace/trace_dynevent.c event = &argv[0][2]; argv 45 kernel/trace/trace_dynevent.c event = strchr(argv[0], ':'); argv 50 kernel/trace/trace_dynevent.c argc--; argv++; argv 66 kernel/trace/trace_dynevent.c argc, (const char **)argv, pos)) argv 78 kernel/trace/trace_dynevent.c static int create_dyn_event(int argc, char **argv) argv 83 kernel/trace/trace_dynevent.c if (argv[0][0] == '-' || argv[0][0] == '!') argv 84 kernel/trace/trace_dynevent.c return dyn_event_release(argc, argv, NULL); argv 88 kernel/trace/trace_dynevent.c ret = ops->create(argc, (const char **)argv); argv 42 kernel/trace/trace_dynevent.h int (*create)(int argc, const char *argv[]); argv 47 kernel/trace/trace_dynevent.h int argc, const char **argv, struct dyn_event *ev); argv 100 kernel/trace/trace_dynevent.h int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type); argv 378 kernel/trace/trace_events_hist.c static int synth_event_create(int argc, const char **argv); argv 383 kernel/trace/trace_events_hist.c int argc, const char **argv, struct dyn_event *ev); argv 431 kernel/trace/trace_events_hist.c int argc, const char **argv, struct dyn_event *ev) argv 1037 kernel/trace/trace_events_hist.c static struct synth_field *parse_synth_field(int argc, const char **argv, argv 1041 kernel/trace/trace_events_hist.c const char *prefix = NULL, *field_type = argv[0], *field_name, *array; argv 1051 kernel/trace/trace_events_hist.c field_type = argv[1]; argv 1052 kernel/trace/trace_events_hist.c field_name = argv[2]; argv 1055 kernel/trace/trace_events_hist.c field_name = argv[1]; argv 1318 kernel/trace/trace_events_hist.c static int __create_synth_event(int argc, const char *name, const char **argv) argv 1343 kernel/trace/trace_events_hist.c if (strcmp(argv[i], ";") == 0) argv 1350 kernel/trace/trace_events_hist.c field = parse_synth_field(argc - i, &argv[i], &consumed); argv 1359 kernel/trace/trace_events_hist.c if (i < argc && strcmp(argv[i], ";") != 0) { argv 1386 kernel/trace/trace_events_hist.c static int create_or_delete_synth_event(int argc, char **argv) argv 1388 kernel/trace/trace_events_hist.c const char *name = argv[0]; argv 1412 kernel/trace/trace_events_hist.c ret = __create_synth_event(argc - 1, name, (const char **)argv + 1); argv 1416 kernel/trace/trace_events_hist.c static int synth_event_create(int argc, const char **argv) argv 1418 kernel/trace/trace_events_hist.c const char *name = argv[0]; argv 1432 kernel/trace/trace_events_hist.c return __create_synth_event(argc - 1, name, argv + 1); argv 95 kernel/trace/trace_kdb.c static int kdb_ftdump(int argc, const char **argv) argv 107 kernel/trace/trace_kdb.c skip_entries = simple_strtol(argv[1], &cp, 0); argv 113 kernel/trace/trace_kdb.c cpu_file = simple_strtol(argv[2], &cp, 0); argv 38 kernel/trace/trace_kprobe.c static int trace_kprobe_create(int argc, const char **argv); argv 43 kernel/trace/trace_kprobe.c int argc, const char **argv, struct dyn_event *ev); argv 142 kernel/trace/trace_kprobe.c int argc, const char **argv) argv 156 kernel/trace/trace_kprobe.c if (strcmp(buf, argv[0])) argv 158 kernel/trace/trace_kprobe.c argc--; argv++; argv 160 kernel/trace/trace_kprobe.c return trace_probe_match_command_args(&tk->tp, argc, argv); argv 164 kernel/trace/trace_kprobe.c int argc, const char **argv, struct dyn_event *ev) argv 170 kernel/trace/trace_kprobe.c trace_kprobe_match_command_head(tk, argc, argv); argv 713 kernel/trace/trace_kprobe.c static int trace_kprobe_create(int argc, const char *argv[]) argv 747 kernel/trace/trace_kprobe.c switch (argv[0][0]) { argv 760 kernel/trace/trace_kprobe.c trace_probe_log_init("trace_kprobe", argc, argv); argv 762 kernel/trace/trace_kprobe.c event = strchr(&argv[0][1], ':'); argv 766 kernel/trace/trace_kprobe.c if (isdigit(argv[0][1])) { argv 772 kernel/trace/trace_kprobe.c len = event - &argv[0][1] - 1; argv 774 kernel/trace/trace_kprobe.c len = strlen(&argv[0][1]); argv 779 kernel/trace/trace_kprobe.c memcpy(buf, &argv[0][1], len); argv 797 kernel/trace/trace_kprobe.c if (kstrtoul(argv[1], 0, (unsigned long *)&addr)) { argv 800 kernel/trace/trace_kprobe.c if (strchr(argv[1], '/') && strchr(argv[1], ':')) { argv 805 kernel/trace/trace_kprobe.c symbol = kstrdup(argv[1], GFP_KERNEL); argv 825 kernel/trace/trace_kprobe.c event - argv[0]); argv 849 kernel/trace/trace_kprobe.c argc -= 2; argv += 2; argv 853 kernel/trace/trace_kprobe.c tmp = kstrdup(argv[i], GFP_KERNEL); argv 894 kernel/trace/trace_kprobe.c static int create_or_delete_trace_kprobe(int argc, char **argv) argv 898 kernel/trace/trace_kprobe.c if (argv[0][0] == '-') argv 899 kernel/trace/trace_kprobe.c return dyn_event_release(argc, argv, &trace_kprobe_ops); argv 901 kernel/trace/trace_kprobe.c ret = trace_kprobe_create(argc, (const char **)argv); argv 145 kernel/trace/trace_probe.c void trace_probe_log_init(const char *subsystem, int argc, const char **argv) argv 149 kernel/trace/trace_probe.c trace_probe_log.argv = argv; argv 168 kernel/trace/trace_probe.c if (!trace_probe_log.argv) argv 175 kernel/trace/trace_probe.c len += strlen(trace_probe_log.argv[i]) + 1; argv 194 kernel/trace/trace_probe.c len = strlen(trace_probe_log.argv[i]); argv 195 kernel/trace/trace_probe.c strcpy(p, trace_probe_log.argv[i]); argv 1121 kernel/trace/trace_probe.c int argc, const char **argv) argv 1132 kernel/trace/trace_probe.c if (strcmp(buf, argv[i])) argv 344 kernel/trace/trace_probe.h int argc, const char **argv); argv 459 kernel/trace/trace_probe.h const char **argv; argv 464 kernel/trace/trace_probe.h void trace_probe_log_init(const char *subsystem, int argc, const char **argv); argv 37 kernel/trace/trace_uprobe.c static int trace_uprobe_create(int argc, const char **argv); argv 42 kernel/trace/trace_uprobe.c int argc, const char **argv, struct dyn_event *ev); argv 285 kernel/trace/trace_uprobe.c int argc, const char **argv) argv 294 kernel/trace/trace_uprobe.c if (strncmp(tu->filename, argv[0], len) || argv[0][len] != ':') argv 304 kernel/trace/trace_uprobe.c if (strcmp(buf, &argv[0][len + 1])) argv 307 kernel/trace/trace_uprobe.c argc--; argv++; argv 309 kernel/trace/trace_uprobe.c return trace_probe_match_command_args(&tu->tp, argc, argv); argv 313 kernel/trace/trace_uprobe.c int argc, const char **argv, struct dyn_event *ev) argv 319 kernel/trace/trace_uprobe.c trace_uprobe_match_command_head(tu, argc, argv); argv 533 kernel/trace/trace_uprobe.c static int trace_uprobe_create(int argc, const char **argv) argv 547 kernel/trace/trace_uprobe.c switch (argv[0][0]) { argv 560 kernel/trace/trace_uprobe.c if (argv[0][1] == ':') argv 561 kernel/trace/trace_uprobe.c event = &argv[0][2]; argv 563 kernel/trace/trace_uprobe.c if (!strchr(argv[1], '/')) argv 566 kernel/trace/trace_uprobe.c filename = kstrdup(argv[1], GFP_KERNEL); argv 577 kernel/trace/trace_uprobe.c trace_probe_log_init("trace_uprobe", argc, argv); argv 631 kernel/trace/trace_uprobe.c event - argv[0]); argv 654 kernel/trace/trace_uprobe.c argv += 2; argv 670 kernel/trace/trace_uprobe.c tmp = kstrdup(argv[i], GFP_KERNEL); argv 706 kernel/trace/trace_uprobe.c static int create_or_delete_trace_uprobe(int argc, char **argv) argv 710 kernel/trace/trace_uprobe.c if (argv[0][0] == '-') argv 711 kernel/trace/trace_uprobe.c return dyn_event_release(argc, argv, &trace_uprobe_ops); argv 713 kernel/trace/trace_uprobe.c ret = trace_uprobe_create(argc, (const char **)argv); argv 108 kernel/umh.c sub_info->argv, sub_info->envp); argv 113 kernel/umh.c (const char __user *const __user *)sub_info->argv, argv 379 kernel/umh.c struct subprocess_info *call_usermodehelper_setup(const char *path, char **argv, argv 397 kernel/umh.c sub_info->argv = argv; argv 420 kernel/umh.c sub_info->argv = argv_split(GFP_KERNEL, cmdline, NULL); argv 421 kernel/umh.c if (!sub_info->argv) { argv 484 kernel/umh.c argv_free(info->argv); argv 629 kernel/umh.c int call_usermodehelper(const char *path, char **argv, char **envp, int wait) argv 634 kernel/umh.c info = call_usermodehelper_setup(path, argv, envp, gfp_mask, argv 35 lib/argv_split.c void argv_free(char **argv) argv 37 lib/argv_split.c argv--; argv 38 lib/argv_split.c kfree(argv[0]); argv 39 lib/argv_split.c kfree(argv); argv 64 lib/argv_split.c char **argv, **argv_ret; argv 72 lib/argv_split.c argv = kmalloc_array(argc + 2, sizeof(*argv), gfp); argv 73 lib/argv_split.c if (!argv) { argv 78 lib/argv_split.c *argv = argv_str; argv 79 lib/argv_split.c argv_ret = ++argv; argv 86 lib/argv_split.c *argv++ = argv_str; argv 89 lib/argv_split.c *argv = NULL; argv 108 lib/gen_crc32table.c int main(int argc, char** argv) argv 61 lib/gen_crc64table.c int main(int argc, char *argv[]) argv 263 lib/kobject_uevent.c env->argv[0] = uevent_helper; argv 264 lib/kobject_uevent.c env->argv[1] = &env->buf[env->buflen]; argv 265 lib/kobject_uevent.c env->argv[2] = NULL; argv 613 lib/kobject_uevent.c info = call_usermodehelper_setup(env->argv[0], env->argv, argv 53 lib/raid6/mktables.c int main(int argc, char *argv[]) argv 88 lib/raid6/test/test.c int main(int argc, char *argv[]) argv 130 net/bridge/br_stp_if.c char *argv[] = { BR_STP_PROG, br->dev->name, arg, NULL }; argv 135 net/bridge/br_stp_if.c rc = call_usermodehelper(BR_STP_PROG, argv, envp, UMH_WAIT_PROC); argv 642 net/sunrpc/auth_gss/svcauth_gss.c svc_safe_getnetobj(struct kvec *argv, struct xdr_netobj *o) argv 646 net/sunrpc/auth_gss/svcauth_gss.c if (argv->iov_len < 4) argv 648 net/sunrpc/auth_gss/svcauth_gss.c o->len = svc_getnl(argv); argv 650 net/sunrpc/auth_gss/svcauth_gss.c if (argv->iov_len < l) argv 652 net/sunrpc/auth_gss/svcauth_gss.c o->data = argv->iov_base; argv 653 net/sunrpc/auth_gss/svcauth_gss.c argv->iov_base += l; argv 654 net/sunrpc/auth_gss/svcauth_gss.c argv->iov_len -= l; argv 688 net/sunrpc/auth_gss/svcauth_gss.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 693 net/sunrpc/auth_gss/svcauth_gss.c iov.iov_len = (u8 *)argv->iov_base - (u8 *)rpcstart; argv 697 net/sunrpc/auth_gss/svcauth_gss.c if (argv->iov_len < 4) argv 699 net/sunrpc/auth_gss/svcauth_gss.c flavor = svc_getnl(argv); argv 702 net/sunrpc/auth_gss/svcauth_gss.c if (svc_safe_getnetobj(argv, &checksum)) argv 1027 net/sunrpc/auth_gss/svcauth_gss.c struct kvec *argv, __be32 *authp, argv 1032 net/sunrpc/auth_gss/svcauth_gss.c if (argv->iov_len < 2 * 4) argv 1034 net/sunrpc/auth_gss/svcauth_gss.c if (svc_getnl(argv) != RPC_AUTH_NULL) argv 1036 net/sunrpc/auth_gss/svcauth_gss.c if (svc_getnl(argv) != 0) argv 1051 net/sunrpc/auth_gss/svcauth_gss.c struct kvec *argv, __be32 *authp, argv 1058 net/sunrpc/auth_gss/svcauth_gss.c res = gss_read_common_verf(gc, argv, authp, in_handle); argv 1062 net/sunrpc/auth_gss/svcauth_gss.c if (svc_safe_getnetobj(argv, &tmpobj)) { argv 1096 net/sunrpc/auth_gss/svcauth_gss.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 1101 net/sunrpc/auth_gss/svcauth_gss.c res = gss_read_common_verf(gc, argv, authp, in_handle); argv 1105 net/sunrpc/auth_gss/svcauth_gss.c inlen = svc_getnl(argv); argv 1106 net/sunrpc/auth_gss/svcauth_gss.c if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) argv 1123 net/sunrpc/auth_gss/svcauth_gss.c length = min_t(unsigned int, inlen, argv->iov_len); argv 1124 net/sunrpc/auth_gss/svcauth_gss.c memcpy(page_address(in_token->pages[0]), argv->iov_base, length); argv 1172 net/sunrpc/auth_gss/svcauth_gss.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 1179 net/sunrpc/auth_gss/svcauth_gss.c ret = gss_read_verf(gc, argv, authp, argv 1481 net/sunrpc/auth_gss/svcauth_gss.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 1493 net/sunrpc/auth_gss/svcauth_gss.c argv->iov_len); argv 1508 net/sunrpc/auth_gss/svcauth_gss.c rpcstart = argv->iov_base; argv 1516 net/sunrpc/auth_gss/svcauth_gss.c if (argv->iov_len < 5 * 4) argv 1518 net/sunrpc/auth_gss/svcauth_gss.c crlen = svc_getnl(argv); argv 1519 net/sunrpc/auth_gss/svcauth_gss.c if (svc_getnl(argv) != RPC_GSS_VERSION) argv 1521 net/sunrpc/auth_gss/svcauth_gss.c gc->gc_proc = svc_getnl(argv); argv 1522 net/sunrpc/auth_gss/svcauth_gss.c gc->gc_seq = svc_getnl(argv); argv 1523 net/sunrpc/auth_gss/svcauth_gss.c gc->gc_svc = svc_getnl(argv); argv 1524 net/sunrpc/auth_gss/svcauth_gss.c if (svc_safe_getnetobj(argv, &gc->gc_ctx)) argv 1190 net/sunrpc/svc.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 1199 net/sunrpc/svc.c !procp->pc_decode(rqstp, argv->iov_base)) { argv 1283 net/sunrpc/svc.c svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) argv 1297 net/sunrpc/svc.c if (argv->iov_len < 6*4) argv 1308 net/sunrpc/svc.c vers = svc_getnl(argv); argv 1321 net/sunrpc/svc.c rqstp->rq_prog = prog = svc_getnl(argv); /* program number */ argv 1322 net/sunrpc/svc.c rqstp->rq_vers = svc_getnl(argv); /* version number */ argv 1323 net/sunrpc/svc.c rqstp->rq_proc = svc_getnl(argv); /* procedure number */ argv 1439 net/sunrpc/svc.c argv->iov_len); argv 1502 net/sunrpc/svc.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 1522 net/sunrpc/svc.c dir = svc_getnl(argv); argv 1535 net/sunrpc/svc.c if (likely(svc_process_common(rqstp, argv, resv))) argv 1553 net/sunrpc/svc.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 1592 net/sunrpc/svc.c svc_getu32(argv); /* XID */ argv 1593 net/sunrpc/svc.c svc_getnl(argv); /* CALLDIR */ argv 1596 net/sunrpc/svc.c proc_error = svc_process_common(rqstp, argv, resv); argv 737 net/sunrpc/svcauth_unix.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 741 net/sunrpc/svcauth_unix.c if (argv->iov_len < 3*4) argv 744 net/sunrpc/svcauth_unix.c if (svc_getu32(argv) != 0) { argv 749 net/sunrpc/svcauth_unix.c if (svc_getu32(argv) != htonl(RPC_AUTH_NULL) || svc_getu32(argv) != 0) { argv 797 net/sunrpc/svcauth_unix.c struct kvec *argv = &rqstp->rq_arg.head[0]; argv 802 net/sunrpc/svcauth_unix.c int len = argv->iov_len; argv 807 net/sunrpc/svcauth_unix.c svc_getu32(argv); /* length */ argv 808 net/sunrpc/svcauth_unix.c svc_getu32(argv); /* time stamp */ argv 809 net/sunrpc/svcauth_unix.c slen = XDR_QUADLEN(svc_getnl(argv)); /* machname length */ argv 812 net/sunrpc/svcauth_unix.c argv->iov_base = (void*)((__be32*)argv->iov_base + slen); /* skip machname */ argv 813 net/sunrpc/svcauth_unix.c argv->iov_len -= slen*4; argv 823 net/sunrpc/svcauth_unix.c cred->cr_uid = make_kuid(userns, svc_getnl(argv)); /* uid */ argv 824 net/sunrpc/svcauth_unix.c cred->cr_gid = make_kgid(userns, svc_getnl(argv)); /* gid */ argv 825 net/sunrpc/svcauth_unix.c slen = svc_getnl(argv); /* gids length */ argv 832 net/sunrpc/svcauth_unix.c kgid_t kgid = make_kgid(userns, svc_getnl(argv)); argv 836 net/sunrpc/svcauth_unix.c if (svc_getu32(argv) != htonl(RPC_AUTH_NULL) || svc_getu32(argv) != 0) { argv 242 samples/auxdisplay/cfag12864b-example.c int main(int argc, char *argv[]) argv 249 samples/auxdisplay/cfag12864b-example.c "Usually: /dev/fb0, /dev/fb1...\n", argv[0]); argv 253 samples/auxdisplay/cfag12864b-example.c if (cfag12864b_init(argv[1])) { argv 254 samples/auxdisplay/cfag12864b-example.c printf("Can't init %s fbdev\n", argv[1]); argv 18 samples/binderfs/binderfs_example.c int main(int argc, char *argv[]) argv 281 samples/bpf/cookie_uid_helper_example.c int main(int argc, char *argv[]) argv 289 samples/bpf/cookie_uid_helper_example.c while ((opt = getopt(argc, argv, "ts")) != -1) { argv 306 samples/bpf/cookie_uid_helper_example.c prog_attach_iptables(argv[2]); argv 189 samples/bpf/cpustat_user.c int main(int argc, char **argv) argv 194 samples/bpf/cpustat_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 138 samples/bpf/fds_example.c int main(int argc, char **argv) argv 144 samples/bpf/fds_example.c while ((opt = getopt(argc, argv, "F:PGmk:v:po:")) != -1) { argv 435 samples/bpf/hbm.c int main(int argc, char **argv) argv 447 samples/bpf/hbm.c while ((k = getopt_long(argc, argv, optstring, loptions, NULL)) != -1) { argv 494 samples/bpf/hbm.c prog = argv[optind]; argv 74 samples/bpf/ibumad_user.c int main(int argc, char **argv) argv 84 samples/bpf/ibumad_user.c snprintf(bpf_file, sizeof(bpf_file), "%s_kern.o", argv[0]); argv 90 samples/bpf/ibumad_user.c while ((opt = getopt_long(argc, argv, "hd:rSw", argv 99 samples/bpf/ibumad_user.c usage(argv[0]); argv 105 samples/bpf/ibumad_user.c usage(argv[0]); argv 82 samples/bpf/lathist_user.c int main(int argc, char **argv) argv 86 samples/bpf/lathist_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 29 samples/bpf/lwt_len_hist_user.c int main(int argc, char **argv) argv 430 samples/bpf/map_perf_test_user.c int main(int argc, char **argv) argv 436 samples/bpf/map_perf_test_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 440 samples/bpf/map_perf_test_user.c test_flags = atoi(argv[1]) ? : test_flags; argv 443 samples/bpf/map_perf_test_user.c num_cpu = atoi(argv[2]) ? : num_cpu; argv 446 samples/bpf/map_perf_test_user.c num_map_entries = atoi(argv[3]); argv 449 samples/bpf/map_perf_test_user.c max_cnt = atoi(argv[4]); argv 96 samples/bpf/offwaketime_user.c int main(int argc, char **argv) argv 102 samples/bpf/offwaketime_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 119 samples/bpf/offwaketime_user.c delay = atoi(argv[1]); argv 135 samples/bpf/sampleip_user.c int main(int argc, char **argv) argv 141 samples/bpf/sampleip_user.c while ((opt = getopt(argc, argv, "F:h")) != -1) { argv 153 samples/bpf/sampleip_user.c secs = atoi(argv[optind]); argv 174 samples/bpf/sampleip_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 11 samples/bpf/sockex1_user.c int main(int ac, char **argv) argv 19 samples/bpf/sockex1_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 17 samples/bpf/sockex2_user.c int main(int ac, char **argv) argv 26 samples/bpf/sockex2_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 31 samples/bpf/sockex3_user.c int main(int argc, char **argv) argv 40 samples/bpf/sockex3_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 12 samples/bpf/spintest_user.c int main(int ac, char **argv) argv 20 samples/bpf/spintest_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 86 samples/bpf/syscall_tp_user.c int main(int argc, char **argv) argv 92 samples/bpf/syscall_tp_user.c while ((opt = getopt(argc, argv, "i:h")) != -1) { argv 99 samples/bpf/syscall_tp_user.c usage(argv[0]); argv 105 samples/bpf/syscall_tp_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 291 samples/bpf/task_fd_query_user.c int main(int argc, char **argv) argv 298 samples/bpf/task_fd_query_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 365 samples/bpf/task_fd_query_user.c CHECK_AND_RET(test_nondebug_fs_probe("uprobe", (char *)argv[0], argv 370 samples/bpf/task_fd_query_user.c CHECK_AND_RET(test_nondebug_fs_probe("uprobe", (char *)argv[0], argv 377 samples/bpf/task_fd_query_user.c CHECK_AND_RET(test_debug_fs_uprobe((char *)argv[0], uprobe_file_offset, argv 379 samples/bpf/task_fd_query_user.c CHECK_AND_RET(test_debug_fs_uprobe((char *)argv[0], uprobe_file_offset, argv 23 samples/bpf/tc_l2_redirect_user.c int main(int argc, char **argv) argv 32 samples/bpf/tc_l2_redirect_user.c while ((opt = getopt(argc, argv, "F:U:i:")) != -1) { argv 25 samples/bpf/test_cgrp2_array_pin.c int main(int argc, char **argv) argv 35 samples/bpf/test_cgrp2_array_pin.c while ((opt = getopt(argc, argv, "F:U:v:")) != -1) { argv 129 samples/bpf/test_cgrp2_attach.c int main(int argc, char **argv) argv 135 samples/bpf/test_cgrp2_attach.c while ((opt = getopt(argc, argv, "Dd")) != -1) { argv 144 samples/bpf/test_cgrp2_attach.c return usage(argv[0]); argv 149 samples/bpf/test_cgrp2_attach.c return usage(argv[0]); argv 151 samples/bpf/test_cgrp2_attach.c if (strcmp(argv[optind + 1], "ingress") == 0) argv 153 samples/bpf/test_cgrp2_attach.c else if (strcmp(argv[optind + 1], "egress") == 0) argv 156 samples/bpf/test_cgrp2_attach.c return usage(argv[0]); argv 158 samples/bpf/test_cgrp2_attach.c cg_fd = open(argv[optind], O_DIRECTORY | O_RDONLY); argv 204 samples/bpf/test_cgrp2_sock.c int main(int argc, char **argv) argv 213 samples/bpf/test_cgrp2_sock.c while ((rc = getopt(argc, argv, "db:m:p:6")) != -1) { argv 238 samples/bpf/test_cgrp2_sock.c return usage(argv[0]); argv 245 samples/bpf/test_cgrp2_sock.c cgrp_path = argv[optind]; argv 33 samples/bpf/test_cgrp2_sock2.c int main(int argc, char **argv) argv 38 samples/bpf/test_cgrp2_sock2.c return usage(argv[0]); argv 40 samples/bpf/test_cgrp2_sock2.c cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY); argv 46 samples/bpf/test_cgrp2_sock2.c if (load_bpf_file(argv[2])) argv 52 samples/bpf/test_cgrp2_sock2.c filter_id = atoi(argv[3]); argv 15 samples/bpf/test_current_task_under_cgroup_user.c int main(int argc, char **argv) argv 21 samples/bpf/test_current_task_under_cgroup_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 490 samples/bpf/test_lru_dist.c int main(int argc, char **argv) argv 501 samples/bpf/test_lru_dist.c argv[0]); argv 505 samples/bpf/test_lru_dist.c dist_file = argv[1]; argv 506 samples/bpf/test_lru_dist.c lru_size = atoi(argv[2]); argv 507 samples/bpf/test_lru_dist.c nr_tasks = atoi(argv[3]); argv 113 samples/bpf/test_map_in_map_user.c int main(int argc, char **argv) argv 120 samples/bpf/test_map_in_map_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 126 samples/bpf/test_overhead_user.c int main(int argc, char **argv) argv 136 samples/bpf/test_overhead_user.c test_flags = atoi(argv[1]) ? : test_flags; argv 138 samples/bpf/test_overhead_user.c num_cpu = atoi(argv[2]) ? : num_cpu; argv 147 samples/bpf/test_overhead_user.c "%s_kprobe_kern.o", argv[0]); argv 159 samples/bpf/test_overhead_user.c "%s_tp_kern.o", argv[0]); argv 171 samples/bpf/test_overhead_user.c "%s_raw_tp_kern.o", argv[0]); argv 13 samples/bpf/test_probe_write_user_user.c int main(int ac, char **argv) argv 26 samples/bpf/test_probe_write_user_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 282 samples/bpf/trace_event_user.c int main(int argc, char **argv) argv 287 samples/bpf/trace_event_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 57 samples/bpf/trace_output_user.c int main(int argc, char **argv) argv 65 samples/bpf/trace_output_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 8 samples/bpf/tracex1_user.c int main(int ac, char **argv) argv 13 samples/bpf/tracex1_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 115 samples/bpf/tracex2_user.c int main(int ac, char **argv) argv 123 samples/bpf/tracex2_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 109 samples/bpf/tracex3_user.c int main(int ac, char **argv) argv 115 samples/bpf/tracex3_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 128 samples/bpf/tracex3_user.c if (strcmp(argv[i], "-a") == 0) { argv 130 samples/bpf/tracex3_user.c } else if (strcmp(argv[i], "-t") == 0) { argv 132 samples/bpf/tracex3_user.c } else if (strcmp(argv[i], "-h") == 0) { argv 50 samples/bpf/tracex4_user.c int main(int ac, char **argv) argv 56 samples/bpf/tracex4_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 28 samples/bpf/tracex5_user.c int main(int ac, char **argv) argv 34 samples/bpf/tracex5_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 174 samples/bpf/tracex6_user.c int main(int argc, char **argv) argv 179 samples/bpf/tracex6_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 9 samples/bpf/tracex7_user.c int main(int argc, char **argv) argv 16 samples/bpf/tracex7_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 23 samples/bpf/tracex7_user.c snprintf(command, 256, "mount %s tmpmnt/", argv[1]); argv 80 samples/bpf/xdp1_user.c int main(int argc, char **argv) argv 95 samples/bpf/xdp1_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 107 samples/bpf/xdp1_user.c usage(basename(argv[0])); argv 113 samples/bpf/xdp1_user.c usage(basename(argv[0])); argv 122 samples/bpf/xdp1_user.c ifindex = if_nametoindex(argv[optind]); argv 128 samples/bpf/xdp1_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 81 samples/bpf/xdp_adjust_tail_user.c int main(int argc, char **argv) argv 102 samples/bpf/xdp_adjust_tail_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 123 samples/bpf/xdp_adjust_tail_user.c usage(argv[0]); argv 132 samples/bpf/xdp_adjust_tail_user.c usage(argv[0]); argv 147 samples/bpf/xdp_adjust_tail_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 72 samples/bpf/xdp_fwd_user.c int main(int argc, char **argv) argv 86 samples/bpf/xdp_fwd_user.c while ((opt = getopt(argc, argv, ":dD")) != -1) { argv 95 samples/bpf/xdp_fwd_user.c usage(basename(argv[0])); argv 101 samples/bpf/xdp_fwd_user.c usage(basename(argv[0])); argv 106 samples/bpf/xdp_fwd_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 139 samples/bpf/xdp_fwd_user.c idx = if_nametoindex(argv[i]); argv 141 samples/bpf/xdp_fwd_user.c idx = strtoul(argv[i], NULL, 0); argv 148 samples/bpf/xdp_fwd_user.c err = do_detach(idx, argv[i]); argv 152 samples/bpf/xdp_fwd_user.c err = do_attach(idx, prog_fd, map_fd, argv[i]); argv 47 samples/bpf/xdp_monitor_user.c static void usage(char *argv[]) argv 53 samples/bpf/xdp_monitor_user.c argv[0]); argv 650 samples/bpf/xdp_monitor_user.c int main(int argc, char **argv) argv 661 samples/bpf/xdp_monitor_user.c snprintf(bpf_obj_file, sizeof(bpf_obj_file), "%s_kern.o", argv[0]); argv 664 samples/bpf/xdp_monitor_user.c while ((opt = getopt_long(argc, argv, "hDSs:", argv 678 samples/bpf/xdp_monitor_user.c usage(argv); argv 116 samples/bpf/xdp_redirect_cpu_user.c static void usage(char *argv[], struct bpf_object *obj) argv 122 samples/bpf/xdp_redirect_cpu_user.c printf(" Usage: %s (options-see-below)\n", argv[0]); argv 669 samples/bpf/xdp_redirect_cpu_user.c int main(int argc, char **argv) argv 699 samples/bpf/xdp_redirect_cpu_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 723 samples/bpf/xdp_redirect_cpu_user.c while ((opt = getopt_long(argc, argv, "hSd:s:p:q:c:xzF", argv 778 samples/bpf/xdp_redirect_cpu_user.c usage(argv, obj); argv 785 samples/bpf/xdp_redirect_cpu_user.c usage(argv, obj); argv 792 samples/bpf/xdp_redirect_cpu_user.c usage(argv, obj); argv 97 samples/bpf/xdp_redirect_map_user.c int main(int argc, char **argv) argv 113 samples/bpf/xdp_redirect_map_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 125 samples/bpf/xdp_redirect_map_user.c usage(basename(argv[0])); argv 131 samples/bpf/xdp_redirect_map_user.c printf("usage: %s <IFNAME|IFINDEX>_IN <IFNAME|IFINDEX>_OUT\n", argv[0]); argv 140 samples/bpf/xdp_redirect_map_user.c ifindex_in = if_nametoindex(argv[optind]); argv 142 samples/bpf/xdp_redirect_map_user.c ifindex_in = strtoul(argv[optind], NULL, 0); argv 144 samples/bpf/xdp_redirect_map_user.c ifindex_out = if_nametoindex(argv[optind + 1]); argv 146 samples/bpf/xdp_redirect_map_user.c ifindex_out = strtoul(argv[optind + 1], NULL, 0); argv 150 samples/bpf/xdp_redirect_map_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 98 samples/bpf/xdp_redirect_user.c int main(int argc, char **argv) argv 114 samples/bpf/xdp_redirect_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 126 samples/bpf/xdp_redirect_user.c usage(basename(argv[0])); argv 132 samples/bpf/xdp_redirect_user.c printf("usage: %s <IFNAME|IFINDEX>_IN <IFNAME|IFINDEX>_OUT\n", argv[0]); argv 141 samples/bpf/xdp_redirect_user.c ifindex_in = if_nametoindex(argv[optind]); argv 143 samples/bpf/xdp_redirect_user.c ifindex_in = strtoul(argv[optind], NULL, 0); argv 145 samples/bpf/xdp_redirect_user.c ifindex_out = if_nametoindex(argv[optind + 1]); argv 147 samples/bpf/xdp_redirect_user.c ifindex_out = strtoul(argv[optind + 1], NULL, 0); argv 151 samples/bpf/xdp_redirect_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 626 samples/bpf/xdp_router_ipv4_user.c int main(int ac, char **argv) argv 641 samples/bpf/xdp_router_ipv4_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 645 samples/bpf/xdp_router_ipv4_user.c ifname_list = (argv + 1); argv 647 samples/bpf/xdp_router_ipv4_user.c while ((opt = getopt(ac, argv, optstr)) != -1) { argv 660 samples/bpf/xdp_router_ipv4_user.c usage(basename(argv[0])); argv 666 samples/bpf/xdp_router_ipv4_user.c usage(basename(argv[0])); argv 147 samples/bpf/xdp_rxq_info_user.c static void usage(char *argv[]) argv 152 samples/bpf/xdp_rxq_info_user.c printf(" Usage: %s (options-see-below)\n", argv[0]); argv 457 samples/bpf/xdp_rxq_info_user.c int main(int argc, char **argv) argv 481 samples/bpf/xdp_rxq_info_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 507 samples/bpf/xdp_rxq_info_user.c while ((opt = getopt_long(argc, argv, "FhSrmzd:s:a:", argv 550 samples/bpf/xdp_rxq_info_user.c usage(argv); argv 557 samples/bpf/xdp_rxq_info_user.c usage(argv); argv 111 samples/bpf/xdp_sample_pkts_user.c int main(int argc, char **argv) argv 125 samples/bpf/xdp_sample_pkts_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 131 samples/bpf/xdp_sample_pkts_user.c usage(basename(argv[0])); argv 137 samples/bpf/xdp_sample_pkts_user.c usage(basename(argv[0])); argv 146 samples/bpf/xdp_sample_pkts_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 164 samples/bpf/xdp_sample_pkts_user.c if_idx = if_nametoindex(argv[optind]); argv 166 samples/bpf/xdp_sample_pkts_user.c if_idx = strtoul(argv[optind], NULL, 0); argv 172 samples/bpf/xdp_sample_pkts_user.c if_name = argv[optind]; argv 153 samples/bpf/xdp_tx_iptunnel_user.c int main(int argc, char **argv) argv 179 samples/bpf/xdp_tx_iptunnel_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 240 samples/bpf/xdp_tx_iptunnel_user.c usage(argv[0]); argv 249 samples/bpf/xdp_tx_iptunnel_user.c usage(argv[0]); argv 264 samples/bpf/xdp_tx_iptunnel_user.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 394 samples/bpf/xdpsock_user.c static void parse_command_line(int argc, char **argv) argv 401 samples/bpf/xdpsock_user.c c = getopt_long(argc, argv, "Frtli:q:psSNn:czf:mu", argv 457 samples/bpf/xdpsock_user.c usage(basename(argv[0])); argv 465 samples/bpf/xdpsock_user.c usage(basename(argv[0])); argv 472 samples/bpf/xdpsock_user.c usage(basename(argv[0])); argv 731 samples/bpf/xdpsock_user.c int main(int argc, char **argv) argv 739 samples/bpf/xdpsock_user.c parse_command_line(argc, argv); argv 97 samples/connector/ucon.c int main(int argc, char *argv[]) argv 110 samples/connector/ucon.c while ((s = getopt(argc, argv, "hs")) != -1) { argv 128 samples/connector/ucon.c out = fopen(argv[optind], "a+"); argv 131 samples/connector/ucon.c argv[1], strerror(errno)); argv 43 samples/hidraw/hid-example.c int main(int argc, char **argv) argv 53 samples/hidraw/hid-example.c device = argv[1]; argv 18 samples/kdb/kdb_hello.c static int kdb_hello_cmd(int argc, const char **argv) argv 24 samples/kdb/kdb_hello.c kdb_printf("Hello %s.\n", argv[1]); argv 438 samples/mei/mei-amt-version.c int main(int argc, char **argv) argv 447 samples/mei/mei-amt-version.c verbose = (argc > 1 && strcmp(argv[1], "-v") == 0); argv 1781 samples/mic/mpssd/mpssd.c main(int argc, char *argv[]) argv 1786 samples/mic/mpssd/mpssd.c myname = argv[0]; argv 84 samples/pidfd/pidfd-metadata.c int main(int argc, char *argv[]) argv 164 samples/seccomp/bpf-direct.c int main(int argc, char **argv) argv 27 samples/seccomp/bpf-fancy.c int main(int argc, char **argv) argv 56 samples/seccomp/dropper.c int main(int argc, char **argv) argv 66 samples/seccomp/dropper.c if (install_filter(strtol(argv[1], NULL, 0), strtol(argv[2], NULL, 0), argv 67 samples/seccomp/dropper.c strtol(argv[3], NULL, 0))) argv 69 samples/seccomp/dropper.c execv(argv[4], &argv[4]); argv 30 samples/timers/hpet_example.c void (*func)(int argc, const char ** argv); argv 51 samples/timers/hpet_example.c main(int argc, const char ** argv) argv 56 samples/timers/hpet_example.c argv++; argv 65 samples/timers/hpet_example.c if (!strcmp(argv[0], hpet_command[i].command)) { argv 67 samples/timers/hpet_example.c argv++; argv 70 samples/timers/hpet_example.c hpet_command[i].func(argc, argv); argv 74 samples/timers/hpet_example.c fprintf(stderr, "do_hpet: command %s not implemented\n", argv[0]); argv 80 samples/timers/hpet_example.c hpet_open_close(int argc, const char **argv) argv 89 samples/timers/hpet_example.c fd = open(argv[0], O_RDONLY); argv 99 samples/timers/hpet_example.c hpet_info(int argc, const char **argv) argv 109 samples/timers/hpet_example.c fd = open(argv[0], O_RDONLY); argv 111 samples/timers/hpet_example.c fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]); argv 131 samples/timers/hpet_example.c hpet_poll(int argc, const char **argv) argv 146 samples/timers/hpet_example.c freq = atoi(argv[1]); argv 147 samples/timers/hpet_example.c iterations = atoi(argv[2]); argv 149 samples/timers/hpet_example.c fd = open(argv[0], O_RDONLY); argv 152 samples/timers/hpet_example.c fprintf(stderr, "hpet_poll: open of %s failed\n", argv[0]); argv 223 samples/timers/hpet_example.c hpet_fasync(int argc, const char **argv) argv 243 samples/timers/hpet_example.c fd = open(argv[0], O_RDONLY); argv 246 samples/timers/hpet_example.c fprintf(stderr, "hpet_fasync: failed to open %s\n", argv[0]); argv 258 samples/timers/hpet_example.c freq = atoi(argv[1]); argv 259 samples/timers/hpet_example.c iterations = atoi(argv[2]); argv 387 samples/uhid/uhid-example.c int main(int argc, char **argv) argv 407 samples/uhid/uhid-example.c if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { argv 408 samples/uhid/uhid-example.c fprintf(stderr, "Usage: %s [%s]\n", argv[0], path); argv 411 samples/uhid/uhid-example.c path = argv[1]; argv 103 samples/vfs/test-fsmount.c int main(int argc, char *argv[]) argv 214 samples/vfs/test-statx.c int main(int argc, char **argv) argv 221 samples/vfs/test-statx.c for (argv++; *argv; argv++) { argv 222 samples/vfs/test-statx.c if (strcmp(*argv, "-F") == 0) { argv 227 samples/vfs/test-statx.c if (strcmp(*argv, "-D") == 0) { argv 232 samples/vfs/test-statx.c if (strcmp(*argv, "-L") == 0) { argv 236 samples/vfs/test-statx.c if (strcmp(*argv, "-O") == 0) { argv 240 samples/vfs/test-statx.c if (strcmp(*argv, "-A") == 0) { argv 244 samples/vfs/test-statx.c if (strcmp(*argv, "-R") == 0) { argv 250 samples/vfs/test-statx.c ret = statx(AT_FDCWD, *argv, atflag, mask, &stx); argv 251 samples/vfs/test-statx.c printf("statx(%s) = %d\n", *argv, ret); argv 253 samples/vfs/test-statx.c perror(*argv); argv 560 scripts/asn1_compiler.c int main(int argc, char **argv) argv 574 scripts/asn1_compiler.c if (strcmp(argv[1], "-v") == 0) argv 576 scripts/asn1_compiler.c else if (strcmp(argv[1], "-d") == 0) argv 580 scripts/asn1_compiler.c memmove(&argv[1], &argv[2], (argc - 2) * sizeof(char *)); argv 586 scripts/asn1_compiler.c argv[0]); argv 590 scripts/asn1_compiler.c filename = argv[1]; argv 591 scripts/asn1_compiler.c outputname = argv[2]; argv 592 scripts/asn1_compiler.c headername = argv[3]; argv 625 scripts/asn1_compiler.c p = strrchr(argv[1], '/'); argv 626 scripts/asn1_compiler.c p = p ? p + 1 : argv[1]; argv 391 scripts/basic/fixdep.c int main(int argc, char *argv[]) argv 399 scripts/basic/fixdep.c depfile = argv[1]; argv 400 scripts/basic/fixdep.c target = argv[2]; argv 401 scripts/basic/fixdep.c cmdline = argv[3]; argv 12 scripts/bin2c.c int main(int argc, char *argv[]) argv 18 scripts/bin2c.c argv[1], argc > 2 ? argv[2] : ""); argv 33 scripts/bin2c.c argv[1], total); argv 76 scripts/conmakehash.c int main(int argc, char *argv[]) argv 87 scripts/conmakehash.c usage(argv[0]); argv 89 scripts/conmakehash.c if ( !strcmp(argv[1],"-") ) argv 96 scripts/conmakehash.c ctbl = fopen(tblname = argv[1], "r"); argv 256 scripts/conmakehash.c {\n\t", argv[1], fontlen); argv 160 scripts/dtc/dtc.c int main(int argc, char *argv[]) argv 272 scripts/dtc/dtc.c arg = argv[optind]; argv 147 scripts/dtc/fdtdump.c int main(int argc, char *argv[]) argv 156 scripts/dtc/fdtdump.c buf = utilfdt_read(argv[1]); argv 291 scripts/dtc/fdtget.c int main(int argc, char *argv[]) argv 302 scripts/dtc/fdtget.c int c = getopt(argc, argv, "d:hlpt:"); argv 334 scripts/dtc/fdtget.c filename = argv[optind++]; argv 338 scripts/dtc/fdtget.c argv += optind; argv 349 scripts/dtc/fdtget.c if (do_fdtget(&disp, filename, argv, argc, args_per_step)) argv 286 scripts/dtc/fdtput.c int main(int argc, char *argv[]) argv 295 scripts/dtc/fdtput.c int c = getopt(argc, argv, "chpt:v"); argv 331 scripts/dtc/fdtput.c filename = argv[optind++]; argv 335 scripts/dtc/fdtput.c argv += optind; argv 345 scripts/dtc/fdtput.c if (do_fdtput(&disp, filename, argv, argc)) argv 215 scripts/dtc/util.h #define util_getopt_long() getopt_long(argc, argv, usage_short_opts, \ argv 90 scripts/extract-cert.c int main(int argc, char **argv) argv 105 scripts/extract-cert.c cert_src = argv[1]; argv 106 scripts/extract-cert.c cert_dst = argv[2]; argv 74 scripts/gcc-plugins/arm_ssp_per_task_plugin.c const struct plugin_argument *argv = plugin_info->argv; argv 84 scripts/gcc-plugins/arm_ssp_per_task_plugin.c if (!strcmp(argv[i].key, "disable")) argv 88 scripts/gcc-plugins/arm_ssp_per_task_plugin.c if (!argv[i].value) { argv 90 scripts/gcc-plugins/arm_ssp_per_task_plugin.c plugin_name, argv[i].key); argv 94 scripts/gcc-plugins/arm_ssp_per_task_plugin.c if (!strcmp(argv[i].key, "tso")) { argv 95 scripts/gcc-plugins/arm_ssp_per_task_plugin.c tso = atoi(argv[i].value); argv 99 scripts/gcc-plugins/arm_ssp_per_task_plugin.c if (!strcmp(argv[i].key, "offset")) { argv 100 scripts/gcc-plugins/arm_ssp_per_task_plugin.c canary_offset = atoi(argv[i].value); argv 104 scripts/gcc-plugins/arm_ssp_per_task_plugin.c plugin_name, argv[i].key); argv 585 scripts/gcc-plugins/latent_entropy_plugin.c const struct plugin_argument * const argv = plugin_info->argv; argv 607 scripts/gcc-plugins/latent_entropy_plugin.c if (!(strcmp(argv[i].key, "disable"))) { argv 611 scripts/gcc-plugins/latent_entropy_plugin.c error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); argv 939 scripts/gcc-plugins/randomize_layout_plugin.c const struct plugin_argument * const argv = plugin_info->argv; argv 960 scripts/gcc-plugins/randomize_layout_plugin.c if (!strcmp(argv[i].key, "disable")) { argv 964 scripts/gcc-plugins/randomize_layout_plugin.c if (!strcmp(argv[i].key, "performance-mode")) { argv 968 scripts/gcc-plugins/randomize_layout_plugin.c error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); argv 94 scripts/gcc-plugins/sancov_plugin.c const struct plugin_argument * const argv = plugin_info->argv; argv 121 scripts/gcc-plugins/sancov_plugin.c if (!strcmp(argv[i].key, "no-sancov")) { argv 125 scripts/gcc-plugins/sancov_plugin.c error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); argv 340 scripts/gcc-plugins/stackleak_plugin.c const struct plugin_argument * const argv = plugin_info->argv; argv 380 scripts/gcc-plugins/stackleak_plugin.c if (!strcmp(argv[i].key, "disable")) argv 383 scripts/gcc-plugins/stackleak_plugin.c if (!strcmp(argv[i].key, "track-min-size")) { argv 384 scripts/gcc-plugins/stackleak_plugin.c if (!argv[i].value) { argv 386 scripts/gcc-plugins/stackleak_plugin.c plugin_name, argv[i].key); argv 390 scripts/gcc-plugins/stackleak_plugin.c track_frame_size = atoi(argv[i].value); argv 393 scripts/gcc-plugins/stackleak_plugin.c plugin_name, argv[i].key, argv[i].value); argv 398 scripts/gcc-plugins/stackleak_plugin.c plugin_name, argv[i].key); argv 221 scripts/gcc-plugins/structleak_plugin.c const struct plugin_argument * const argv = plugin_info->argv; argv 237 scripts/gcc-plugins/structleak_plugin.c if (!strcmp(argv[i].key, "disable")) { argv 241 scripts/gcc-plugins/structleak_plugin.c if (!strcmp(argv[i].key, "verbose")) { argv 245 scripts/gcc-plugins/structleak_plugin.c if (!strcmp(argv[i].key, "byref")) { argv 249 scripts/gcc-plugins/structleak_plugin.c if (!strcmp(argv[i].key, "byref-all")) { argv 253 scripts/gcc-plugins/structleak_plugin.c error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); argv 753 scripts/genksyms/genksyms.c int main(int argc, char **argv) argv 773 scripts/genksyms/genksyms.c while ((o = getopt_long(argc, argv, "s:dwqVDr:T:phR", argv 776 scripts/genksyms/genksyms.c while ((o = getopt(argc, argv, "s:dwqVDr:T:phR")) != EOF) argv 273 scripts/insert-sys-cert.c int main(int argc, char **argv) argv 289 scripts/insert-sys-cert.c while ((opt = getopt(argc, argv, "b:c:s:")) != -1) { argv 306 scripts/insert-sys-cert.c print_usage(argv[0]); argv 351 scripts/insert-sys-cert.c print_usage(argv[0]); argv 743 scripts/kallsyms.c int main(int argc, char **argv) argv 748 scripts/kallsyms.c if(strcmp(argv[i], "--all-symbols") == 0) argv 750 scripts/kallsyms.c else if (strcmp(argv[i], "--absolute-percpu") == 0) argv 752 scripts/kallsyms.c else if (strcmp(argv[i], "--base-relative") == 0) argv 17 scripts/kconfig/preprocess.c static char *expand_string_with_args(const char *in, int argc, char *argv[]); argv 109 scripts/kconfig/preprocess.c char *(*func)(int argc, char *argv[]); argv 112 scripts/kconfig/preprocess.c static char *do_error_if(int argc, char *argv[]) argv 114 scripts/kconfig/preprocess.c if (!strcmp(argv[0], "y")) argv 115 scripts/kconfig/preprocess.c pperror("%s", argv[1]); argv 120 scripts/kconfig/preprocess.c static char *do_filename(int argc, char *argv[]) argv 125 scripts/kconfig/preprocess.c static char *do_info(int argc, char *argv[]) argv 127 scripts/kconfig/preprocess.c printf("%s\n", argv[0]); argv 132 scripts/kconfig/preprocess.c static char *do_lineno(int argc, char *argv[]) argv 141 scripts/kconfig/preprocess.c static char *do_shell(int argc, char *argv[]) argv 149 scripts/kconfig/preprocess.c cmd = argv[0]; argv 181 scripts/kconfig/preprocess.c static char *do_warning_if(int argc, char *argv[]) argv 183 scripts/kconfig/preprocess.c if (!strcmp(argv[0], "y")) argv 185 scripts/kconfig/preprocess.c current_file->name, yylineno, argv[1]); argv 202 scripts/kconfig/preprocess.c static char *function_expand(const char *name, int argc, char *argv[]) argv 220 scripts/kconfig/preprocess.c return f->func(argc, argv); argv 251 scripts/kconfig/preprocess.c static char *variable_expand(const char *name, int argc, char *argv[]) argv 270 scripts/kconfig/preprocess.c res = expand_string_with_args(v->value, argc, argv); argv 346 scripts/kconfig/preprocess.c static char *eval_clause(const char *str, size_t len, int argc, char *argv[]) argv 364 scripts/kconfig/preprocess.c res = xstrdup(argv[n - 1]); argv 407 scripts/kconfig/preprocess.c name = expand_string_with_args(new_argv[0], argc, argv); argv 411 scripts/kconfig/preprocess.c argc, argv); argv 453 scripts/kconfig/preprocess.c static char *expand_dollar_with_args(const char **str, int argc, char *argv[]) argv 487 scripts/kconfig/preprocess.c return eval_clause(p, q - p, argc, argv); argv 496 scripts/kconfig/preprocess.c int argc, char *argv[]) argv 512 scripts/kconfig/preprocess.c expansion = expand_dollar_with_args(&p, argc, argv); argv 549 scripts/kconfig/preprocess.c static char *expand_string_with_args(const char *in, int argc, char *argv[]) argv 551 scripts/kconfig/preprocess.c return __expand_string(&in, is_end_of_str, argc, argv); argv 8 scripts/mod/mk_elfconfig.c main(int argc, char **argv) argv 2560 scripts/mod/modpost.c int main(int argc, char **argv) argv 2572 scripts/mod/modpost.c while ((opt = getopt(argc, argv, "i:I:e:mnsT:o:awEd")) != -1) { argv 2633 scripts/mod/modpost.c read_symbols(argv[optind++]); argv 447 scripts/pnmtologo.c int main(int argc, char *argv[]) argv 451 scripts/pnmtologo.c programname = argv[0]; argv 455 scripts/pnmtologo.c opt = getopt(argc, argv, "hn:o:t:"); argv 493 scripts/pnmtologo.c filename = argv[optind]; argv 618 scripts/recordmcount.c int main(int argc, char *argv[]) argv 626 scripts/recordmcount.c while ((c = getopt(argc, argv, "w")) >= 0) { argv 644 scripts/recordmcount.c char *file = argv[i]; argv 44 scripts/selinux/genheaders/genheaders.c int main(int argc, char *argv[]) argv 50 scripts/selinux/genheaders/genheaders.c progname = argv[0]; argv 55 scripts/selinux/genheaders/genheaders.c fout = fopen(argv[1], "w"); argv 58 scripts/selinux/genheaders/genheaders.c argv[1], strerror(errno)); argv 110 scripts/selinux/genheaders/genheaders.c fout = fopen(argv[2], "w"); argv 113 scripts/selinux/genheaders/genheaders.c argv[2], strerror(errno)); argv 39 scripts/selinux/mdp/mdp.c int main(int argc, char *argv[]) argv 48 scripts/selinux/mdp/mdp.c usage(argv[0]); argv 49 scripts/selinux/mdp/mdp.c arg = argv+1; argv 50 scripts/selinux/mdp/mdp.c if (argc==4 && strcmp(argv[1], "-m") == 0) { argv 60 scripts/selinux/mdp/mdp.c usage(argv[0]); argv 246 scripts/selinux/mdp/mdp.c usage(argv[0]); argv 209 scripts/sign-file.c int main(int argc, char **argv) argv 245 scripts/sign-file.c opt = getopt(argc, argv, "sdpk"); argv 259 scripts/sign-file.c argv += optind; argv 264 scripts/sign-file.c raw_sig_name = argv[0]; argv 265 scripts/sign-file.c hash_algo = argv[1]; argv 267 scripts/sign-file.c hash_algo = argv[0]; argv 268 scripts/sign-file.c private_key_name = argv[1]; argv 270 scripts/sign-file.c x509_name = argv[2]; argv 271 scripts/sign-file.c module_name = argv[3]; argv 272 scripts/sign-file.c if (argc == 5 && strcmp(argv[3], argv[4]) != 0) { argv 273 scripts/sign-file.c dest_name = argv[4]; argv 364 scripts/sortextable.c main(int argc, char *argv[]) argv 376 scripts/sortextable.c char *file = argv[i]; argv 241 scripts/unifdef.c main(int argc, char *argv[]) argv 245 scripts/unifdef.c while ((opt = getopt(argc, argv, "i:D:U:I:o:bBcdeKklnsStV")) != -1) argv 312 scripts/unifdef.c argv += optind; argv 317 scripts/unifdef.c } else if (argc == 1 && strcmp(*argv, "-") != 0) { argv 318 scripts/unifdef.c filename = *argv; argv 96 security/keys/request_key.c static int call_usermodehelper_keys(const char *path, char **argv, char **envp, argv 101 security/keys/request_key.c info = call_usermodehelper_setup(path, argv, envp, GFP_KERNEL, argv 122 security/keys/request_key.c char *argv[9], *envp[3], uid_str[12], gid_str[12]; argv 182 security/keys/request_key.c argv[i++] = (char *)request_key; argv 183 security/keys/request_key.c argv[i++] = (char *)rka->op; argv 184 security/keys/request_key.c argv[i++] = key_str; argv 185 security/keys/request_key.c argv[i++] = uid_str; argv 186 security/keys/request_key.c argv[i++] = gid_str; argv 187 security/keys/request_key.c argv[i++] = keyring_str[0]; argv 188 security/keys/request_key.c argv[i++] = keyring_str[1]; argv 189 security/keys/request_key.c argv[i++] = keyring_str[2]; argv 190 security/keys/request_key.c argv[i] = NULL; argv 193 security/keys/request_key.c ret = call_usermodehelper_keys(request_key, argv, envp, keyring, argv 1254 security/tomoyo/common.c const struct tomoyo_argv *argv = argv 1255 security/tomoyo/common.c (typeof(argv)) (names_p + cond->names_count); argv 1257 security/tomoyo/common.c (typeof(envp)) (argv + cond->argc); argv 1267 security/tomoyo/common.c argv++; argv 1299 security/tomoyo/common.c argv->index, argv->is_not ? "!" : ""); argv 1301 security/tomoyo/common.c argv->value->name); argv 1303 security/tomoyo/common.c argv++; argv 26 security/tomoyo/condition.c const int argc, const struct tomoyo_argv *argv, argv 33 security/tomoyo/condition.c for (i = 0; i < argc; argv++, checked++, i++) { argv 36 security/tomoyo/condition.c if (index != argv->index) argv 40 security/tomoyo/condition.c result = tomoyo_path_matches_pattern(&arg, argv->value); argv 41 security/tomoyo/condition.c if (argv->is_not) argv 106 security/tomoyo/condition.c const u16 argc, const struct tomoyo_argv *argv, argv 161 security/tomoyo/condition.c arg_ptr, argc, argv, argv 201 security/tomoyo/condition.c if (argv[i].is_not) argv 300 security/tomoyo/condition.c struct tomoyo_argv *argv) argv 302 security/tomoyo/condition.c if (tomoyo_parse_ulong(&argv->index, &left) != argv 305 security/tomoyo/condition.c argv->value = tomoyo_get_dqword(right); argv 306 security/tomoyo/condition.c return argv->value != NULL; argv 501 security/tomoyo/condition.c struct tomoyo_argv *argv = NULL; argv 565 security/tomoyo/condition.c if (!argv) { argv 572 security/tomoyo/condition.c argv->is_not = is_not; argv 574 security/tomoyo/condition.c right_word, argv++)) argv 677 security/tomoyo/condition.c argv = (struct tomoyo_argv *) (names_p + e.names_count); argv 678 security/tomoyo/condition.c envp = (struct tomoyo_envp *) (argv + e.argc); argv 774 security/tomoyo/condition.c const struct tomoyo_argv *argv; argv 796 security/tomoyo/condition.c argv = (const struct tomoyo_argv *) (names_p + cond->names_count); argv 797 security/tomoyo/condition.c envp = (const struct tomoyo_envp *) (argv + argc); argv 1120 security/tomoyo/condition.c return tomoyo_scan_bprm(r->ee, argc, argv, envc, envp); argv 293 security/tomoyo/gc.c const struct tomoyo_argv *argv argv 296 security/tomoyo/gc.c = (const struct tomoyo_envp *) (argv + argc); argv 302 security/tomoyo/gc.c for (i = 0; i < argc; argv++, i++) argv 303 security/tomoyo/gc.c tomoyo_put_name(argv->value); argv 88 security/tomoyo/load_policy.c char *argv[2]; argv 101 security/tomoyo/load_policy.c argv[0] = (char *) tomoyo_loader; argv 102 security/tomoyo/load_policy.c argv[1] = NULL; argv 106 security/tomoyo/load_policy.c call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); argv 262 tools/accounting/getdelays.c int main(int argc, char *argv[]) argv 290 tools/accounting/getdelays.c c = getopt(argc, argv, "qdiw:r:m:t:p:vlC:c:"); argv 354 tools/accounting/getdelays.c if (execvp(argv[optind - 1], argv 355 tools/accounting/getdelays.c &argv[optind - 1]) < 0) argv 28 tools/bpf/bpf_asm.c int main(int argc, char **argv) argv 35 tools/bpf/bpf_asm.c if (!strncmp("-c", argv[i], 2)) { argv 40 tools/bpf/bpf_asm.c fp = fopen(argv[i], "r"); argv 1388 tools/bpf/bpf_dbg.c int main(int argc, char **argv) argv 1393 tools/bpf/bpf_dbg.c fin = fopen(argv[1], "r"); argv 1395 tools/bpf/bpf_dbg.c fout = fopen(argv[2], "w"); argv 261 tools/bpf/bpf_jit_disasm.c int main(int argc, char **argv) argv 271 tools/bpf/bpf_jit_disasm.c while ((opt = getopt(argc, argv, "of:O:")) != -1) { argv 391 tools/bpf/bpftool/btf.c static int do_dump(int argc, char **argv) argv 417 tools/bpf/bpftool/btf.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 422 tools/bpf/bpftool/btf.c if (argc && is_prefix(*argv, "key")) { argv 425 tools/bpf/bpftool/btf.c } else if (argc && is_prefix(*argv, "value")) { argv 428 tools/bpf/bpftool/btf.c } else if (argc && is_prefix(*argv, "all")) { argv 430 tools/bpf/bpftool/btf.c } else if (argc && is_prefix(*argv, "kv")) { argv 447 tools/bpf/bpftool/btf.c fd = prog_parse_fd(&argc, &argv); argv 461 tools/bpf/bpftool/btf.c btf_id = strtoul(*argv, &endptr, 0); argv 463 tools/bpf/bpftool/btf.c p_err("can't parse %s as ID", *argv); argv 468 tools/bpf/bpftool/btf.c btf = btf__parse_elf(*argv, NULL); argv 473 tools/bpf/bpftool/btf.c *argv, strerror(err)); argv 484 tools/bpf/bpftool/btf.c if (is_prefix(*argv, "format")) { argv 490 tools/bpf/bpftool/btf.c if (strcmp(*argv, "c") == 0) { argv 492 tools/bpf/bpftool/btf.c } else if (strcmp(*argv, "raw") == 0) { argv 496 tools/bpf/bpftool/btf.c *argv); argv 501 tools/bpf/bpftool/btf.c p_err("unrecognized option: '%s'", *argv); argv 536 tools/bpf/bpftool/btf.c static int btf_parse_fd(int *argc, char ***argv) argv 542 tools/bpf/bpftool/btf.c if (!is_prefix(*argv[0], "id")) { argv 543 tools/bpf/bpftool/btf.c p_err("expected 'id', got: '%s'?", **argv); argv 548 tools/bpf/bpftool/btf.c id = strtoul(**argv, &endptr, 0); argv 550 tools/bpf/bpftool/btf.c p_err("can't parse %s as ID", **argv); argv 783 tools/bpf/bpftool/btf.c static int do_show(int argc, char **argv) argv 791 tools/bpf/bpftool/btf.c fd = btf_parse_fd(&argc, &argv); argv 860 tools/bpf/bpftool/btf.c static int do_help(int argc, char **argv) argv 891 tools/bpf/bpftool/btf.c int do_btf(int argc, char **argv) argv 893 tools/bpf/bpftool/btf.c return cmd_select(cmds, argc, argv, do_help); argv 180 tools/bpf/bpftool/cgroup.c static int do_show(int argc, char **argv) argv 195 tools/bpf/bpftool/cgroup.c if (is_prefix(*argv, "effective")) { argv 197 tools/bpf/bpftool/cgroup.c p_err("duplicated argument: %s", *argv); argv 204 tools/bpf/bpftool/cgroup.c *argv); argv 334 tools/bpf/bpftool/cgroup.c static int do_show_tree(int argc, char **argv) argv 352 tools/bpf/bpftool/cgroup.c if (is_prefix(*argv, "effective")) { argv 354 tools/bpf/bpftool/cgroup.c p_err("duplicated argument: %s", *argv); argv 361 tools/bpf/bpftool/cgroup.c *argv); argv 396 tools/bpf/bpftool/cgroup.c static int do_attach(int argc, char **argv) argv 409 tools/bpf/bpftool/cgroup.c cgroup_fd = open(argv[0], O_RDONLY); argv 411 tools/bpf/bpftool/cgroup.c p_err("can't open cgroup %s", argv[0]); argv 415 tools/bpf/bpftool/cgroup.c attach_type = parse_attach_type(argv[1]); argv 422 tools/bpf/bpftool/cgroup.c argv = &argv[2]; argv 423 tools/bpf/bpftool/cgroup.c prog_fd = prog_parse_fd(&argc, &argv); argv 428 tools/bpf/bpftool/cgroup.c if (is_prefix(argv[i], "multi")) { argv 430 tools/bpf/bpftool/cgroup.c } else if (is_prefix(argv[i], "override")) { argv 433 tools/bpf/bpftool/cgroup.c p_err("unknown option: %s", argv[i]); argv 456 tools/bpf/bpftool/cgroup.c static int do_detach(int argc, char **argv) argv 467 tools/bpf/bpftool/cgroup.c cgroup_fd = open(argv[0], O_RDONLY); argv 469 tools/bpf/bpftool/cgroup.c p_err("can't open cgroup %s", argv[0]); argv 473 tools/bpf/bpftool/cgroup.c attach_type = parse_attach_type(argv[1]); argv 480 tools/bpf/bpftool/cgroup.c argv = &argv[2]; argv 481 tools/bpf/bpftool/cgroup.c prog_fd = prog_parse_fd(&argc, &argv); argv 503 tools/bpf/bpftool/cgroup.c static int do_help(int argc, char **argv) argv 522 tools/bpf/bpftool/cgroup.c bin_name, argv[-2], argv 523 tools/bpf/bpftool/cgroup.c bin_name, argv[-2], bin_name, argv[-2], argv 524 tools/bpf/bpftool/cgroup.c bin_name, argv[-2], bin_name, argv[-2]); argv 539 tools/bpf/bpftool/cgroup.c int do_cgroup(int argc, char **argv) argv 541 tools/bpf/bpftool/cgroup.c return cmd_select(cmds, argc, argv, do_help); argv 214 tools/bpf/bpftool/common.c int do_pin_any(int argc, char **argv, int (*get_fd_by_id)(__u32)) argv 229 tools/bpf/bpftool/common.c if (!is_prefix(*argv, "id")) { argv 230 tools/bpf/bpftool/common.c p_err("expected 'id' got %s", *argv); argv 235 tools/bpf/bpftool/common.c id = strtoul(*argv, &endptr, 0); argv 237 tools/bpf/bpftool/common.c p_err("can't parse %s as ID", *argv); argv 248 tools/bpf/bpftool/common.c err = do_pin_fd(fd, *argv); argv 580 tools/bpf/bpftool/common.c int parse_u32_arg(int *argc, char ***argv, __u32 *val, const char *what) argv 591 tools/bpf/bpftool/common.c *val = strtoul(**argv, &endptr, 0); argv 593 tools/bpf/bpftool/common.c p_err("can't parse %s as %s", **argv, what); argv 575 tools/bpf/bpftool/feature.c static int do_probe(int argc, char **argv) argv 595 tools/bpf/bpftool/feature.c if (is_prefix(*argv, "kernel")) { argv 602 tools/bpf/bpftool/feature.c } else if (is_prefix(*argv, "dev")) { argv 620 tools/bpf/bpftool/feature.c } else if (is_prefix(*argv, "macros") && !define_prefix) { argv 623 tools/bpf/bpftool/feature.c } else if (is_prefix(*argv, "prefix")) { argv 639 tools/bpf/bpftool/feature.c *argv); argv 738 tools/bpf/bpftool/feature.c static int do_help(int argc, char **argv) argv 751 tools/bpf/bpftool/feature.c bin_name, argv[-2], bin_name, argv[-2]); argv 762 tools/bpf/bpftool/feature.c int do_feature(int argc, char **argv) argv 764 tools/bpf/bpftool/feature.c return cmd_select(cmds, argc, argv, do_help); argv 306 tools/bpf/bpftool/json_writer.c int main(int argc, char **argv) argv 321 tools/bpf/bpftool/json_writer.c jsonw_string(wr, *++argv); argv 23 tools/bpf/bpftool/main.c static int (*last_do_help)(int argc, char **argv); argv 49 tools/bpf/bpftool/main.c static int do_help(int argc, char **argv) argv 69 tools/bpf/bpftool/main.c static int do_version(int argc, char **argv) argv 89 tools/bpf/bpftool/main.c int cmd_select(const struct cmd *cmds, int argc, char **argv, argv 90 tools/bpf/bpftool/main.c int (*help)(int argc, char **argv)) argv 95 tools/bpf/bpftool/main.c last_argv = argv; argv 99 tools/bpf/bpftool/main.c return cmds[0].func(argc, argv); argv 102 tools/bpf/bpftool/main.c if (is_prefix(*argv, cmds[i].cmd)) argv 103 tools/bpf/bpftool/main.c return cmds[i].func(argc - 1, argv + 1); argv 105 tools/bpf/bpftool/main.c help(argc - 1, argv + 1); argv 218 tools/bpf/bpftool/main.c static int do_batch(int argc, char **argv); argv 234 tools/bpf/bpftool/main.c static int do_batch(int argc, char **argv) argv 248 tools/bpf/bpftool/main.c } else if (!is_prefix(*argv, "file")) { argv 249 tools/bpf/bpftool/main.c p_err("expected 'file', got: %s", *argv); argv 257 tools/bpf/bpftool/main.c if (!strcmp(*argv, "-")) argv 260 tools/bpf/bpftool/main.c fp = fopen(*argv, "r"); argv 262 tools/bpf/bpftool/main.c p_err("Can't open file (%s): %s", *argv, strerror(errno)); argv 348 tools/bpf/bpftool/main.c int main(int argc, char **argv) argv 368 tools/bpf/bpftool/main.c bin_name = argv[0]; argv 374 tools/bpf/bpftool/main.c while ((opt = getopt_long(argc, argv, "Vhpjfmnd", argv 378 tools/bpf/bpftool/main.c return do_version(argc, argv); argv 380 tools/bpf/bpftool/main.c return do_help(argc, argv); argv 409 tools/bpf/bpftool/main.c p_err("unrecognized option '%s'", argv[optind - 1]); argv 418 tools/bpf/bpftool/main.c argv += optind; argv 422 tools/bpf/bpftool/main.c ret = cmd_select(cmds, argc, argv, do_help); argv 21 tools/bpf/bpftool/main.h #define NEXT_ARG() ({ argc--; argv++; if (argc < 0) usage(); }) argv 22 tools/bpf/bpftool/main.h #define NEXT_ARGP() ({ (*argc)--; (*argv)++; if (*argc < 0) usage(); }) argv 23 tools/bpf/bpftool/main.h #define BAD_ARG() ({ p_err("what is '%s'?", *argv); -1; }) argv 24 tools/bpf/bpftool/main.h #define GET_ARG() ({ argc--; *argv++; }) argv 32 tools/bpf/bpftool/main.h argv[-1], _cnt, argc); \ argv 134 tools/bpf/bpftool/main.h int (*func)(int argc, char **argv); argv 137 tools/bpf/bpftool/main.h int cmd_select(const struct cmd *cmds, int argc, char **argv, argv 138 tools/bpf/bpftool/main.h int (*help)(int argc, char **argv)); argv 146 tools/bpf/bpftool/main.h int do_pin_any(int argc, char **argv, int (*get_fd_by_id)(__u32)); argv 151 tools/bpf/bpftool/main.h int do_event_pipe(int argc, char **argv); argv 156 tools/bpf/bpftool/main.h int do_feature(int argc, char **argv); argv 157 tools/bpf/bpftool/main.h int do_btf(int argc, char **argv); argv 159 tools/bpf/bpftool/main.h int parse_u32_arg(int *argc, char ***argv, __u32 *val, const char *what); argv 160 tools/bpf/bpftool/main.h int prog_parse_fd(int *argc, char ***argv); argv 161 tools/bpf/bpftool/main.h int map_parse_fd(int *argc, char ***argv); argv 162 tools/bpf/bpftool/main.h int map_parse_fd_and_info(int *argc, char ***argv, void *info, __u32 *info_len); argv 94 tools/bpf/bpftool/map.c int map_parse_fd(int *argc, char ***argv) argv 98 tools/bpf/bpftool/map.c if (is_prefix(**argv, "id")) { argv 104 tools/bpf/bpftool/map.c id = strtoul(**argv, &endptr, 0); argv 106 tools/bpf/bpftool/map.c p_err("can't parse %s as ID", **argv); argv 115 tools/bpf/bpftool/map.c } else if (is_prefix(**argv, "pinned")) { argv 120 tools/bpf/bpftool/map.c path = **argv; argv 126 tools/bpf/bpftool/map.c p_err("expected 'id' or 'pinned', got: '%s'?", **argv); argv 130 tools/bpf/bpftool/map.c int map_parse_fd_and_info(int *argc, char ***argv, void *info, __u32 *info_len) argv 135 tools/bpf/bpftool/map.c fd = map_parse_fd(argc, argv); argv 330 tools/bpf/bpftool/map.c static char **parse_bytes(char **argv, const char *name, unsigned char *val, argv 336 tools/bpf/bpftool/map.c if (is_prefix(*argv, "hex")) { argv 338 tools/bpf/bpftool/map.c argv++; argv 341 tools/bpf/bpftool/map.c while (i < n && argv[i]) { argv 342 tools/bpf/bpftool/map.c val[i] = strtoul(argv[i], &endptr, base); argv 344 tools/bpf/bpftool/map.c p_err("error parsing byte: %s", argv[i]); argv 355 tools/bpf/bpftool/map.c return argv + i; argv 372 tools/bpf/bpftool/map.c static int parse_elem(char **argv, struct bpf_map_info *info, argv 376 tools/bpf/bpftool/map.c if (!*argv) { argv 383 tools/bpf/bpftool/map.c if (is_prefix(*argv, "key")) { argv 392 tools/bpf/bpftool/map.c argv = parse_bytes(argv + 1, "key", key, key_size); argv 393 tools/bpf/bpftool/map.c if (!argv) argv 396 tools/bpf/bpftool/map.c return parse_elem(argv, info, NULL, value, key_size, value_size, argv 398 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "value")) { argv 409 tools/bpf/bpftool/map.c argv++; argv 418 tools/bpf/bpftool/map.c if (!argv[0] || !argv[1]) { argv 423 tools/bpf/bpftool/map.c fd = map_parse_fd(&argc, &argv); argv 436 tools/bpf/bpftool/map.c if (!argv[0] || !argv[1]) { argv 440 tools/bpf/bpftool/map.c if (is_prefix(*argv, "id")) argv 444 tools/bpf/bpftool/map.c fd = prog_parse_fd(&argc, &argv); argv 451 tools/bpf/bpftool/map.c argv = parse_bytes(argv, "value", value, value_size); argv 452 tools/bpf/bpftool/map.c if (!argv) argv 458 tools/bpf/bpftool/map.c return parse_elem(argv, info, key, NULL, key_size, value_size, argv 460 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "any") || is_prefix(*argv, "noexist") || argv 461 tools/bpf/bpftool/map.c is_prefix(*argv, "exist")) { argv 463 tools/bpf/bpftool/map.c p_err("flags specified multiple times: %s", *argv); argv 467 tools/bpf/bpftool/map.c if (is_prefix(*argv, "any")) argv 469 tools/bpf/bpftool/map.c else if (is_prefix(*argv, "noexist")) argv 471 tools/bpf/bpftool/map.c else if (is_prefix(*argv, "exist")) argv 474 tools/bpf/bpftool/map.c return parse_elem(argv + 1, info, key, value, key_size, argv 478 tools/bpf/bpftool/map.c p_err("expected key or value, got: %s", *argv); argv 645 tools/bpf/bpftool/map.c static int do_show(int argc, char **argv) argv 657 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 768 tools/bpf/bpftool/map.c static int do_dump(int argc, char **argv) argv 782 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 876 tools/bpf/bpftool/map.c static int do_update(int argc, char **argv) argv 888 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 896 tools/bpf/bpftool/map.c err = parse_elem(argv, &info, key, value, info.key_size, argv 960 tools/bpf/bpftool/map.c static int do_lookup(int argc, char **argv) argv 971 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 979 tools/bpf/bpftool/map.c err = parse_elem(argv, &info, key, NULL, info.key_size, 0, NULL, NULL); argv 1011 tools/bpf/bpftool/map.c static int do_getnext(int argc, char **argv) argv 1022 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 1035 tools/bpf/bpftool/map.c err = parse_elem(argv, &info, key, NULL, info.key_size, 0, argv 1082 tools/bpf/bpftool/map.c static int do_delete(int argc, char **argv) argv 1093 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 1104 tools/bpf/bpftool/map.c err = parse_elem(argv, &info, key, NULL, info.key_size, 0, NULL, NULL); argv 1121 tools/bpf/bpftool/map.c static int do_pin(int argc, char **argv) argv 1125 tools/bpf/bpftool/map.c err = do_pin_any(argc, argv, bpf_map_get_fd_by_id); argv 1131 tools/bpf/bpftool/map.c static int do_create(int argc, char **argv) argv 1145 tools/bpf/bpftool/map.c if (is_prefix(*argv, "type")) { argv 1153 tools/bpf/bpftool/map.c attr.map_type = map_type_from_str(*argv); argv 1155 tools/bpf/bpftool/map.c p_err("unrecognized map type: %s", *argv); argv 1159 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "name")) { argv 1162 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "key")) { argv 1163 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.key_size, argv 1166 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "value")) { argv 1167 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.value_size, argv 1170 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "entries")) { argv 1171 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.max_entries, argv 1174 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "flags")) { argv 1175 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.map_flags, argv 1178 tools/bpf/bpftool/map.c } else if (is_prefix(*argv, "dev")) { argv 1186 tools/bpf/bpftool/map.c attr.map_ifindex = if_nametoindex(*argv); argv 1189 tools/bpf/bpftool/map.c *argv, strerror(errno)); argv 1194 tools/bpf/bpftool/map.c p_err("unknown arg %s", *argv); argv 1222 tools/bpf/bpftool/map.c static int do_pop_dequeue(int argc, char **argv) argv 1233 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argv 1265 tools/bpf/bpftool/map.c static int do_freeze(int argc, char **argv) argv 1272 tools/bpf/bpftool/map.c fd = map_parse_fd(&argc, &argv); argv 1294 tools/bpf/bpftool/map.c static int do_help(int argc, char **argv) argv 1333 tools/bpf/bpftool/map.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1334 tools/bpf/bpftool/map.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1335 tools/bpf/bpftool/map.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1336 tools/bpf/bpftool/map.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1337 tools/bpf/bpftool/map.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1338 tools/bpf/bpftool/map.c bin_name, argv[-2]); argv 1364 tools/bpf/bpftool/map.c int do_map(int argc, char **argv) argv 1366 tools/bpf/bpftool/map.c return cmd_select(cmds, argc, argv, do_help); argv 118 tools/bpf/bpftool/map_perf_ring.c int do_event_pipe(int argc, char **argv) argv 139 tools/bpf/bpftool/map_perf_ring.c map_fd = map_parse_fd_and_info(&argc, &argv, &map_info, &map_info_len); argv 154 tools/bpf/bpftool/map_perf_ring.c if (is_prefix(*argv, "cpu")) { argv 158 tools/bpf/bpftool/map_perf_ring.c ctx.cpu = strtoul(*argv, &endptr, 0); argv 160 tools/bpf/bpftool/map_perf_ring.c p_err("can't parse %s as CPU ID", *argv); argv 165 tools/bpf/bpftool/map_perf_ring.c } else if (is_prefix(*argv, "index")) { argv 169 tools/bpf/bpftool/map_perf_ring.c ctx.idx = strtoul(*argv, &endptr, 0); argv 171 tools/bpf/bpftool/map_perf_ring.c p_err("can't parse %s as index", *argv); argv 255 tools/bpf/bpftool/net.c static int net_parse_dev(int *argc, char ***argv) argv 259 tools/bpf/bpftool/net.c if (is_prefix(**argv, "dev")) { argv 262 tools/bpf/bpftool/net.c ifindex = if_nametoindex(**argv); argv 264 tools/bpf/bpftool/net.c p_err("invalid devname %s", **argv); argv 268 tools/bpf/bpftool/net.c p_err("expected 'dev', got: '%s'?", **argv); argv 292 tools/bpf/bpftool/net.c static int do_attach(int argc, char **argv) argv 302 tools/bpf/bpftool/net.c attach_type = parse_attach_type(*argv); argv 304 tools/bpf/bpftool/net.c p_err("invalid net attach/detach type: %s", *argv); argv 309 tools/bpf/bpftool/net.c progfd = prog_parse_fd(&argc, &argv); argv 313 tools/bpf/bpftool/net.c ifindex = net_parse_dev(&argc, &argv); argv 320 tools/bpf/bpftool/net.c if (is_prefix(*argv, "overwrite")) { argv 323 tools/bpf/bpftool/net.c p_err("expected 'overwrite', got: '%s'?", *argv); argv 346 tools/bpf/bpftool/net.c static int do_detach(int argc, char **argv) argv 355 tools/bpf/bpftool/net.c attach_type = parse_attach_type(*argv); argv 357 tools/bpf/bpftool/net.c p_err("invalid net attach/detach type: %s", *argv); argv 362 tools/bpf/bpftool/net.c ifindex = net_parse_dev(&argc, &argv); argv 383 tools/bpf/bpftool/net.c static int do_show(int argc, char **argv) argv 392 tools/bpf/bpftool/net.c filter_idx = net_parse_dev(&argc, &argv); argv 452 tools/bpf/bpftool/net.c static int do_help(int argc, char **argv) argv 473 tools/bpf/bpftool/net.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 474 tools/bpf/bpftool/net.c bin_name, argv[-2]); argv 488 tools/bpf/bpftool/net.c int do_net(int argc, char **argv) argv 490 tools/bpf/bpftool/net.c return cmd_select(cmds, argc, argv, do_help); argv 211 tools/bpf/bpftool/perf.c static int do_show(int argc, char **argv) argv 231 tools/bpf/bpftool/perf.c static int do_help(int argc, char **argv) argv 236 tools/bpf/bpftool/perf.c bin_name, argv[-2]); argv 248 tools/bpf/bpftool/perf.c int do_perf(int argc, char **argv) argv 250 tools/bpf/bpftool/perf.c return cmd_select(cmds, argc, argv, do_help); argv 118 tools/bpf/bpftool/prog.c int prog_parse_fd(int *argc, char ***argv) argv 122 tools/bpf/bpftool/prog.c if (is_prefix(**argv, "id")) { argv 128 tools/bpf/bpftool/prog.c id = strtoul(**argv, &endptr, 0); argv 130 tools/bpf/bpftool/prog.c p_err("can't parse %s as ID", **argv); argv 139 tools/bpf/bpftool/prog.c } else if (is_prefix(**argv, "tag")) { argv 144 tools/bpf/bpftool/prog.c if (sscanf(**argv, BPF_TAG_FMT, tag, tag + 1, tag + 2, argv 153 tools/bpf/bpftool/prog.c } else if (is_prefix(**argv, "pinned")) { argv 158 tools/bpf/bpftool/prog.c path = **argv; argv 164 tools/bpf/bpftool/prog.c p_err("expected 'id', 'tag' or 'pinned', got: '%s'?", **argv); argv 352 tools/bpf/bpftool/prog.c static int do_show(int argc, char **argv) argv 362 tools/bpf/bpftool/prog.c fd = prog_parse_fd(&argc, &argv); argv 411 tools/bpf/bpftool/prog.c static int do_dump(int argc, char **argv) argv 432 tools/bpf/bpftool/prog.c if (is_prefix(*argv, "jited")) { argv 436 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "xlated")) { argv 439 tools/bpf/bpftool/prog.c p_err("expected 'xlated' or 'jited', got: %s", *argv); argv 447 tools/bpf/bpftool/prog.c fd = prog_parse_fd(&argc, &argv); argv 451 tools/bpf/bpftool/prog.c if (is_prefix(*argv, "file")) { argv 458 tools/bpf/bpftool/prog.c filepath = *argv; argv 460 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "opcodes")) { argv 463 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "visual")) { argv 466 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "linum")) { argv 654 tools/bpf/bpftool/prog.c static int do_pin(int argc, char **argv) argv 658 tools/bpf/bpftool/prog.c err = do_pin_any(argc, argv, bpf_prog_get_fd_by_id); argv 677 tools/bpf/bpftool/prog.c static int parse_attach_detach_args(int argc, char **argv, int *progfd, argv 684 tools/bpf/bpftool/prog.c *progfd = prog_parse_fd(&argc, &argv); argv 688 tools/bpf/bpftool/prog.c *attach_type = parse_attach_type(*argv); argv 703 tools/bpf/bpftool/prog.c *mapfd = map_parse_fd(&argc, &argv); argv 710 tools/bpf/bpftool/prog.c static int do_attach(int argc, char **argv) argv 716 tools/bpf/bpftool/prog.c err = parse_attach_detach_args(argc, argv, argv 732 tools/bpf/bpftool/prog.c static int do_detach(int argc, char **argv) argv 738 tools/bpf/bpftool/prog.c err = parse_attach_detach_args(argc, argv, argv 913 tools/bpf/bpftool/prog.c static int do_run(int argc, char **argv) argv 927 tools/bpf/bpftool/prog.c fd = prog_parse_fd(&argc, &argv); argv 932 tools/bpf/bpftool/prog.c if (detect_common_prefix(*argv, "data_in", "data_out", argv 935 tools/bpf/bpftool/prog.c if (detect_common_prefix(*argv, "ctx_in", "ctx_out", argv 939 tools/bpf/bpftool/prog.c if (is_prefix(*argv, "data_in")) { argv 947 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "data_out")) { argv 953 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "data_size_out")) { argv 960 tools/bpf/bpftool/prog.c test_attr.data_size_out = strtoul(*argv, &endptr, 0); argv 963 tools/bpf/bpftool/prog.c *argv); argv 967 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "ctx_in")) { argv 975 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "ctx_out")) { argv 981 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "ctx_size_out")) { argv 988 tools/bpf/bpftool/prog.c test_attr.ctx_size_out = strtoul(*argv, &endptr, 0); argv 991 tools/bpf/bpftool/prog.c *argv); argv 995 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "repeat")) { argv 1002 tools/bpf/bpftool/prog.c repeat = strtoul(*argv, &endptr, 0); argv 1005 tools/bpf/bpftool/prog.c *argv); argv 1011 tools/bpf/bpftool/prog.c *argv); argv 1092 tools/bpf/bpftool/prog.c static int load_with_options(int argc, char **argv, bool first_prog_only) argv 1116 tools/bpf/bpftool/prog.c if (is_prefix(*argv, "type")) { argv 1129 tools/bpf/bpftool/prog.c type = malloc(strlen(*argv) + 2); argv 1135 tools/bpf/bpftool/prog.c strcat(type, *argv); argv 1146 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "map")) { argv 1156 tools/bpf/bpftool/prog.c if (is_prefix(*argv, "idx")) { argv 1159 tools/bpf/bpftool/prog.c idx = strtoul(*argv, &endptr, 0); argv 1161 tools/bpf/bpftool/prog.c p_err("can't parse %s as IDX", *argv); argv 1165 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "name")) { argv 1168 tools/bpf/bpftool/prog.c name = *argv; argv 1172 tools/bpf/bpftool/prog.c *argv); argv 1177 tools/bpf/bpftool/prog.c fd = map_parse_fd(&argc, &argv); argv 1194 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "dev")) { argv 1204 tools/bpf/bpftool/prog.c ifindex = if_nametoindex(*argv); argv 1207 tools/bpf/bpftool/prog.c *argv, strerror(errno)); argv 1211 tools/bpf/bpftool/prog.c } else if (is_prefix(*argv, "pinmaps")) { argv 1220 tools/bpf/bpftool/prog.c *argv); argv 1374 tools/bpf/bpftool/prog.c static int do_load(int argc, char **argv) argv 1376 tools/bpf/bpftool/prog.c return load_with_options(argc, argv, true); argv 1379 tools/bpf/bpftool/prog.c static int do_loadall(int argc, char **argv) argv 1381 tools/bpf/bpftool/prog.c return load_with_options(argc, argv, false); argv 1384 tools/bpf/bpftool/prog.c static int do_help(int argc, char **argv) argv 1426 tools/bpf/bpftool/prog.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1427 tools/bpf/bpftool/prog.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1428 tools/bpf/bpftool/prog.c bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], argv 1429 tools/bpf/bpftool/prog.c bin_name, argv[-2]); argv 1449 tools/bpf/bpftool/prog.c int do_prog(int argc, char **argv) argv 1451 tools/bpf/bpftool/prog.c return cmd_select(cmds, argc, argv, do_help); argv 125 tools/bpf/bpftool/tracelog.c int do_tracelog(int argc, char **argv) argv 193 tools/build/feature/test-all.c int main(int argc, char *argv[]) argv 213 tools/build/feature/test-all.c main_test_gtk2(argc, argv); argv 214 tools/build/feature/test-all.c main_test_gtk2_infobar(argc, argv); argv 222 tools/build/feature/test-all.c main_test_sync_compare_and_swap(argc, argv); argv 6 tools/build/feature/test-gtk2-infobar.c int main(int argc, char *argv[]) argv 8 tools/build/feature/test-gtk2-infobar.c gtk_init(&argc, &argv); argv 6 tools/build/feature/test-gtk2.c int main(int argc, char *argv[]) argv 8 tools/build/feature/test-gtk2.c gtk_init(&argc, &argv); argv 6 tools/build/feature/test-sync-compare-and-swap.c int main(int argc, char *argv[]) argv 10 tools/build/feature/test-sync-compare-and-swap.c argv = argv; argv 157 tools/build/fixdep.c int main(int argc, char **argv) argv 162 tools/build/fixdep.c depfile = argv[1]; argv 163 tools/build/fixdep.c target = argv[2]; argv 164 tools/build/fixdep.c cmdline = argv[3]; argv 22 tools/cgroup/cgroup_event_listener.c int main(int argc, char **argv) argv 34 tools/cgroup/cgroup_event_listener.c cfd = open(argv[1], O_RDONLY); argv 36 tools/cgroup/cgroup_event_listener.c err(1, "Cannot open %s", argv[1]); argv 39 tools/cgroup/cgroup_event_listener.c dirname(argv[1])); argv 51 tools/cgroup/cgroup_event_listener.c ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); argv 79 tools/cgroup/cgroup_event_listener.c printf("%s %s: crossed\n", argv[1], argv[2]); argv 895 tools/firewire/nosy-dump.c int main(int argc, const char *argv[]) argv 908 tools/firewire/nosy-dump.c con = poptGetContext(NULL, argc, argv, options, 0); argv 72 tools/firmware/ihex2fw.c int main(int argc, char **argv) argv 79 tools/firmware/ihex2fw.c while ((opt = getopt(argc, argv, "wsj")) != -1) { argv 98 tools/firmware/ihex2fw.c if (!strcmp(argv[optind], "-")) argv 101 tools/firmware/ihex2fw.c infd = open(argv[optind], O_RDONLY); argv 117 tools/firmware/ihex2fw.c if (!strcmp(argv[optind+1], "-")) argv 120 tools/firmware/ihex2fw.c outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); argv 142 tools/gpio/gpio-event-mon.c int main(int argc, char **argv) argv 151 tools/gpio/gpio-event-mon.c while ((c = getopt(argc, argv, "c:n:o:dsrf?")) != -1) { argv 119 tools/gpio/gpio-hammer.c int main(int argc, char **argv) argv 129 tools/gpio/gpio-hammer.c while ((c = getopt(argc, argv, "c:n:o:?")) != -1) { argv 145 tools/gpio/lsgpio.c int main(int argc, char **argv) argv 151 tools/gpio/lsgpio.c while ((c = getopt(argc, argv, "n:")) != -1) { argv 124 tools/hv/hv_fcopy_daemon.c void print_usage(char *argv[]) argv 129 tools/hv/hv_fcopy_daemon.c " -h, --help print this help\n", argv[0]); argv 132 tools/hv/hv_fcopy_daemon.c int main(int argc, char *argv[]) argv 152 tools/hv/hv_fcopy_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, argv 160 tools/hv/hv_fcopy_daemon.c print_usage(argv); argv 1353 tools/hv/hv_kvp_daemon.c void print_usage(char *argv[]) argv 1358 tools/hv/hv_kvp_daemon.c " -h, --help print this help\n", argv[0]); argv 1361 tools/hv/hv_kvp_daemon.c int main(int argc, char *argv[]) argv 1382 tools/hv/hv_kvp_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, argv 1389 tools/hv/hv_kvp_daemon.c print_usage(argv); argv 1392 tools/hv/hv_kvp_daemon.c print_usage(argv); argv 189 tools/hv/hv_vss_daemon.c void print_usage(char *argv[]) argv 194 tools/hv/hv_vss_daemon.c " -h, --help print this help\n", argv[0]); argv 197 tools/hv/hv_vss_daemon.c int main(int argc, char *argv[]) argv 214 tools/hv/hv_vss_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, argv 221 tools/hv/hv_vss_daemon.c print_usage(argv); argv 224 tools/hv/hv_vss_daemon.c print_usage(argv); argv 281 tools/iio/iio_event_monitor.c int main(int argc, char **argv) argv 291 tools/iio/iio_event_monitor.c fprintf(stderr, "Usage: %s <device_name>\n", argv[0]); argv 295 tools/iio/iio_event_monitor.c device_name = argv[1]; argv 327 tools/iio/iio_generic_buffer.c int main(int argc, char **argv) argv 356 tools/iio/iio_generic_buffer.c while ((c = getopt_long(argc, argv, "aAc:egl:n:N:t:T:w:?", longopts, argv 164 tools/iio/lsiio.c int main(int argc, char **argv) argv 168 tools/iio/lsiio.c while ((c = getopt(argc, argv, "v")) != EOF) { argv 11 tools/include/linux/string.h void argv_free(char **argv); argv 1512 tools/include/nolibc/nolibc.h int sys_execve(const char *filename, char *const argv[], char *const envp[]) argv 1514 tools/include/nolibc/nolibc.h return my_syscall3(__NR_execve, filename, argv, envp); argv 1868 tools/include/nolibc/nolibc.h int execve(const char *filename, char *const argv[], char *const envp[]) argv 1870 tools/include/nolibc/nolibc.h int ret = sys_execve(filename, argv, envp); argv 480 tools/io_uring/io_uring-bench.c int main(int argc, char *argv[]) argv 489 tools/io_uring/io_uring-bench.c printf("%s: filename\n", argv[0]); argv 505 tools/io_uring/io_uring-bench.c fd = open(argv[i], flags); argv 523 tools/io_uring/io_uring-bench.c printf("Added file %s\n", argv[i]); argv 227 tools/io_uring/io_uring-cp.c int main(int argc, char *argv[]) argv 234 tools/io_uring/io_uring-cp.c printf("%s: infile outfile\n", argv[0]); argv 238 tools/io_uring/io_uring-cp.c infd = open(argv[1], O_RDONLY); argv 243 tools/io_uring/io_uring-cp.c outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); argv 132 tools/laptop/dslm/dslm.c int main(int argc, char **argv) argv 140 tools/laptop/dslm/dslm.c disk = argv[1]; argv 142 tools/laptop/dslm/dslm.c settle_time = atoi(argv[2]); argv 143 tools/laptop/dslm/dslm.c disk = argv[3]; argv 106 tools/laptop/freefall/freefall.c int main(int argc, char **argv) argv 115 tools/laptop/freefall/freefall.c ret = set_unload_heads_path(argv[1]); argv 121 tools/laptop/freefall/freefall.c argv[0]); argv 26 tools/leds/led_hw_brightness_mon.c int main(int argc, char const *argv[]) argv 40 tools/leds/led_hw_brightness_mon.c "/sys/class/leds/%s/brightness_hw_changed", argv[1]); argv 22 tools/leds/uledmon.c int main(int argc, char const *argv[]) argv 34 tools/leds/uledmon.c strncpy(uleds_dev.name, argv[1], LED_MAX_NAME_SIZE); argv 40 tools/lib/argv_split.c void argv_free(char **argv) argv 43 tools/lib/argv_split.c for (p = argv; *p; p++) { argv 48 tools/lib/argv_split.c free(argv); argv 66 tools/lib/argv_split.c char **argv = calloc(argc + 1, sizeof(*argv)); argv 69 tools/lib/argv_split.c if (argv == NULL) argv 75 tools/lib/argv_split.c argvp = argv; argv 95 tools/lib/argv_split.c return argv; argv 98 tools/lib/argv_split.c argv_free(argv); argv 8 tools/lib/bpf/test_libbpf.cpp int main(int argc, char *argv[]) argv 160 tools/lib/subcmd/exec-cmd.c static const char **prepare_exec_cmd(const char **argv) argv 165 tools/lib/subcmd/exec-cmd.c for (argc = 0; argv[argc]; argc++) argv 170 tools/lib/subcmd/exec-cmd.c for (argc = 0; argv[argc]; argc++) argv 171 tools/lib/subcmd/exec-cmd.c nargv[argc + 1] = argv[argc]; argv 176 tools/lib/subcmd/exec-cmd.c int execv_cmd(const char **argv) { argv 177 tools/lib/subcmd/exec-cmd.c const char **nargv = prepare_exec_cmd(argv); argv 190 tools/lib/subcmd/exec-cmd.c const char *argv[MAX_ARGS + 1]; argv 195 tools/lib/subcmd/exec-cmd.c argv[0] = cmd; argv 198 tools/lib/subcmd/exec-cmd.c arg = argv[argc++] = va_arg(param, char *); argv 208 tools/lib/subcmd/exec-cmd.c argv[argc] = NULL; argv 209 tools/lib/subcmd/exec-cmd.c return execv_cmd(argv); argv 11 tools/lib/subcmd/exec-cmd.h extern int execv_cmd(const char **argv); /* NULL terminated */ argv 97 tools/lib/subcmd/pager.c pager_process.argv = pager_argv; argv 57 tools/lib/subcmd/parse-options.c **(p->argv + 1) == '-')) { argv 61 tools/lib/subcmd/parse-options.c res = *++p->argv; argv 494 tools/lib/subcmd/parse-options.c int argc, const char **argv, int flags) argv 498 tools/lib/subcmd/parse-options.c ctx->argv = argv + 1; argv 499 tools/lib/subcmd/parse-options.c ctx->out = argv; argv 522 tools/lib/subcmd/parse-options.c for (; ctx->argc; ctx->argc--, ctx->argv++) { argv 523 tools/lib/subcmd/parse-options.c arg = ctx->argv[0]; argv 527 tools/lib/subcmd/parse-options.c ctx->out[ctx->cpidx++] = ctx->argv[0]; argv 561 tools/lib/subcmd/parse-options.c ctx->argv[0] = strdup(ctx->opt - 1); argv 562 tools/lib/subcmd/parse-options.c *(char *)ctx->argv[0] = '-'; argv 576 tools/lib/subcmd/parse-options.c ctx->argv++; argv 605 tools/lib/subcmd/parse-options.c ctx->out[ctx->cpidx++] = ctx->argv[0]; argv 624 tools/lib/subcmd/parse-options.c memmove(ctx->out + ctx->cpidx, ctx->argv, ctx->argc * sizeof(*ctx->out)); argv 629 tools/lib/subcmd/parse-options.c int parse_options_subcommand(int argc, const char **argv, const struct option *options, argv 638 tools/lib/subcmd/parse-options.c astrcatf(&buf, "%s %s [<options>] {", subcmd_config.exec_name, argv[0]); argv 650 tools/lib/subcmd/parse-options.c parse_options_start(&ctx, argc, argv, flags); argv 672 tools/lib/subcmd/parse-options.c if (ctx.argv[0][1] == '-') argv 674 tools/lib/subcmd/parse-options.c ctx.argv[0] + 2); argv 683 tools/lib/subcmd/parse-options.c int parse_options(int argc, const char **argv, const struct option *options, argv 686 tools/lib/subcmd/parse-options.c return parse_options_subcommand(argc, argv, options, NULL, argv 829 tools/lib/subcmd/parse-options.c const char *arg = ctx->argv[i]; argv 174 tools/lib/subcmd/parse-options.h extern int parse_options(int argc, const char **argv, argv 178 tools/lib/subcmd/parse-options.h extern int parse_options_subcommand(int argc, const char **argv, argv 206 tools/lib/subcmd/parse-options.h const char **argv; argv 113 tools/lib/subcmd/run-command.c die("exec %s: cd to %s failed (%s)", cmd->argv[0], argv 126 tools/lib/subcmd/run-command.c execv_cmd(cmd->argv); argv 128 tools/lib/subcmd/run-command.c execvp(cmd->argv[0], (char *const*) cmd->argv); argv 214 tools/lib/subcmd/run-command.c const char **argv, argv 218 tools/lib/subcmd/run-command.c cmd->argv = argv; argv 224 tools/lib/subcmd/run-command.c int run_command_v_opt(const char **argv, int opt) argv 227 tools/lib/subcmd/run-command.c prepare_run_command_v_opt(&cmd, argv, opt); argv 19 tools/lib/subcmd/run-command.h const char **argv; argv 59 tools/lib/subcmd/run-command.h int run_command_v_opt(const char **argv, int opt); argv 37 tools/objtool/builtin-check.c int cmd_check(int argc, const char **argv) argv 41 tools/objtool/builtin-check.c argc = parse_options(argc, argv, check_options, check_usage, 0); argv 46 tools/objtool/builtin-check.c objname = argv[0]; argv 26 tools/objtool/builtin-orc.c int cmd_orc(int argc, const char **argv) argv 30 tools/objtool/builtin-orc.c argc--; argv++; argv 34 tools/objtool/builtin-orc.c if (!strncmp(argv[0], "gen", 3)) { argv 35 tools/objtool/builtin-orc.c argc = parse_options(argc, argv, check_options, orc_usage, 0); argv 39 tools/objtool/builtin-orc.c objname = argv[0]; argv 44 tools/objtool/builtin-orc.c if (!strcmp(argv[0], "dump")) { argv 48 tools/objtool/builtin-orc.c objname = argv[1]; argv 13 tools/objtool/builtin.h extern int cmd_check(int argc, const char **argv); argv 14 tools/objtool/builtin.h extern int cmd_orc(int argc, const char **argv); argv 64 tools/objtool/objtool.c static void handle_options(int *argc, const char ***argv) argv 67 tools/objtool/objtool.c const char *cmd = (*argv)[0]; argv 80 tools/objtool/objtool.c (*argv)++; argv 85 tools/objtool/objtool.c static void handle_internal_command(int argc, const char **argv) argv 87 tools/objtool/objtool.c const char *cmd = argv[0]; argv 96 tools/objtool/objtool.c ret = p->fn(argc, argv); argv 104 tools/objtool/objtool.c int main(int argc, const char **argv) argv 112 tools/objtool/objtool.c argv++; argv 114 tools/objtool/objtool.c handle_options(&argc, &argv); argv 119 tools/objtool/objtool.c handle_internal_command(argc, argv); argv 136 tools/pci/pcitest.c int main(int argc, char **argv) argv 156 tools/pci/pcitest.c while ((c = getopt(argc, argv, "D:b:m:x:i:Ilhrwcs:")) != EOF) argv 218 tools/pci/pcitest.c argv[0]); argv 24 tools/pcmcia/crc32hash.c int main(int argc, char **argv) { argv 30 tools/pcmcia/crc32hash.c result = crc32((unsigned char const *)argv[1], strlen(argv[1])); argv 187 tools/perf/arch/powerpc/util/kvm-stat.c int kvm_add_default_arch_event(int *argc, const char **argv) argv 203 tools/perf/arch/powerpc/util/kvm-stat.c tmp[i] = argv[i]; argv 208 tools/perf/arch/powerpc/util/kvm-stat.c argv[j++] = strdup("-e"); argv 209 tools/perf/arch/powerpc/util/kvm-stat.c argv[j++] = strdup("trace_imc/trace_cycles/"); argv 29 tools/perf/bench/bench.h int bench_numa(int argc, const char **argv); argv 30 tools/perf/bench/bench.h int bench_sched_messaging(int argc, const char **argv); argv 31 tools/perf/bench/bench.h int bench_sched_pipe(int argc, const char **argv); argv 32 tools/perf/bench/bench.h int bench_mem_memcpy(int argc, const char **argv); argv 33 tools/perf/bench/bench.h int bench_mem_memset(int argc, const char **argv); argv 34 tools/perf/bench/bench.h int bench_futex_hash(int argc, const char **argv); argv 35 tools/perf/bench/bench.h int bench_futex_wake(int argc, const char **argv); argv 36 tools/perf/bench/bench.h int bench_futex_wake_parallel(int argc, const char **argv); argv 37 tools/perf/bench/bench.h int bench_futex_requeue(int argc, const char **argv); argv 39 tools/perf/bench/bench.h int bench_futex_lock_pi(int argc, const char **argv); argv 41 tools/perf/bench/bench.h int bench_epoll_wait(int argc, const char **argv); argv 42 tools/perf/bench/bench.h int bench_epoll_ctl(int argc, const char **argv); argv 301 tools/perf/bench/epoll-ctl.c int bench_epoll_ctl(int argc, const char **argv) argv 310 tools/perf/bench/epoll-ctl.c argc = parse_options(argc, argv, options, bench_epoll_ctl_usage, 0); argv 414 tools/perf/bench/epoll-wait.c int bench_epoll_wait(int argc, const char **argv) argv 424 tools/perf/bench/epoll-wait.c argc = parse_options(argc, argv, options, bench_epoll_wait_usage, 0); argv 120 tools/perf/bench/futex-hash.c int bench_futex_hash(int argc, const char **argv) argv 130 tools/perf/bench/futex-hash.c argc = parse_options(argc, argv, options, bench_futex_hash_usage, 0); argv 148 tools/perf/bench/futex-lock-pi.c int bench_futex_lock_pi(int argc, const char **argv) argv 156 tools/perf/bench/futex-lock-pi.c argc = parse_options(argc, argv, options, bench_futex_lock_pi_usage, 0); argv 115 tools/perf/bench/futex-requeue.c int bench_futex_requeue(int argc, const char **argv) argv 123 tools/perf/bench/futex-requeue.c argc = parse_options(argc, argv, options, bench_futex_requeue_usage, 0); argv 15 tools/perf/bench/futex-wake-parallel.c int bench_futex_wake_parallel(int argc __maybe_unused, const char **argv __maybe_unused) argv 221 tools/perf/bench/futex-wake-parallel.c int bench_futex_wake_parallel(int argc, const char **argv) argv 230 tools/perf/bench/futex-wake-parallel.c argc = parse_options(argc, argv, options, argv 121 tools/perf/bench/futex-wake.c int bench_futex_wake(int argc, const char **argv) argv 129 tools/perf/bench/futex-wake.c argc = parse_options(argc, argv, options, bench_futex_wake_usage, 0); argv 176 tools/perf/bench/mem-functions.c static int bench_mem_common(int argc, const char **argv, struct bench_mem_info *info) argv 182 tools/perf/bench/mem-functions.c argc = parse_options(argc, argv, options, info->usage, 0); argv 290 tools/perf/bench/mem-functions.c int bench_mem_memcpy(int argc, const char **argv) argv 300 tools/perf/bench/mem-functions.c return bench_mem_common(argc, argv, &info); argv 364 tools/perf/bench/mem-functions.c int bench_mem_memset(int argc, const char **argv) argv 373 tools/perf/bench/mem-functions.c return bench_mem_common(argc, argv, &info); argv 1659 tools/perf/bench/numa.c static int command_size(const char **argv) argv 1663 tools/perf/bench/numa.c while (*argv) { argv 1665 tools/perf/bench/numa.c argv++; argv 1673 tools/perf/bench/numa.c static void init_params(struct params *p, const char *name, int argc, const char **argv) argv 1680 tools/perf/bench/numa.c printf(" %s", argv[i]); argv 1702 tools/perf/bench/numa.c static int run_bench_numa(const char *name, const char **argv) argv 1704 tools/perf/bench/numa.c int argc = command_size(argv); argv 1706 tools/perf/bench/numa.c init_params(&p0, name, argc, argv); argv 1707 tools/perf/bench/numa.c argc = parse_options(argc, argv, options, bench_numa_usage, 0); argv 1825 tools/perf/bench/numa.c int bench_numa(int argc, const char **argv) argv 1827 tools/perf/bench/numa.c init_params(&p0, "main,", argc, argv); argv 1828 tools/perf/bench/numa.c argc = parse_options(argc, argv, options, bench_numa_usage, 0); argv 261 tools/perf/bench/sched-messaging.c int bench_sched_messaging(int argc, const char **argv) argv 270 tools/perf/bench/sched-messaging.c argc = parse_options(argc, argv, options, argv 77 tools/perf/bench/sched-pipe.c int bench_sched_pipe(int argc, const char **argv) argv 94 tools/perf/bench/sched-pipe.c argc = parse_options(argc, argv, options, bench_sched_pipe_usage, 0); argv 473 tools/perf/builtin-annotate.c int cmd_annotate(int argc, const char **argv) argv 565 tools/perf/builtin-annotate.c argc = parse_options(argc, argv, options, annotate_usage, 0); argv 574 tools/perf/builtin-annotate.c annotate.sym_hist_filter = argv[0]; argv 29 tools/perf/builtin-bench.c typedef int (*bench_fn_t)(int argc, const char **argv); argv 171 tools/perf/builtin-bench.c int argc, const char **argv) argv 185 tools/perf/builtin-bench.c argv[0] = name; argv 187 tools/perf/builtin-bench.c ret = fn(argc, argv); argv 197 tools/perf/builtin-bench.c const char *argv[2]; argv 199 tools/perf/builtin-bench.c argv[1] = NULL; argv 213 tools/perf/builtin-bench.c argv[1] = bench->name; argv 214 tools/perf/builtin-bench.c run_bench(coll->name, bench->name, bench->fn, 1, argv); argv 227 tools/perf/builtin-bench.c int cmd_bench(int argc, const char **argv) argv 238 tools/perf/builtin-bench.c argc = parse_options(argc, argv, bench_options, bench_usage, argv 257 tools/perf/builtin-bench.c if (!strcmp(argv[0], "all")) { argv 265 tools/perf/builtin-bench.c if (strcmp(coll->name, argv[0])) argv 274 tools/perf/builtin-bench.c if (!strcmp(argv[1], "all")) { argv 280 tools/perf/builtin-bench.c if (strcmp(bench->name, argv[1])) argv 286 tools/perf/builtin-bench.c ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1); argv 290 tools/perf/builtin-bench.c if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { argv 295 tools/perf/builtin-bench.c printf("Unknown benchmark: '%s' for collection '%s'\n", argv[1], argv[0]); argv 300 tools/perf/builtin-bench.c printf("Unknown collection: '%s'\n", argv[0]); argv 352 tools/perf/builtin-buildid-cache.c int cmd_buildid_cache(int argc, const char **argv) argv 401 tools/perf/builtin-buildid-cache.c argc = parse_options(argc, argv, buildid_cache_options, argv 93 tools/perf/builtin-buildid-list.c int cmd_buildid_list(int argc, const char **argv) argv 111 tools/perf/builtin-buildid-list.c argc = parse_options(argc, argv, options, buildid_list_usage, 0); argv 2718 tools/perf/builtin-c2c.c static int perf_c2c__report(int argc, const char **argv) argv 2760 tools/perf/builtin-c2c.c argc = parse_options(argc, argv, options, report_c2c_usage, argv 2892 tools/perf/builtin-c2c.c static int perf_c2c__record(int argc, const char **argv) argv 2915 tools/perf/builtin-c2c.c argc = parse_options(argc, argv, options, record_mem_usage, argv 2959 tools/perf/builtin-c2c.c rec_argv[i] = argv[j]; argv 2978 tools/perf/builtin-c2c.c int cmd_c2c(int argc, const char **argv) argv 2980 tools/perf/builtin-c2c.c argc = parse_options(argc, argv, c2c_options, c2c_usage, argv 2986 tools/perf/builtin-c2c.c if (!strncmp(argv[0], "rec", 3)) { argv 2987 tools/perf/builtin-c2c.c return perf_c2c__record(argc, argv); argv 2988 tools/perf/builtin-c2c.c } else if (!strncmp(argv[0], "rep", 3)) { argv 2989 tools/perf/builtin-c2c.c return perf_c2c__report(argc, argv); argv 156 tools/perf/builtin-config.c int cmd_config(int argc, const char **argv) argv 164 tools/perf/builtin-config.c argc = parse_options(argc, argv, config_options, config_usage, argv 210 tools/perf/builtin-config.c for (i = 0; argv[i]; i++) { argv 212 tools/perf/builtin-config.c char *arg = strdup(argv[i]); argv 12 tools/perf/builtin-data.c typedef int (*data_cmd_fn_t)(int argc, const char **argv); argv 56 tools/perf/builtin-data.c static int cmd_data_convert(int argc, const char **argv) argv 79 tools/perf/builtin-data.c argc = parse_options(argc, argv, options, argv 103 tools/perf/builtin-data.c int cmd_data(int argc, const char **argv) argv 112 tools/perf/builtin-data.c argc = parse_options_subcommand(argc, argv, data_options, data_subcommands, data_usage, argv 117 tools/perf/builtin-data.c cmdstr = argv[0]; argv 123 tools/perf/builtin-data.c return cmd->fn(argc, argv); argv 1765 tools/perf/builtin-diff.c static int data_init(int argc, const char **argv) argv 1779 tools/perf/builtin-diff.c defaults[1] = argv[0]; argv 1801 tools/perf/builtin-diff.c data->path = use_default ? defaults[i] : argv[i]; argv 1839 tools/perf/builtin-diff.c int cmd_diff(int argc, const char **argv) argv 1848 tools/perf/builtin-diff.c argc = parse_options(argc, argv, options, diff_usage, 0); argv 1858 tools/perf/builtin-diff.c if (data_init(argc, argv) < 0) argv 50 tools/perf/builtin-evlist.c int cmd_evlist(int argc, const char **argv) argv 69 tools/perf/builtin-evlist.c argc = parse_options(argc, argv, options, evlist_usage, 0); argv 278 tools/perf/builtin-ftrace.c static int __cmd_ftrace(struct perf_ftrace *ftrace, int argc, const char **argv) argv 313 tools/perf/builtin-ftrace.c &ftrace->target, argv, false, argv 448 tools/perf/builtin-ftrace.c int cmd_ftrace(int argc, const char **argv) argv 493 tools/perf/builtin-ftrace.c argc = parse_options(argc, argv, ftrace_options, ftrace_usage, argv 517 tools/perf/builtin-ftrace.c ret = __cmd_ftrace(&ftrace, argc, argv); argv 80 tools/perf/builtin-help.c ec_process.argv = argv_ec; argv 427 tools/perf/builtin-help.c int cmd_help(int argc, const char **argv) argv 463 tools/perf/builtin-help.c argc = parse_options_subcommand(argc, argv, builtin_help_options, argv 473 tools/perf/builtin-help.c if (!argv[0]) { argv 482 tools/perf/builtin-help.c rc = show_man_page(argv[0]); argv 485 tools/perf/builtin-help.c rc = show_info_page(argv[0]); argv 488 tools/perf/builtin-help.c rc = show_html_page(argv[0]); argv 743 tools/perf/builtin-inject.c int cmd_inject(int argc, const char **argv) argv 817 tools/perf/builtin-inject.c argc = parse_options(argc, argv, options, inject_usage, 0); argv 19 tools/perf/builtin-kallsyms.c static int __cmd_kallsyms(int argc, const char **argv) argv 31 tools/perf/builtin-kallsyms.c struct symbol *symbol = machine__find_kernel_symbol_by_name(machine, argv[i], &map); argv 34 tools/perf/builtin-kallsyms.c printf("%s: not found\n", argv[i]); argv 48 tools/perf/builtin-kallsyms.c int cmd_kallsyms(int argc, const char **argv) argv 59 tools/perf/builtin-kallsyms.c argc = parse_options(argc, argv, options, kallsyms_usage, 0); argv 68 tools/perf/builtin-kallsyms.c return __cmd_kallsyms(argc, argv); argv 1831 tools/perf/builtin-kmem.c static int __cmd_record(int argc, const char **argv) argv 1877 tools/perf/builtin-kmem.c rec_argv[i] = argv[j]; argv 1898 tools/perf/builtin-kmem.c int cmd_kmem(int argc, const char **argv) argv 1940 tools/perf/builtin-kmem.c argc = parse_options_subcommand(argc, argv, kmem_options, argv 1953 tools/perf/builtin-kmem.c if (!strncmp(argv[0], "rec", 3)) { argv 1955 tools/perf/builtin-kmem.c return __cmd_record(argc, argv); argv 1996 tools/perf/builtin-kmem.c if (!strcmp(argv[0], "stat")) { argv 1182 tools/perf/builtin-kvm.c kvm_events_record(struct perf_kvm_stat *kvm, int argc, const char **argv) argv 1228 tools/perf/builtin-kvm.c rec_argv[i] = argv[j]; argv 1255 tools/perf/builtin-kvm.c kvm_events_report(struct perf_kvm_stat *kvm, int argc, const char **argv) argv 1278 tools/perf/builtin-kvm.c argc = parse_options(argc, argv, argv 1343 tools/perf/builtin-kvm.c int argc, const char **argv) argv 1409 tools/perf/builtin-kvm.c argc = parse_options(argc, argv, live_options, argv 1488 tools/perf/builtin-kvm.c static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) argv 1504 tools/perf/builtin-kvm.c if (!strncmp(argv[1], "rec", 3)) argv 1505 tools/perf/builtin-kvm.c return kvm_events_record(&kvm, argc - 1, argv + 1); argv 1507 tools/perf/builtin-kvm.c if (!strncmp(argv[1], "rep", 3)) argv 1508 tools/perf/builtin-kvm.c return kvm_events_report(&kvm, argc - 1 , argv + 1); argv 1511 tools/perf/builtin-kvm.c if (!strncmp(argv[1], "live", 4)) argv 1512 tools/perf/builtin-kvm.c return kvm_events_live(&kvm, argc - 1 , argv + 1); argv 1516 tools/perf/builtin-kvm.c return cmd_stat(argc, argv); argv 1521 tools/perf/builtin-kvm.c const char **argv __maybe_unused) argv 1526 tools/perf/builtin-kvm.c static int __cmd_record(const char *file_name, int argc, const char **argv) argv 1531 tools/perf/builtin-kvm.c ret = kvm_add_default_arch_event(&argc, argv); argv 1541 tools/perf/builtin-kvm.c rec_argv[i] = argv[j]; argv 1548 tools/perf/builtin-kvm.c static int __cmd_report(const char *file_name, int argc, const char **argv) argv 1559 tools/perf/builtin-kvm.c rec_argv[i] = argv[j]; argv 1567 tools/perf/builtin-kvm.c __cmd_buildid_list(const char *file_name, int argc, const char **argv) argv 1578 tools/perf/builtin-kvm.c rec_argv[i] = argv[j]; argv 1585 tools/perf/builtin-kvm.c int cmd_kvm(int argc, const char **argv) argv 1618 tools/perf/builtin-kvm.c argc = parse_options_subcommand(argc, argv, kvm_options, kvm_subcommands, kvm_usage, argv 1635 tools/perf/builtin-kvm.c if (!strncmp(argv[0], "rec", 3)) argv 1636 tools/perf/builtin-kvm.c return __cmd_record(file_name, argc, argv); argv 1637 tools/perf/builtin-kvm.c else if (!strncmp(argv[0], "rep", 3)) argv 1638 tools/perf/builtin-kvm.c return __cmd_report(file_name, argc, argv); argv 1639 tools/perf/builtin-kvm.c else if (!strncmp(argv[0], "diff", 4)) argv 1640 tools/perf/builtin-kvm.c return cmd_diff(argc, argv); argv 1641 tools/perf/builtin-kvm.c else if (!strncmp(argv[0], "top", 3)) argv 1642 tools/perf/builtin-kvm.c return cmd_top(argc, argv); argv 1643 tools/perf/builtin-kvm.c else if (!strncmp(argv[0], "buildid-list", 12)) argv 1644 tools/perf/builtin-kvm.c return __cmd_buildid_list(file_name, argc, argv); argv 1646 tools/perf/builtin-kvm.c else if (!strncmp(argv[0], "stat", 4)) argv 1647 tools/perf/builtin-kvm.c return kvm_cmd_stat(file_name, argc, argv); argv 24 tools/perf/builtin-list.c int cmd_list(int argc, const char **argv) argv 48 tools/perf/builtin-list.c argc = parse_options(argc, argv, list_options, list_usage, argv 65 tools/perf/builtin-list.c if (strcmp(argv[i], "tracepoint") == 0) argv 67 tools/perf/builtin-list.c else if (strcmp(argv[i], "hw") == 0 || argv 68 tools/perf/builtin-list.c strcmp(argv[i], "hardware") == 0) argv 71 tools/perf/builtin-list.c else if (strcmp(argv[i], "sw") == 0 || argv 72 tools/perf/builtin-list.c strcmp(argv[i], "software") == 0) { argv 76 tools/perf/builtin-list.c } else if (strcmp(argv[i], "cache") == 0 || argv 77 tools/perf/builtin-list.c strcmp(argv[i], "hwcache") == 0) argv 79 tools/perf/builtin-list.c else if (strcmp(argv[i], "pmu") == 0) argv 82 tools/perf/builtin-list.c else if (strcmp(argv[i], "sdt") == 0) argv 84 tools/perf/builtin-list.c else if (strcmp(argv[i], "metric") == 0 || strcmp(argv[i], "metrics") == 0) argv 86 tools/perf/builtin-list.c else if (strcmp(argv[i], "metricgroup") == 0 || strcmp(argv[i], "metricgroups") == 0) argv 88 tools/perf/builtin-list.c else if ((sep = strchr(argv[i], ':')) != NULL) { argv 92 tools/perf/builtin-list.c print_events(argv[i], raw_dump, !desc_flag, argv 97 tools/perf/builtin-list.c sep_idx = sep - argv[i]; argv 98 tools/perf/builtin-list.c s = strdup(argv[i]); argv 108 tools/perf/builtin-list.c if (asprintf(&s, "*%s*", argv[i]) < 0) { argv 911 tools/perf/builtin-lock.c static int __cmd_record(int argc, const char **argv) argv 945 tools/perf/builtin-lock.c rec_argv[i] = argv[j]; argv 954 tools/perf/builtin-lock.c int cmd_lock(int argc, const char **argv) argv 999 tools/perf/builtin-lock.c argc = parse_options_subcommand(argc, argv, lock_options, lock_subcommands, argv 1004 tools/perf/builtin-lock.c if (!strncmp(argv[0], "rec", 3)) { argv 1005 tools/perf/builtin-lock.c return __cmd_record(argc, argv); argv 1006 tools/perf/builtin-lock.c } else if (!strncmp(argv[0], "report", 6)) { argv 1009 tools/perf/builtin-lock.c argc = parse_options(argc, argv, argv 1015 tools/perf/builtin-lock.c } else if (!strcmp(argv[0], "script")) { argv 1017 tools/perf/builtin-lock.c return cmd_script(argc, argv); argv 1018 tools/perf/builtin-lock.c } else if (!strcmp(argv[0], "info")) { argv 1020 tools/perf/builtin-lock.c argc = parse_options(argc, argv, argv 71 tools/perf/builtin-mem.c static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) argv 89 tools/perf/builtin-mem.c argc = parse_options(argc, argv, options, record_mem_usage, argv 135 tools/perf/builtin-mem.c rec_argv[i] = argv[j]; argv 279 tools/perf/builtin-mem.c static int report_events(int argc, const char **argv, struct perf_mem *mem) argv 312 tools/perf/builtin-mem.c rep_argv[i] = argv[j]; argv 388 tools/perf/builtin-mem.c int cmd_mem(int argc, const char **argv) argv 440 tools/perf/builtin-mem.c argc = parse_options_subcommand(argc, argv, mem_options, mem_subcommands, argv 443 tools/perf/builtin-mem.c if (!argc || !(strncmp(argv[0], "rec", 3) || mem.operation)) argv 453 tools/perf/builtin-mem.c if (!strncmp(argv[0], "rec", 3)) argv 454 tools/perf/builtin-mem.c return __cmd_record(argc, argv, &mem); argv 455 tools/perf/builtin-mem.c else if (!strncmp(argv[0], "rep", 3)) argv 456 tools/perf/builtin-mem.c return report_events(argc, argv, &mem); argv 132 tools/perf/builtin-probe.c static int parse_probe_event_argv(int argc, const char **argv) argv 137 tools/perf/builtin-probe.c found_target = set_target(argv[0]); argv 150 tools/perf/builtin-probe.c len += strlen(argv[i]) + 1; argv 160 tools/perf/builtin-probe.c len += sprintf(&buf[len], "%s ", argv[i]); argv 491 tools/perf/builtin-probe.c __cmd_probe(int argc, const char **argv) argv 603 tools/perf/builtin-probe.c argc = parse_options(argc, argv, options, probe_usage, argv 606 tools/perf/builtin-probe.c if (strcmp(argv[0], "-") == 0) { argv 614 tools/perf/builtin-probe.c ret = parse_probe_event_argv(argc, argv); argv 722 tools/perf/builtin-probe.c int cmd_probe(int argc, const char **argv) argv 728 tools/perf/builtin-probe.c ret = __cmd_probe(argc, argv); argv 1335 tools/perf/builtin-record.c static int __cmd_record(struct record *rec, int argc, const char **argv) argv 1393 tools/perf/builtin-record.c argv, data->is_pipe, argv 2270 tools/perf/builtin-record.c int cmd_record(int argc, const char **argv) argv 2310 tools/perf/builtin-record.c argc = parse_options(argc, argv, record_options, record_usage, argv 2474 tools/perf/builtin-record.c err = __cmd_record(&record, argc, argv); argv 1026 tools/perf/builtin-report.c int cmd_report(int argc, const char **argv) argv 1229 tools/perf/builtin-report.c argc = parse_options(argc, argv, options, report_usage, 0); argv 1238 tools/perf/builtin-report.c report.symbol_filter_str = argv[0]; argv 3307 tools/perf/builtin-sched.c static int __cmd_record(int argc, const char **argv) argv 3338 tools/perf/builtin-sched.c rec_argv[i] = argv[j]; argv 3345 tools/perf/builtin-sched.c int cmd_sched(int argc, const char **argv) argv 3477 tools/perf/builtin-sched.c argc = parse_options_subcommand(argc, argv, sched_options, sched_subcommands, argv 3485 tools/perf/builtin-sched.c if (!strcmp(argv[0], "script")) argv 3486 tools/perf/builtin-sched.c return cmd_script(argc, argv); argv 3488 tools/perf/builtin-sched.c if (!strncmp(argv[0], "rec", 3)) { argv 3489 tools/perf/builtin-sched.c return __cmd_record(argc, argv); argv 3490 tools/perf/builtin-sched.c } else if (!strncmp(argv[0], "lat", 3)) { argv 3493 tools/perf/builtin-sched.c argc = parse_options(argc, argv, latency_options, latency_usage, 0); argv 3499 tools/perf/builtin-sched.c } else if (!strcmp(argv[0], "map")) { argv 3501 tools/perf/builtin-sched.c argc = parse_options(argc, argv, map_options, map_usage, 0); argv 3508 tools/perf/builtin-sched.c } else if (!strncmp(argv[0], "rep", 3)) { argv 3511 tools/perf/builtin-sched.c argc = parse_options(argc, argv, replay_options, replay_usage, 0); argv 3516 tools/perf/builtin-sched.c } else if (!strcmp(argv[0], "timehist")) { argv 3518 tools/perf/builtin-sched.c argc = parse_options(argc, argv, timehist_options, argv 3218 tools/perf/builtin-script.c static int have_cmd(int argc, const char **argv) argv 3227 tools/perf/builtin-script.c memcpy(__argv, argv, sizeof(const char *) * argc); argv 3400 tools/perf/builtin-script.c int cmd_script(int argc, const char **argv) argv 3576 tools/perf/builtin-script.c argc = parse_options_subcommand(argc, argv, options, script_subcommands, script_usage, argv 3592 tools/perf/builtin-script.c if (argc > 1 && !strncmp(argv[0], "rec", strlen("rec"))) { argv 3593 tools/perf/builtin-script.c rec_script_path = get_script_path(argv[1], RECORD_SUFFIX); argv 3595 tools/perf/builtin-script.c return cmd_record(argc, argv); argv 3598 tools/perf/builtin-script.c if (argc > 1 && !strncmp(argv[0], "rep", strlen("rep"))) { argv 3599 tools/perf/builtin-script.c rep_script_path = get_script_path(argv[1], REPORT_SUFFIX); argv 3620 tools/perf/builtin-script.c rec_script_path = get_script_path(argv[0], RECORD_SUFFIX); argv 3621 tools/perf/builtin-script.c rep_script_path = get_script_path(argv[0], REPORT_SUFFIX); argv 3626 tools/perf/builtin-script.c " script -l for available scripts.\n", argv[0]); argv 3629 tools/perf/builtin-script.c if (is_top_script(argv[0])) { argv 3640 tools/perf/builtin-script.c "scripts and options.\n", argv[0]); argv 3661 tools/perf/builtin-script.c if (is_top_script(argv[0])) { argv 3664 tools/perf/builtin-script.c if (have_cmd(argc - rep_args, &argv[rep_args]) != 0) { argv 3685 tools/perf/builtin-script.c __argv[j++] = argv[i]; argv 3707 tools/perf/builtin-script.c __argv[j++] = argv[i]; argv 3728 tools/perf/builtin-script.c if (have_cmd(argc - 1, &argv[1]) != 0) { argv 3746 tools/perf/builtin-script.c __argv[j++] = argv[i]; argv 3854 tools/perf/builtin-script.c err = scripting_ops->start_script(script_name, argc, argv); argv 94 tools/perf/builtin-stat.c static void print_counters(struct timespec *ts, int argc, const char **argv); argv 423 tools/perf/builtin-stat.c static int __run_perf_stat(int argc, const char **argv, int run_idx) argv 449 tools/perf/builtin-stat.c if (perf_evlist__prepare_workload(evsel_list, &target, argv, is_pipe, argv 581 tools/perf/builtin-stat.c psignal(WTERMSIG(status), argv[0]); argv 625 tools/perf/builtin-stat.c static int run_perf_stat(int argc, const char **argv, int run_idx) argv 638 tools/perf/builtin-stat.c ret = __run_perf_stat(argc, argv, run_idx); argv 651 tools/perf/builtin-stat.c static void print_counters(struct timespec *ts, int argc, const char **argv) argv 658 tools/perf/builtin-stat.c ts, argc, argv); argv 1423 tools/perf/builtin-stat.c static int __cmd_record(int argc, const char **argv) argv 1428 tools/perf/builtin-stat.c argc = parse_options(argc, argv, stat_options, stat_record_usage, argv 1459 tools/perf/builtin-stat.c const char **argv = session->header.env.cmdline_argv; argv 1474 tools/perf/builtin-stat.c print_counters(ts, argc, argv); argv 1608 tools/perf/builtin-stat.c static int __cmd_report(int argc, const char **argv) argv 1626 tools/perf/builtin-stat.c argc = parse_options(argc, argv, options, stat_report_usage, 0); argv 1683 tools/perf/builtin-stat.c int cmd_stat(int argc, const char **argv) argv 1708 tools/perf/builtin-stat.c argc = parse_options_subcommand(argc, argv, stat_options, stat_subcommands, argv 1721 tools/perf/builtin-stat.c if (argc && !strncmp(argv[0], "rec", 3)) { argv 1722 tools/perf/builtin-stat.c argc = __cmd_record(argc, argv); argv 1725 tools/perf/builtin-stat.c } else if (argc && !strncmp(argv[0], "rep", 3)) argv 1726 tools/perf/builtin-stat.c return __cmd_report(argc, argv); argv 1959 tools/perf/builtin-stat.c status = run_perf_stat(argc, argv, run_idx); argv 1961 tools/perf/builtin-stat.c print_counters(NULL, argc, argv); argv 1967 tools/perf/builtin-stat.c print_counters(NULL, argc, argv); argv 1641 tools/perf/builtin-timechart.c static int timechart__io_record(int argc, const char **argv) argv 1770 tools/perf/builtin-timechart.c *p++ = argv[i]; argv 1776 tools/perf/builtin-timechart.c static int timechart__record(struct timechart *tchart, int argc, const char **argv) argv 1861 tools/perf/builtin-timechart.c *p++ = argv[j]; argv 1916 tools/perf/builtin-timechart.c int cmd_timechart(int argc, const char **argv) argv 1979 tools/perf/builtin-timechart.c argc = parse_options_subcommand(argc, argv, timechart_options, timechart_subcommands, argv 1987 tools/perf/builtin-timechart.c if (argc && !strncmp(argv[0], "rec", 3)) { argv 1988 tools/perf/builtin-timechart.c argc = parse_options(argc, argv, timechart_record_options, argv 1998 tools/perf/builtin-timechart.c return timechart__io_record(argc, argv); argv 2000 tools/perf/builtin-timechart.c return timechart__record(&tchart, argc, argv); argv 1392 tools/perf/builtin-top.c int cmd_top(int argc, const char **argv) argv 1564 tools/perf/builtin-top.c argc = parse_options(argc, argv, options, top_usage, 0); argv 2569 tools/perf/builtin-trace.c static int trace__record(struct trace *trace, int argc, const char **argv) argv 2624 tools/perf/builtin-trace.c rec_argv[j++] = argv[i]; argv 3266 tools/perf/builtin-trace.c static int trace__run(struct trace *trace, int argc, const char **argv) argv 3353 tools/perf/builtin-trace.c argv, false, NULL); argv 4069 tools/perf/builtin-trace.c int cmd_trace(int argc, const char **argv) argv 4210 tools/perf/builtin-trace.c argc = parse_options_subcommand(argc, argv, trace_options, trace_subcommands, argv 4379 tools/perf/builtin-trace.c if ((argc >= 1) && (strcmp(argv[0], "record") == 0)) argv 4380 tools/perf/builtin-trace.c return trace__record(&trace, argc-1, &argv[1]); argv 4423 tools/perf/builtin-trace.c err = trace__run(&trace, argc, argv); argv 86 tools/perf/builtin-version.c int cmd_version(int argc, const char **argv) argv 88 tools/perf/builtin-version.c argc = parse_options(argc, argv, version_options, version_usage, argv 11 tools/perf/builtin.h int cmd_annotate(int argc, const char **argv); argv 12 tools/perf/builtin.h int cmd_bench(int argc, const char **argv); argv 13 tools/perf/builtin.h int cmd_buildid_cache(int argc, const char **argv); argv 14 tools/perf/builtin.h int cmd_buildid_list(int argc, const char **argv); argv 15 tools/perf/builtin.h int cmd_config(int argc, const char **argv); argv 16 tools/perf/builtin.h int cmd_c2c(int argc, const char **argv); argv 17 tools/perf/builtin.h int cmd_diff(int argc, const char **argv); argv 18 tools/perf/builtin.h int cmd_evlist(int argc, const char **argv); argv 19 tools/perf/builtin.h int cmd_help(int argc, const char **argv); argv 20 tools/perf/builtin.h int cmd_sched(int argc, const char **argv); argv 21 tools/perf/builtin.h int cmd_kallsyms(int argc, const char **argv); argv 22 tools/perf/builtin.h int cmd_list(int argc, const char **argv); argv 23 tools/perf/builtin.h int cmd_record(int argc, const char **argv); argv 24 tools/perf/builtin.h int cmd_report(int argc, const char **argv); argv 25 tools/perf/builtin.h int cmd_stat(int argc, const char **argv); argv 26 tools/perf/builtin.h int cmd_timechart(int argc, const char **argv); argv 27 tools/perf/builtin.h int cmd_top(int argc, const char **argv); argv 28 tools/perf/builtin.h int cmd_script(int argc, const char **argv); argv 29 tools/perf/builtin.h int cmd_version(int argc, const char **argv); argv 30 tools/perf/builtin.h int cmd_probe(int argc, const char **argv); argv 31 tools/perf/builtin.h int cmd_kmem(int argc, const char **argv); argv 32 tools/perf/builtin.h int cmd_lock(int argc, const char **argv); argv 33 tools/perf/builtin.h int cmd_kvm(int argc, const char **argv); argv 34 tools/perf/builtin.h int cmd_test(int argc, const char **argv); argv 35 tools/perf/builtin.h int cmd_trace(int argc, const char **argv); argv 36 tools/perf/builtin.h int cmd_inject(int argc, const char **argv); argv 37 tools/perf/builtin.h int cmd_mem(int argc, const char **argv); argv 38 tools/perf/builtin.h int cmd_data(int argc, const char **argv); argv 39 tools/perf/builtin.h int cmd_ftrace(int argc, const char **argv); argv 13 tools/perf/lib/tests/test-cpumap.c int main(int argc, char **argv) argv 184 tools/perf/lib/tests/test-evlist.c int main(int argc, char **argv) argv 123 tools/perf/lib/tests/test-evsel.c int main(int argc, char **argv) argv 13 tools/perf/lib/tests/test-threadmap.c int main(int argc, char **argv) argv 170 tools/perf/perf.c static int handle_options(const char ***argv, int *argc, int *envchanged) argv 175 tools/perf/perf.c const char *cmd = (*argv)[0]; argv 192 tools/perf/perf.c (*argv)[0] = "--help"; argv 197 tools/perf/perf.c (*argv)[0] = "--version"; argv 202 tools/perf/perf.c (*argv)[0] = "version"; argv 232 tools/perf/perf.c tracing_path_set((*argv)[1]); argv 235 tools/perf/perf.c (*argv)++; argv 242 tools/perf/perf.c set_buildid_dir((*argv)[1]); argv 245 tools/perf/perf.c (*argv)++; argv 275 tools/perf/perf.c if (perf_debug_option((*argv)[1])) argv 278 tools/perf/perf.c (*argv)++; argv 285 tools/perf/perf.c (*argv)++; argv 295 tools/perf/perf.c static int run_builtin(struct cmd_struct *p, int argc, const char **argv) argv 311 tools/perf/perf.c perf_env__set_cmdline(&perf_env, argc, argv); argv 312 tools/perf/perf.c status = p->fn(argc, argv); argv 349 tools/perf/perf.c static void handle_internal_command(int argc, const char **argv) argv 351 tools/perf/perf.c const char *cmd = argv[0]; argv 355 tools/perf/perf.c if (argc > 1 && !strcmp(argv[1], "--help")) { argv 356 tools/perf/perf.c argv[1] = argv[0]; argv 357 tools/perf/perf.c argv[0] = cmd = "help"; argv 364 tools/perf/perf.c exit(run_builtin(p, argc, argv)); argv 368 tools/perf/perf.c static void execv_dashed_external(const char **argv) argv 374 tools/perf/perf.c if (asprintf(&cmd, "perf-%s", argv[0]) < 0) argv 383 tools/perf/perf.c tmp = argv[0]; argv 384 tools/perf/perf.c argv[0] = cmd; argv 390 tools/perf/perf.c status = run_command_v_opt(argv, 0); argv 394 tools/perf/perf.c pr_err("FATAL: unable to run '%s'", argv[0]); argv 401 tools/perf/perf.c argv[0] = tmp; argv 405 tools/perf/perf.c static int run_argv(int *argcp, const char ***argv) argv 408 tools/perf/perf.c handle_internal_command(*argcp, *argv); argv 411 tools/perf/perf.c execv_dashed_external(*argv); argv 439 tools/perf/perf.c int main(int argc, const char **argv) argv 451 tools/perf/perf.c cmd = extract_argv0_path(argv[0]); argv 479 tools/perf/perf.c argv[0] = cmd; argv 480 tools/perf/perf.c handle_internal_command(argc, argv); argv 486 tools/perf/perf.c argv[0] = cmd; argv 491 tools/perf/perf.c argv[0] = "trace"; argv 492 tools/perf/perf.c return cmd_trace(argc, argv); argv 500 tools/perf/perf.c argv++; argv 502 tools/perf/perf.c handle_options(&argv, &argc, NULL); argv 506 tools/perf/perf.c if (strstarts(argv[0], "--")) argv 507 tools/perf/perf.c argv[0] += 2; argv 515 tools/perf/perf.c cmd = argv[0]; argv 538 tools/perf/perf.c run_argv(&argc, &argv); argv 544 tools/perf/perf.c cmd = argv[0] = help_unknown_cmd(cmd); argv 1069 tools/perf/pmu-events/jevents.c int main(int argc, char *argv[]) argv 1080 tools/perf/pmu-events/jevents.c prog = basename(argv[0]); argv 1086 tools/perf/pmu-events/jevents.c arch = argv[1]; argv 1087 tools/perf/pmu-events/jevents.c start_dirname = argv[2]; argv 1088 tools/perf/pmu-events/jevents.c output_file = argv[3]; argv 1091 tools/perf/pmu-events/jevents.c verbose = atoi(argv[4]); argv 313 tools/perf/tests/builtin-test.c static bool perf_test__matches(struct test *test, int curr, int argc, const char *argv[]) argv 322 tools/perf/tests/builtin-test.c long nr = strtoul(argv[i], &end, 10); argv 330 tools/perf/tests/builtin-test.c if (strcasestr(test->desc, argv[i])) argv 524 tools/perf/tests/builtin-test.c static int run_shell_tests(int argc, const char *argv[], int i, int width) argv 549 tools/perf/tests/builtin-test.c if (!perf_test__matches(&test, curr, argc, argv)) argv 561 tools/perf/tests/builtin-test.c static int __cmd_test(int argc, const char *argv[], struct intlist *skiplist) argv 578 tools/perf/tests/builtin-test.c if (!perf_test__matches(t, curr, argc, argv)) argv 633 tools/perf/tests/builtin-test.c return run_shell_tests(argc, argv, i, width); argv 636 tools/perf/tests/builtin-test.c static int perf_test__list_shell(int argc, const char **argv, int i) argv 657 tools/perf/tests/builtin-test.c if (!perf_test__matches(&t, curr, argc, argv)) argv 667 tools/perf/tests/builtin-test.c static int perf_test__list(int argc, const char **argv) argv 676 tools/perf/tests/builtin-test.c if (!perf_test__matches(t, curr, argc, argv) || argv 692 tools/perf/tests/builtin-test.c perf_test__list_shell(argc, argv, i); argv 697 tools/perf/tests/builtin-test.c int cmd_test(int argc, const char **argv) argv 719 tools/perf/tests/builtin-test.c argc = parse_options_subcommand(argc, argv, test_options, test_subcommands, test_usage, 0); argv 720 tools/perf/tests/builtin-test.c if (argc >= 1 && !strcmp(argv[0], "list")) argv 721 tools/perf/tests/builtin-test.c return perf_test__list(argc - 1, argv + 1); argv 738 tools/perf/tests/builtin-test.c return __cmd_test(argc, argv, skiplist); argv 23 tools/perf/tests/event-times.c const char *argv[] = { "true", NULL, }; argv 35 tools/perf/tests/event-times.c err = perf_evlist__prepare_workload(evlist, &target, argv, false, NULL); argv 59 tools/perf/tests/perf-record.c const char *argv[] = { cmd, "1", NULL, }; argv 98 tools/perf/tests/perf-record.c err = perf_evlist__prepare_workload(evlist, &opts.target, argv, false, NULL); argv 51 tools/perf/tests/task-exit.c const char *argv[] = { "true", NULL }; argv 85 tools/perf/tests/task-exit.c err = perf_evlist__prepare_workload(evlist, &target, argv, false, argv 82 tools/perf/ui/browsers/header.c static int ui__list_menu(int argc, char * const argv[]) argv 85 tools/perf/ui/browsers/header.c .entries = (void *)argv, argv 98 tools/perf/ui/browsers/header.c char **argv; argv 111 tools/perf/ui/browsers/header.c argv = calloc(argc + 1, sizeof(*argv)); argv 112 tools/perf/ui/browsers/header.c if (argv == NULL) argv 115 tools/perf/ui/browsers/header.c argv[0] = pos = ptr; argv 118 tools/perf/ui/browsers/header.c argv[i] = pos; argv 123 tools/perf/ui/browsers/header.c ui__list_menu(argc, argv); argv 126 tools/perf/ui/browsers/header.c free(argv); argv 58 tools/perf/ui/tui/util.c int ui__popup_menu(int argc, char * const argv[]) argv 61 tools/perf/ui/tui/util.c .entries = (void *)argv, argv 8 tools/perf/ui/util.h int ui__popup_menu(int argc, char * const argv[]); argv 20 tools/perf/util/cache.h int split_cmdline(char *cmdline, const char ***argv); argv 203 tools/perf/util/env.c int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]) argv 217 tools/perf/util/env.c env->cmdline_argv[i] = argv[i]; argv 105 tools/perf/util/env.h int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); argv 1271 tools/perf/util/evlist.c const char *argv[], bool pipe_output, argv 1330 tools/perf/util/evlist.c execvp(argv[0], (char **)argv); argv 1337 tools/perf/util/evlist.c perror(argv[0]); argv 1339 tools/perf/util/evlist.c perror(argv[0]); argv 173 tools/perf/util/evlist.h const char *argv[], bool pipe_output, argv 525 tools/perf/util/genelf.c int main(int argc, char **argv) argv 529 tools/perf/util/genelf.c while ((c = getopt(argc, argv, "o:h")) != -1) { argv 2159 tools/perf/util/header.c char *str, *cmdline = NULL, **argv = NULL; argv 2171 tools/perf/util/header.c argv = zalloc(sizeof(char *) * (nr + 1)); argv 2172 tools/perf/util/header.c if (!argv) argv 2180 tools/perf/util/header.c argv[i] = cmdline + len; argv 2181 tools/perf/util/header.c memcpy(argv[i], str, strlen(str) + 1); argv 2186 tools/perf/util/header.c ff->ph->env.cmdline_argv = (const char **) argv; argv 2190 tools/perf/util/header.c free(argv); argv 128 tools/perf/util/header.h int perf_header__set_cmdline(int argc, const char **argv); argv 151 tools/perf/util/kvm-stat.h extern int kvm_add_default_arch_event(int *argc, const char **argv); argv 1664 tools/perf/util/probe-event.c char **argv; argv 1667 tools/perf/util/probe-event.c argv = argv_split(cmd, &argc); argv 1668 tools/perf/util/probe-event.c if (!argv) { argv 1678 tools/perf/util/probe-event.c ret = parse_perf_probe_point(argv[0], pev); argv 1690 tools/perf/util/probe-event.c ret = parse_perf_probe_arg(argv[i + 1], &pev->args[i]); argv 1699 tools/perf/util/probe-event.c argv_free(argv); argv 1737 tools/perf/util/probe-event.c char **argv; argv 1740 tools/perf/util/probe-event.c argv = argv_split(cmd, &argc); argv 1741 tools/perf/util/probe-event.c if (!argv) { argv 1752 tools/perf/util/probe-event.c argv0_str = strdup(argv[0]); argv 1761 tools/perf/util/probe-event.c semantic_error("Failed to parse event name: %s\n", argv[0]); argv 1777 tools/perf/util/probe-event.c p = strchr(argv[1], ':'); argv 1779 tools/perf/util/probe-event.c tp->module = strndup(argv[1], p - argv[1]); argv 1787 tools/perf/util/probe-event.c p = argv[1]; argv 1799 tools/perf/util/probe-event.c if (!argv[2] || strcmp(argv[2], "(null)")) { argv 1805 tools/perf/util/probe-event.c free(argv[2]); argv 1806 tools/perf/util/probe-event.c for (i = 2; argv[i + 1] != NULL; i++) argv 1807 tools/perf/util/probe-event.c argv[i] = argv[i + 1]; argv 1809 tools/perf/util/probe-event.c argv[i] = NULL; argv 1840 tools/perf/util/probe-event.c p = strchr(argv[i + 2], '='); argv 1844 tools/perf/util/probe-event.c p = argv[i + 2]; argv 1845 tools/perf/util/probe-event.c tev->args[i].name = strdup(argv[i + 2]); argv 1856 tools/perf/util/probe-event.c argv_free(argv); argv 477 tools/perf/util/scripting-engines/trace-event-perl.c static int perl_start_script(const char *script, int argc, const char **argv) argv 486 tools/perf/util/scripting-engines/trace-event-perl.c command_line[i] = argv[i - 2]; argv 1587 tools/perf/util/scripting-engines/trace-event-python.c static int python_start_script(const char *script, int argc, const char **argv) argv 1609 tools/perf/util/scripting-engines/trace-event-python.c command_line[i] = argv[i - 1]; argv 1615 tools/perf/util/scripting-engines/trace-event-python.c command_line[i] = Py_DecodeLocale(argv[i - 1], NULL); argv 1011 tools/perf/util/stat-display.c int argc, const char **argv) argv 1026 tools/perf/util/stat-display.c fprintf(output, "\'%s", argv ? argv[0] : "pipe"); argv 1027 tools/perf/util/stat-display.c for (i = 1; argv && (i < argc); i++) argv 1028 tools/perf/util/stat-display.c fprintf(output, " %s", argv[i]); argv 1164 tools/perf/util/stat-display.c int argc, const char **argv) argv 1174 tools/perf/util/stat-display.c print_header(config, _target, argc, argv); argv 220 tools/perf/util/stat.h int argc, const char **argv); argv 47 tools/perf/util/trace-event-scripting.c const char **argv __maybe_unused) argv 111 tools/perf/util/trace-event-scripting.c const char **argv __maybe_unused) argv 74 tools/perf/util/trace-event.h int (*start_script) (const char *script, int argc, const char **argv); argv 53 tools/power/acpi/common/getopt.c int acpi_getopt_argument(int argc, char **argv) argv 59 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { argv 61 tools/power/acpi/common/getopt.c &argv[acpi_gbl_optind++][(int)(current_char_ptr + 1)]; argv 68 tools/power/acpi/common/getopt.c acpi_gbl_optarg = argv[acpi_gbl_optind++]; argv 88 tools/power/acpi/common/getopt.c int acpi_getopt(int argc, char **argv, char *opts) argv 95 tools/power/acpi/common/getopt.c argv[acpi_gbl_optind][0] != '-' || argv 96 tools/power/acpi/common/getopt.c argv[acpi_gbl_optind][1] == '\0') { argv 98 tools/power/acpi/common/getopt.c } else if (strcmp(argv[acpi_gbl_optind], "--") == 0) { argv 106 tools/power/acpi/common/getopt.c current_char = argv[acpi_gbl_optind][current_char_ptr]; argv 114 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][++current_char_ptr] == '\0') { argv 125 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { argv 127 tools/power/acpi/common/getopt.c &argv[acpi_gbl_optind++][(int) argv 136 tools/power/acpi/common/getopt.c acpi_gbl_optarg = argv[acpi_gbl_optind++]; argv 145 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { argv 147 tools/power/acpi/common/getopt.c &argv[acpi_gbl_optind++][(int) argv 152 tools/power/acpi/common/getopt.c acpi_gbl_optarg = argv[acpi_gbl_optind++]; argv 161 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { argv 163 tools/power/acpi/common/getopt.c &argv[acpi_gbl_optind][(int)(current_char_ptr + 1)]; argv 176 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { argv 178 tools/power/acpi/common/getopt.c &argv[acpi_gbl_optind][(int)(current_char_ptr + 1)]; argv 196 tools/power/acpi/common/getopt.c if (argv[acpi_gbl_optind][++current_char_ptr] == '\0') { argv 379 tools/power/acpi/tools/acpidbg/acpidbg.c int main(int argc, char **argv) argv 386 tools/power/acpi/tools/acpidbg/acpidbg.c while ((ch = getopt(argc, argv, "b:f:h")) != -1) { argv 410 tools/power/acpi/tools/acpidbg/acpidbg.c usage(stdout, argv[0]); argv 415 tools/power/acpi/tools/acpidbg/acpidbg.c usage(stderr, argv[0]); argv 38 tools/power/acpi/tools/acpidump/apmain.c static int ap_do_options(int argc, char **argv); argv 130 tools/power/acpi/tools/acpidump/apmain.c static int ap_do_options(int argc, char **argv) argv 138 tools/power/acpi/tools/acpidump/apmain.c acpi_getopt(argc, argv, AP_SUPPORTED_OPTIONS)) != ACPI_OPT_END) argv 288 tools/power/acpi/tools/acpidump/apmain.c int ACPI_SYSTEM_XFACE main(int argc, char *argv[]) argv 290 tools/power/acpi/tools/acpidump/apmain.c int ACPI_SYSTEM_XFACE acpi_main(int argc, char *argv[]) argv 305 tools/power/acpi/tools/acpidump/apmain.c status = ap_do_options(argc, argv); argv 53 tools/power/acpi/tools/ec/ec_access.c void parse_opts(int argc, char *argv[]) argv 57 tools/power/acpi/tools/ec/ec_access.c while ((c = getopt(argc, argv, "rs:b:w:v:h")) != -1) { argv 62 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 67 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 72 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 78 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 84 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 92 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_SUCCESS); argv 95 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 104 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 110 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 119 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 206 tools/power/acpi/tools/ec/ec_access.c int main(int argc, char *argv[]) argv 211 tools/power/acpi/tools/ec/ec_access.c parse_opts(argc, argv); argv 218 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 229 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); argv 63 tools/power/cpupower/bench/main.c int main(int argc, char **argv) argv 75 tools/power/cpupower/bench/main.c c = getopt_long (argc, argv, "hg:o:s:l:vc:p:f:n:r:x:y:", argv 94 tools/power/cpupower/debug/i386/centrino-decode.c int main (int argc, char **argv) argv 101 tools/power/cpupower/debug/i386/centrino-decode.c cpu = strtoul(argv[1], NULL, 0); argv 149 tools/power/cpupower/debug/i386/dump_psb.c main(int argc, char *argv[]) argv 158 tools/power/cpupower/debug/i386/dump_psb.c ret = getopt_long(argc, argv, "hr:n:", info_opts, NULL); argv 68 tools/power/cpupower/debug/i386/powernow-k8-decode.c int main (int argc, char *argv[]) argv 77 tools/power/cpupower/debug/i386/powernow-k8-decode.c cpu = strtoul(argv[1], NULL, 0); argv 5 tools/power/cpupower/utils/builtin.h extern int cmd_set(int argc, const char **argv); argv 6 tools/power/cpupower/utils/builtin.h extern int cmd_info(int argc, const char **argv); argv 7 tools/power/cpupower/utils/builtin.h extern int cmd_freq_set(int argc, const char **argv); argv 8 tools/power/cpupower/utils/builtin.h extern int cmd_freq_info(int argc, const char **argv); argv 9 tools/power/cpupower/utils/builtin.h extern int cmd_idle_set(int argc, const char **argv); argv 10 tools/power/cpupower/utils/builtin.h extern int cmd_idle_info(int argc, const char **argv); argv 11 tools/power/cpupower/utils/builtin.h extern int cmd_monitor(int argc, const char **argv); argv 525 tools/power/cpupower/utils/cpufreq-info.c int cmd_freq_info(int argc, char **argv) argv 535 tools/power/cpupower/utils/cpufreq-info.c ret = getopt_long(argc, argv, "oefwldpgrasmybn", info_opts, argv 192 tools/power/cpupower/utils/cpufreq-set.c int cmd_freq_set(int argc, char **argv) argv 210 tools/power/cpupower/utils/cpufreq-set.c ret = getopt_long(argc, argv, "d:u:g:f:r", set_opts, NULL); argv 136 tools/power/cpupower/utils/cpuidle-info.c int cmd_idle_info(int argc, char **argv) argv 144 tools/power/cpupower/utils/cpuidle-info.c ret = getopt_long(argc, argv, "os", info_opts, NULL); argv 25 tools/power/cpupower/utils/cpuidle-set.c int cmd_idle_set(int argc, char **argv) argv 35 tools/power/cpupower/utils/cpuidle-set.c ret = getopt_long(argc, argv, "d:e:ED:", info_opts, NULL); argv 28 tools/power/cpupower/utils/cpupower-info.c int cmd_info(int argc, char **argv) argv 46 tools/power/cpupower/utils/cpupower-info.c while ((ret = getopt_long(argc, argv, "b", set_opts, NULL)) != -1) { argv 29 tools/power/cpupower/utils/cpupower-set.c int cmd_set(int argc, char **argv) argv 49 tools/power/cpupower/utils/cpupower-set.c while ((ret = getopt_long(argc, argv, "b:", argv 25 tools/power/cpupower/utils/cpupower.c static int cmd_help(int argc, const char **argv); argv 103 tools/power/cpupower/utils/cpupower.c static int cmd_help(int argc, const char **argv) argv 106 tools/power/cpupower/utils/cpupower.c print_man_page(argv[1]); /* exits within execlp() */ argv 120 tools/power/cpupower/utils/cpupower.c static void handle_options(int *argc, const char ***argv) argv 127 tools/power/cpupower/utils/cpupower.c for (x = 0; x < *argc && ((*argv)[x])[0] == '-'; x++) { argv 128 tools/power/cpupower/utils/cpupower.c const char *param = (*argv)[x]; argv 137 tools/power/cpupower/utils/cpupower.c if (!strcmp((*argv)[x+1], "all")) argv 141 tools/power/cpupower/utils/cpupower.c (*argv)[x+1], cpus_chosen); argv 169 tools/power/cpupower/utils/cpupower.c *argv += new_argc; argv 172 tools/power/cpupower/utils/cpupower.c int main(int argc, const char *argv[]) argv 183 tools/power/cpupower/utils/cpupower.c argv += 1; argv 185 tools/power/cpupower/utils/cpupower.c handle_options(&argc, &argv); argv 187 tools/power/cpupower/utils/cpupower.c cmd = argv[0]; argv 198 tools/power/cpupower/utils/cpupower.c if (argc > 1 && !strcmp(argv[1], "--help")) { argv 199 tools/power/cpupower/utils/cpupower.c argv[1] = argv[0]; argv 200 tools/power/cpupower/utils/cpupower.c argv[0] = cmd = "help"; argv 230 tools/power/cpupower/utils/cpupower.c ret = p->main(argc, argv); argv 281 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c int fork_it(char **argv) argv 297 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c execvp(argv[0], argv); argv 319 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c argv[0], timediff / (1000.0 * 1000), argv 352 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c static void cmdline(int argc, char *argv[]) argv 355 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c progname = basename(argv[0]); argv 357 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c while ((opt = getopt(argc, argv, "+lci:m:")) != -1) { argv 387 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c int cmd_monitor(int argc, char **argv) argv 393 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c cmdline(argc, argv); argv 444 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c fork_it(argv + optind); argv 1404 tools/power/x86/intel-speed-select/isst-config.c static void parse_cmd_args(int argc, int start, char **argv) argv 1429 tools/power/x86/intel-speed-select/isst-config.c while ((opt = getopt_long(argc, argv, "b:l:t:c:d:e:n:m:p:w:ho", argv 1550 tools/power/x86/intel-speed-select/isst-config.c void process_command(int argc, char **argv) argv 1553 tools/power/x86/intel-speed-select/isst-config.c char *feature = argv[optind]; argv 1554 tools/power/x86/intel-speed-select/isst-config.c char *cmd = argv[optind + 1]; argv 1576 tools/power/x86/intel-speed-select/isst-config.c parse_cmd_args(argc, optind + 1, argv); argv 1628 tools/power/x86/intel-speed-select/isst-config.c static void cmdline(int argc, char **argv) argv 1645 tools/power/x86/intel-speed-select/isst-config.c progname = argv[0]; argv 1646 tools/power/x86/intel-speed-select/isst-config.c while ((opt = getopt_long_only(argc, argv, "+c:df:hio:v", long_options, argv 1698 tools/power/x86/intel-speed-select/isst-config.c process_command(argc, argv); argv 1704 tools/power/x86/intel-speed-select/isst-config.c int main(int argc, char **argv) argv 1707 tools/power/x86/intel-speed-select/isst-config.c cmdline(argc, argv); argv 5254 tools/power/x86/turbostat/turbostat.c int fork_it(char **argv) argv 5271 tools/power/x86/turbostat/turbostat.c execvp(argv[0], argv); argv 5272 tools/power/x86/turbostat/turbostat.c err(errno, "exec %s", argv[0]); argv 5661 tools/power/x86/turbostat/turbostat.c void cmdline(int argc, char **argv) argv 5686 tools/power/x86/turbostat/turbostat.c progname = argv[0]; argv 5688 tools/power/x86/turbostat/turbostat.c while ((opt = getopt_long_only(argc, argv, "+C:c:Dde:hi:Jn:o:qST:v", argv 5783 tools/power/x86/turbostat/turbostat.c int main(int argc, char **argv) argv 5786 tools/power/x86/turbostat/turbostat.c cmdline(argc, argv); argv 5810 tools/power/x86/turbostat/turbostat.c return fork_it(argv + optind); argv 520 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void cmdline(int argc, char **argv) argv 546 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c progname = argv[0]; argv 548 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c while ((opt = getopt_long_only(argc, argv, "+a:c:dD:E:e:f:m:M:rt:u:vw:", argv 617 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c new_epb = parse_cmdline_epb(parse_optarg_string(argv[optind])); argv 620 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c fprintf(stderr, "stray parameter '%s'\n", argv[optind + 1]); argv 1374 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int main(int argc, char **argv) argv 1382 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c cmdline(argc, argv); argv 106 tools/spi/spidev_fdx.c int main(int argc, char **argv) argv 114 tools/spi/spidev_fdx.c while ((c = getopt(argc, argv, "hm:r:v")) != EOF) { argv 134 tools/spi/spidev_fdx.c argv[0]); argv 141 tools/spi/spidev_fdx.c name = argv[optind]; argv 190 tools/spi/spidev_test.c static void parse_opts(int argc, char *argv[]) argv 217 tools/spi/spidev_test.c c = getopt_long(argc, argv, "D:s:d:b:i:o:lHOLC3NR24p:vS:I:", argv 285 tools/spi/spidev_test.c print_usage(argv[0]); argv 401 tools/spi/spidev_test.c int main(int argc, char *argv[]) argv 406 tools/spi/spidev_test.c parse_opts(argc, argv); argv 284 tools/testing/radix-tree/main.c int main(int argc, char **argv) argv 290 tools/testing/radix-tree/main.c while ((opt = getopt(argc, argv, "ls:v")) != -1) { argv 23 tools/testing/selftests/android/ion/ionapp_export.c void print_usage(int argc, char *argv[]) argv 26 tools/testing/selftests/android/ion/ionapp_export.c argv[0]); argv 29 tools/testing/selftests/android/ion/ionapp_export.c int main(int argc, char *argv[]) argv 39 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argv 47 tools/testing/selftests/android/ion/ionapp_export.c while ((opt = getopt(argc, argv, "hi:s:")) != -1) { argv 50 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argv 71 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argv 79 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argv 58 tools/testing/selftests/bpf/flow_dissector_load.c static void parse_opts(int argc, char **argv) argv 64 tools/testing/selftests/bpf/flow_dissector_load.c while ((c = getopt(argc, argv, "adp:s:")) != -1) { argv 101 tools/testing/selftests/bpf/flow_dissector_load.c int main(int argc, char **argv) argv 103 tools/testing/selftests/bpf/flow_dissector_load.c parse_opts(argc, argv); argv 48 tools/testing/selftests/bpf/get_cgroup_id_user.c int main(int argc, char **argv) argv 140 tools/testing/selftests/bpf/get_cgroup_id_user.c printf("%s:PASS\n", argv[0]); argv 698 tools/testing/selftests/bpf/test_align.c int main(int argc, char **argv) argv 703 tools/testing/selftests/bpf/test_align.c unsigned int l = atoi(argv[argc - 2]); argv 704 tools/testing/selftests/bpf/test_align.c unsigned int u = atoi(argv[argc - 1]); argv 711 tools/testing/selftests/bpf/test_align.c unsigned int t = atoi(argv[argc - 1]); argv 6896 tools/testing/selftests/bpf/test_btf.c static int parse_args(int argc, char **argv) argv 6901 tools/testing/selftests/bpf/test_btf.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 6930 tools/testing/selftests/bpf/test_btf.c usage(argv[0]); argv 6933 tools/testing/selftests/bpf/test_btf.c usage(argv[0]); argv 6987 tools/testing/selftests/bpf/test_btf.c int main(int argc, char **argv) argv 6991 tools/testing/selftests/bpf/test_btf.c err = parse_args(argc, argv); argv 16 tools/testing/selftests/bpf/test_cgroup_storage.c int main(int argc, char **argv) argv 23 tools/testing/selftests/bpf/test_dev_cgroup.c int main(int argc, char **argv) argv 622 tools/testing/selftests/bpf/test_flow_dissector.c static void parse_opts(int argc, char **argv) argv 626 tools/testing/selftests/bpf/test_flow_dissector.c while ((c = getopt(argc, argv, "d:D:e:f:Fhi:l:n:o:O:Rs:S:t:Tx:X:")) != -1) { argv 654 tools/testing/selftests/bpf/test_flow_dissector.c usage(argv[0]); argv 663 tools/testing/selftests/bpf/test_flow_dissector.c usage(argv[0]); argv 671 tools/testing/selftests/bpf/test_flow_dissector.c usage(argv[0]); argv 680 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_outer = parse_protocol_family(argv[0], optarg); argv 683 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_extra = parse_protocol_family(argv[0], optarg); argv 775 tools/testing/selftests/bpf/test_flow_dissector.c int main(int argc, char **argv) argv 777 tools/testing/selftests/bpf/test_flow_dissector.c parse_opts(argc, argv); argv 370 tools/testing/selftests/bpf/test_hashmap.c int main(int argc, char **argv) argv 23 tools/testing/selftests/bpf/test_libbpf_open.c static void usage(char *argv[]) argv 28 tools/testing/selftests/bpf/test_libbpf_open.c printf(" Usage: %s (options-see-below) BPF_FILE\n", argv[0]); argv 111 tools/testing/selftests/bpf/test_libbpf_open.c int main(int argc, char **argv) argv 121 tools/testing/selftests/bpf/test_libbpf_open.c while ((opt = getopt_long(argc, argv, "hDq", argv 132 tools/testing/selftests/bpf/test_libbpf_open.c usage(argv); argv 137 tools/testing/selftests/bpf/test_libbpf_open.c usage(argv); argv 141 tools/testing/selftests/bpf/test_libbpf_open.c snprintf(filename, sizeof(filename), "%s", argv[optind]); argv 48 tools/testing/selftests/bpf/test_lirc_mode2_user.c int main(int argc, char **argv) argv 57 tools/testing/selftests/bpf/test_lirc_mode2_user.c printf("Usage: %s /dev/lircN /dev/input/eventM\n", argv[0]); argv 68 tools/testing/selftests/bpf/test_lirc_mode2_user.c lircfd = open(argv[1], O_RDWR | O_NONBLOCK); argv 70 tools/testing/selftests/bpf/test_lirc_mode2_user.c printf("failed to open lirc device %s: %m\n", argv[1]); argv 81 tools/testing/selftests/bpf/test_lirc_mode2_user.c inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); argv 83 tools/testing/selftests/bpf/test_lirc_mode2_user.c printf("failed to open input device %s: %m\n", argv[1]); argv 870 tools/testing/selftests/bpf/test_lru_map.c int main(int argc, char **argv) argv 34 tools/testing/selftests/bpf/test_netcnt.c int main(int argc, char **argv) argv 528 tools/testing/selftests/bpf/test_progs.c int main(int argc, char **argv) argv 537 tools/testing/selftests/bpf/test_progs.c err = argp_parse(&argp, argc, argv, 0, NULL, &env); argv 230 tools/testing/selftests/bpf/test_section_names.c int main(int argc, char **argv) argv 740 tools/testing/selftests/bpf/test_select_reuseport.c int main(int argc, const char **argv) argv 153 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c int main(int argc, char **argv) argv 159 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c fprintf(stderr, "Usage: %s iface prog_id\n", argv[0]); argv 173 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c if (send_packet(argv[1])) argv 176 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c if (check_ancestor_cgroup_ids(atoi(argv[2]))) argv 462 tools/testing/selftests/bpf/test_sock.c int main(int argc, char **argv) argv 1611 tools/testing/selftests/bpf/test_sock_addr.c int main(int argc, char **argv) argv 1619 tools/testing/selftests/bpf/test_sock_addr.c argv[0], argv[0]); argv 412 tools/testing/selftests/bpf/test_sock_fields.c int main(int argc, char **argv) argv 189 tools/testing/selftests/bpf/test_socket_cookie.c int main(int argc, char **argv) argv 117 tools/testing/selftests/bpf/test_sockmap.c static void usage(char *argv[]) argv 121 tools/testing/selftests/bpf/test_sockmap.c printf(" Usage: %s --cgroup <cgroup_path>\n", argv[0]); argv 1734 tools/testing/selftests/bpf/test_sockmap.c int main(int argc, char **argv) argv 1745 tools/testing/selftests/bpf/test_sockmap.c while ((opt = getopt_long(argc, argv, ":dhvc:r:i:l:t:p:q:", argv 1808 tools/testing/selftests/bpf/test_sockmap.c usage(argv); argv 1816 tools/testing/selftests/bpf/test_sockmap.c usage(argv); argv 1826 tools/testing/selftests/bpf/test_sockmap.c argv[0]); argv 1594 tools/testing/selftests/bpf/test_sysctl.c int main(int argc, char **argv) argv 202 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c int main(int argc, char **argv) argv 213 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c fprintf(stderr, "Usage: %s prog_id\n", argv[0]); argv 217 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c results = get_map_fd_by_prog_id(atoi(argv[1]), &xdp); argv 90 tools/testing/selftests/bpf/test_tcpbpf_user.c int main(int argc, char **argv) argv 70 tools/testing/selftests/bpf/test_tcpnotify_user.c int main(int argc, char **argv) argv 1135 tools/testing/selftests/bpf/test_verifier.c int main(int argc, char **argv) argv 1141 tools/testing/selftests/bpf/test_verifier.c if (argc > 1 && strcmp(argv[1], "-v") == 0) { argv 1148 tools/testing/selftests/bpf/test_verifier.c unsigned int l = atoi(argv[arg]); argv 1149 tools/testing/selftests/bpf/test_verifier.c unsigned int u = atoi(argv[arg + 1]); argv 1156 tools/testing/selftests/bpf/test_verifier.c unsigned int t = atoi(argv[arg]); argv 135 tools/testing/selftests/bpf/test_verifier_log.c int main(int argc, char **argv) argv 20 tools/testing/selftests/bpf/urandom_read.c int main(int argc, char *argv[]) argv 29 tools/testing/selftests/bpf/urandom_read.c count = atoi(argv[1]); argv 87 tools/testing/selftests/bpf/xdping.c int main(int argc, char **argv) argv 107 tools/testing/selftests/bpf/xdping.c while ((opt = getopt(argc, argv, optstr)) != -1) { argv 138 tools/testing/selftests/bpf/xdping.c show_usage(basename(argv[0])); argv 144 tools/testing/selftests/bpf/xdping.c show_usage(basename(argv[0])); argv 148 tools/testing/selftests/bpf/xdping.c show_usage(basename(argv[0])); argv 154 tools/testing/selftests/bpf/xdping.c show_usage(basename(argv[0])); argv 160 tools/testing/selftests/bpf/xdping.c if (getaddrinfo(argv[optind], NULL, &hints, &a) || !a) { argv 161 tools/testing/selftests/bpf/xdping.c fprintf(stderr, "Could not resolve %s\n", argv[optind]); argv 174 tools/testing/selftests/bpf/xdping.c snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); argv 239 tools/testing/selftests/bpf/xdping.c count, ifname, argv[optind]); argv 387 tools/testing/selftests/breakpoints/breakpoint_test.c int main(int argc, char **argv) argv 199 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c int main(int argc, char **argv) argv 162 tools/testing/selftests/breakpoints/step_after_suspend_test.c int main(int argc, char **argv) argv 174 tools/testing/selftests/breakpoints/step_after_suspend_test.c while ((opt = getopt(argc, argv, "n")) != -1) { argv 180 tools/testing/selftests/breakpoints/step_after_suspend_test.c printf("Usage: %s [-n]\n", argv[0]); argv 429 tools/testing/selftests/capabilities/test_execve.c int main(int argc, char **argv) argv 434 tools/testing/selftests/capabilities/test_execve.c tmp1 = strdup(argv[0]); argv 24 tools/testing/selftests/capabilities/validate_cap.c static bool bool_arg(char **argv, int i) argv 26 tools/testing/selftests/capabilities/validate_cap.c if (!strcmp(argv[i], "0")) argv 28 tools/testing/selftests/capabilities/validate_cap.c else if (!strcmp(argv[i], "1")) argv 36 tools/testing/selftests/capabilities/validate_cap.c int main(int argc, char **argv) argv 57 tools/testing/selftests/capabilities/validate_cap.c if (capng_have_capability(CAPNG_EFFECTIVE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 1)) { argv 62 tools/testing/selftests/capabilities/validate_cap.c if (capng_have_capability(CAPNG_PERMITTED, CAP_NET_BIND_SERVICE) != bool_arg(argv, 2)) { argv 67 tools/testing/selftests/capabilities/validate_cap.c if (capng_have_capability(CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 3)) { argv 72 tools/testing/selftests/capabilities/validate_cap.c if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, 4)) { argv 372 tools/testing/selftests/cgroup/test_core.c int main(int argc, char *argv[]) argv 882 tools/testing/selftests/cgroup/test_freezer.c int main(int argc, char *argv[]) argv 1193 tools/testing/selftests/cgroup/test_memcontrol.c int main(int argc, char **argv) argv 23 tools/testing/selftests/drivers/dma-buf/udmabuf.c int main(int argc, char *argv[]) argv 12 tools/testing/selftests/efivarfs/create-read.c int main(int argc, char **argv) argv 19 tools/testing/selftests/efivarfs/create-read.c fprintf(stderr, "usage: %s <path>\n", argv[0]); argv 23 tools/testing/selftests/efivarfs/create-read.c path = argv[1]; argv 68 tools/testing/selftests/efivarfs/open-unlink.c int main(int argc, char **argv) argv 75 tools/testing/selftests/efivarfs/open-unlink.c fprintf(stderr, "usage: %s <path>\n", argv[0]); argv 79 tools/testing/selftests/efivarfs/open-unlink.c path = argv[1]; argv 26 tools/testing/selftests/exec/execveat.c static char *argv[] = { "execveat", "99", NULL }; argv 28 tools/testing/selftests/exec/execveat.c static int execveat_(int fd, const char *path, char **argv, char **envp, argv 32 tools/testing/selftests/exec/execveat.c return syscall(__NR_execveat, fd, path, argv, envp, flags); argv 49 tools/testing/selftests/exec/execveat.c rc = execveat_(fd, path, argv, envp, flags); argv 86 tools/testing/selftests/exec/execveat.c rc = execveat_(fd, path, argv, envp, flags); argv 389 tools/testing/selftests/exec/execveat.c int main(int argc, char **argv) argv 402 tools/testing/selftests/exec/execveat.c printf(" [%d]='%s'", ii, argv[ii]); argv 413 tools/testing/selftests/exec/execveat.c rc = atoi(argv[argc - 1]); argv 270 tools/testing/selftests/filesystems/binderfs/binderfs_test.c int main(int argc, char *argv[]) argv 280 tools/testing/selftests/filesystems/devpts_pts.c int main(int argc, char *argv[]) argv 359 tools/testing/selftests/futex/functional/futex_requeue_pi.c int main(int argc, char *argv[]) argv 363 tools/testing/selftests/futex/functional/futex_requeue_pi.c while ((c = getopt(argc, argv, "bchlot:v:")) != -1) { argv 372 tools/testing/selftests/futex/functional/futex_requeue_pi.c usage(basename(argv[0])); argv 388 tools/testing/selftests/futex/functional/futex_requeue_pi.c usage(basename(argv[0])); argv 395 tools/testing/selftests/futex/functional/futex_requeue_pi.c ksft_print_msg("%s: Test requeue functionality\n", basename(argv[0])); argv 54 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c int main(int argc, char *argv[]) argv 60 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c while ((c = getopt(argc, argv, "chv:")) != -1) { argv 66 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c usage(basename(argv[0])); argv 72 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c usage(basename(argv[0])); argv 80 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c basename(argv[0])); argv 118 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c int main(int argc, char *argv[]) argv 125 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c while ((c = getopt(argc, argv, "chv:")) != -1) { argv 131 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c usage(basename(argv[0])); argv 137 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c usage(basename(argv[0])); argv 145 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c basename(argv[0])); argv 72 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c int main(int argc, char **argv) argv 79 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c while ((c = getopt(argc, argv, "chv:")) != -1) { argv 85 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c usage(basename(argv[0])); argv 91 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c usage(basename(argv[0])); argv 100 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c basename(argv[0])); argv 40 tools/testing/selftests/futex/functional/futex_wait_timeout.c int main(int argc, char *argv[]) argv 47 tools/testing/selftests/futex/functional/futex_wait_timeout.c while ((c = getopt(argc, argv, "cht:v:")) != -1) { argv 53 tools/testing/selftests/futex/functional/futex_wait_timeout.c usage(basename(argv[0])); argv 62 tools/testing/selftests/futex/functional/futex_wait_timeout.c usage(basename(argv[0])); argv 70 tools/testing/selftests/futex/functional/futex_wait_timeout.c basename(argv[0])); argv 66 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c int main(int argc, char **argv) argv 72 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c while ((c = getopt(argc, argv, "chv:")) != -1) { argv 78 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c usage(basename(argv[0])); argv 84 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c usage(basename(argv[0])); argv 101 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c basename(argv[0])); argv 39 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c int main(int argc, char *argv[]) argv 46 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c while ((c = getopt(argc, argv, "cht:v:")) != -1) { argv 52 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c usage(basename(argv[0])); argv 58 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c usage(basename(argv[0])); argv 66 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c basename(argv[0])); argv 270 tools/testing/selftests/gpio/gpio-mockup-chardev.c int main(int argc, char *argv[]) argv 280 tools/testing/selftests/gpio/gpio-mockup-chardev.c printf("Usage: %s prefix is_valid", argv[0]); argv 284 tools/testing/selftests/gpio/gpio-mockup-chardev.c prefix = argv[1]; argv 285 tools/testing/selftests/gpio/gpio-mockup-chardev.c valid = strcmp(argv[2], "true") == 0 ? 1 : 0; argv 19 tools/testing/selftests/intel_pstate/aperf.c int main(int argc, char **argv) { argv 30 tools/testing/selftests/intel_pstate/aperf.c usage(argv[0]); argv 35 tools/testing/selftests/intel_pstate/aperf.c cpu = strtol(argv[1], (char **) NULL, 10); argv 38 tools/testing/selftests/intel_pstate/aperf.c usage(argv[0]); argv 14 tools/testing/selftests/intel_pstate/msr.c int main(int argc, char **argv) { argv 23 tools/testing/selftests/intel_pstate/msr.c cpu = strtol(argv[1], (char **) NULL, 10); argv 195 tools/testing/selftests/ipc/msgque.c int main(int argc, char **argv) argv 204 tools/testing/selftests/ipc/msgque.c msgque.key = ftok(argv[0], 822155650); argv 94 tools/testing/selftests/ir/ir_loopback.c int main(int argc, char **argv) argv 104 tools/testing/selftests/ir/ir_loopback.c argv[0]); argv 106 tools/testing/selftests/ir/ir_loopback.c rlircfd = lirc_open(argv[2]); argv 110 tools/testing/selftests/ir/ir_loopback.c argv[2]); argv 112 tools/testing/selftests/ir/ir_loopback.c wlircfd = lirc_open(argv[1]); argv 115 tools/testing/selftests/ir/ir_loopback.c argv[1]); argv 117 tools/testing/selftests/ir/ir_loopback.c snprintf(buf, sizeof(buf), "/sys/class/rc/%s/protocols", argv[2]); argv 122 tools/testing/selftests/ir/ir_loopback.c printf("Sending IR on %s and receiving IR on %s.\n", argv[1], argv[2]); argv 30 tools/testing/selftests/kcmp/kcmp_test.c int main(int argc, char **argv) argv 342 tools/testing/selftests/kselftest_harness.h int main(int argc, char **argv) { \ argv 343 tools/testing/selftests/kselftest_harness.h return test_harness_run(argc, argv); \ argv 759 tools/testing/selftests/kselftest_harness.h char __attribute__((unused)) **argv) argv 428 tools/testing/selftests/kvm/dirty_log_test.c int main(int argc, char *argv[]) argv 466 tools/testing/selftests/kvm/dirty_log_test.c while ((opt = getopt(argc, argv, "hi:I:p:m:")) != -1) { argv 490 tools/testing/selftests/kvm/dirty_log_test.c help(argv[0]); argv 42 tools/testing/selftests/kvm/kvm_create_max_vcpus.c int main(int argc, char *argv[]) argv 32 tools/testing/selftests/kvm/s390x/memop.c int main(int argc, char *argv[]) argv 66 tools/testing/selftests/kvm/s390x/sync_regs_test.c int main(int argc, char *argv[]) argv 64 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c int main(int argc, char *argv[]) argv 72 tools/testing/selftests/kvm/x86_64/evmcs_test.c int main(int argc, char *argv[]) argv 133 tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c int main(int argc, char *argv[]) argv 81 tools/testing/selftests/kvm/x86_64/platform_info_test.c int main(int argc, char *argv[]) argv 27 tools/testing/selftests/kvm/x86_64/set_sregs_test.c int main(int argc, char *argv[]) argv 88 tools/testing/selftests/kvm/x86_64/smm_test.c int main(int argc, char *argv[]) argv 120 tools/testing/selftests/kvm/x86_64/state_test.c int main(int argc, char *argv[]) argv 80 tools/testing/selftests/kvm/x86_64/sync_regs_test.c int main(int argc, char *argv[]) argv 53 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c int main(int argc, char *argv[]) argv 69 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c int main(int argc, char *argv[]) argv 223 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c int main(int argc, char *argv[]) argv 128 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c int main(int argc, char *argv[]) argv 39 tools/testing/selftests/media_tests/media_device_open.c int main(int argc, char **argv) argv 49 tools/testing/selftests/media_tests/media_device_open.c printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]); argv 54 tools/testing/selftests/media_tests/media_device_open.c while ((opt = getopt(argc, argv, "d:")) != -1) { argv 61 tools/testing/selftests/media_tests/media_device_open.c printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]); argv 44 tools/testing/selftests/media_tests/media_device_test.c int main(int argc, char **argv) argv 54 tools/testing/selftests/media_tests/media_device_test.c printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]); argv 59 tools/testing/selftests/media_tests/media_device_test.c while ((opt = getopt(argc, argv, "d:")) != -1) { argv 66 tools/testing/selftests/media_tests/media_device_test.c printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]); argv 40 tools/testing/selftests/media_tests/video_device_test.c int main(int argc, char **argv) argv 51 tools/testing/selftests/media_tests/video_device_test.c printf("Usage: %s [-d </dev/videoX>]\n", argv[0]); argv 56 tools/testing/selftests/media_tests/video_device_test.c while ((opt = getopt(argc, argv, "d:")) != -1) { argv 63 tools/testing/selftests/media_tests/video_device_test.c printf("Usage: %s [-d </dev/videoX>]\n", argv[0]); argv 62 tools/testing/selftests/membarrier/membarrier_test_multi_thread.c int main(int argc, char **argv) argv 12 tools/testing/selftests/membarrier/membarrier_test_single_thread.c int main(int argc, char **argv) argv 108 tools/testing/selftests/memfd/fuse_mnt.c int main(int argc, char *argv[]) argv 110 tools/testing/selftests/memfd/fuse_mnt.c return fuse_main(argc, argv, &memfd_ops, NULL); argv 227 tools/testing/selftests/memfd/fuse_test.c int main(int argc, char **argv) argv 241 tools/testing/selftests/memfd/fuse_test.c if (!strcmp(argv[2], "hugetlbfs")) { argv 252 tools/testing/selftests/memfd/fuse_test.c printf("Unknown option: %s\n", argv[2]); argv 260 tools/testing/selftests/memfd/fuse_test.c printf("opening: %s\n", argv[1]); argv 261 tools/testing/selftests/memfd/fuse_test.c fd = open(argv[1], O_RDONLY | O_CLOEXEC); argv 263 tools/testing/selftests/memfd/fuse_test.c printf("cannot open(\"%s\"): %m\n", argv[1]); argv 995 tools/testing/selftests/memfd/memfd_test.c int main(int argc, char **argv) argv 1000 tools/testing/selftests/memfd/memfd_test.c if (!strcmp(argv[1], "hugetlbfs")) { argv 1012 tools/testing/selftests/memfd/memfd_test.c printf("Unknown option: %s\n", argv[1]); argv 319 tools/testing/selftests/mount/unprivileged-remount-test.c int main(int argc, char **argv) argv 239 tools/testing/selftests/mqueue/mq_open_tests.c int main(int argc, char *argv[]) argv 253 tools/testing/selftests/mqueue/mq_open_tests.c if (*argv[1] == '/') argv 254 tools/testing/selftests/mqueue/mq_open_tests.c queue_path = strdup(argv[1]); argv 256 tools/testing/selftests/mqueue/mq_open_tests.c queue_path = malloc(strlen(argv[1]) + 2); argv 263 tools/testing/selftests/mqueue/mq_open_tests.c strcat(queue_path, argv[1]); argv 538 tools/testing/selftests/mqueue/mq_perf_tests.c int main(int argc, char *argv[]) argv 563 tools/testing/selftests/mqueue/mq_perf_tests.c popt_context = poptGetContext(NULL, argc, (const char **)argv, argv 431 tools/testing/selftests/net/ip_defrag.c static void parse_opts(int argc, char **argv) argv 435 tools/testing/selftests/net/ip_defrag.c while ((c = getopt(argc, argv, "46opv")) != -1) { argv 453 tools/testing/selftests/net/ip_defrag.c error(1, 0, "%s: parse error", argv[0]); argv 458 tools/testing/selftests/net/ip_defrag.c int main(int argc, char **argv) argv 460 tools/testing/selftests/net/ip_defrag.c parse_opts(argc, argv); argv 164 tools/testing/selftests/net/ipv6_flowlabel.c static void parse_opts(int argc, char **argv) argv 168 tools/testing/selftests/net/ipv6_flowlabel.c while ((c = getopt(argc, argv, "l:")) != -1) { argv 174 tools/testing/selftests/net/ipv6_flowlabel.c error(1, 0, "%s: parse error", argv[0]); argv 179 tools/testing/selftests/net/ipv6_flowlabel.c int main(int argc, char **argv) argv 189 tools/testing/selftests/net/ipv6_flowlabel.c parse_opts(argc, argv); argv 165 tools/testing/selftests/net/ipv6_flowlabel_mgr.c static void parse_opts(int argc, char **argv) argv 169 tools/testing/selftests/net/ipv6_flowlabel_mgr.c while ((c = getopt(argc, argv, "lv")) != -1) { argv 178 tools/testing/selftests/net/ipv6_flowlabel_mgr.c error(1, 0, "%s: parse error", argv[0]); argv 183 tools/testing/selftests/net/ipv6_flowlabel_mgr.c int main(int argc, char **argv) argv 187 tools/testing/selftests/net/ipv6_flowlabel_mgr.c parse_opts(argc, argv); argv 700 tools/testing/selftests/net/msg_zerocopy.c static void parse_opts(int argc, char **argv) argv 712 tools/testing/selftests/net/msg_zerocopy.c while ((c = getopt(argc, argv, "46c:C:D:i:mp:rs:S:t:vz")) != -1) { argv 767 tools/testing/selftests/net/msg_zerocopy.c cfg_test = argv[argc - 1]; argv 783 tools/testing/selftests/net/msg_zerocopy.c usage(argv[0]); argv 786 tools/testing/selftests/net/msg_zerocopy.c int main(int argc, char **argv) argv 790 tools/testing/selftests/net/msg_zerocopy.c parse_opts(argc, argv); argv 792 tools/testing/selftests/net/msg_zerocopy.c cfg_test = argv[argc - 1]; argv 1566 tools/testing/selftests/net/nettest.c int main(int argc, char *argv[]) argv 1585 tools/testing/selftests/net/nettest.c while ((rc = getopt(argc, argv, GETOPT_STR)) != -1) { argv 1703 tools/testing/selftests/net/nettest.c print_usage(argv[0]); argv 414 tools/testing/selftests/net/psock_fanout.c int main(int argc, char **argv) argv 308 tools/testing/selftests/net/psock_snd.c static void parse_opts(int argc, char **argv) argv 312 tools/testing/selftests/net/psock_snd.c while ((c = getopt(argc, argv, "bcCdgl:qt:vV")) != -1) { argv 345 tools/testing/selftests/net/psock_snd.c error(1, 0, "%s: parse error", argv[0]); argv 384 tools/testing/selftests/net/psock_snd.c int main(int argc, char **argv) argv 386 tools/testing/selftests/net/psock_snd.c parse_opts(argc, argv); argv 307 tools/testing/selftests/net/so_txtime.c static void parse_opts(int argc, char **argv) argv 311 tools/testing/selftests/net/so_txtime.c while ((c = getopt(argc, argv, "46c:")) != -1) { argv 334 tools/testing/selftests/net/so_txtime.c error(1, 0, "Usage: %s [-46] -c <clock> <in> <out>", argv[0]); argv 336 tools/testing/selftests/net/so_txtime.c ilen = parse_io(argv[optind], cfg_in); argv 337 tools/testing/selftests/net/so_txtime.c olen = parse_io(argv[optind + 1], cfg_out); argv 343 tools/testing/selftests/net/so_txtime.c int main(int argc, char **argv) argv 345 tools/testing/selftests/net/so_txtime.c parse_opts(argc, argv); argv 296 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void parse_opts(int argc, char **argv) argv 300 tools/testing/selftests/net/tcp_fastopen_backup_key.c while ((c = getopt(argc, argv, "46sr")) != -1) { argv 316 tools/testing/selftests/net/tcp_fastopen_backup_key.c error(1, 0, "%s: parse error", argv[0]); argv 321 tools/testing/selftests/net/tcp_fastopen_backup_key.c int main(int argc, char **argv) argv 323 tools/testing/selftests/net/tcp_fastopen_backup_key.c parse_opts(argc, argv); argv 96 tools/testing/selftests/net/tcp_inq.c int main(int argc, char *argv[]) argv 108 tools/testing/selftests/net/tcp_inq.c while ((c = getopt(argc, argv, "46p:")) != -1) { argv 301 tools/testing/selftests/net/tcp_mmap.c int main(int argc, char *argv[]) argv 312 tools/testing/selftests/net/tcp_mmap.c while ((c = getopt(argc, argv, "46p:svr:w:H:zxkP:M:")) != -1) { argv 158 tools/testing/selftests/net/txring_overwrite.c int main(int argc, char **argv) argv 641 tools/testing/selftests/net/udpgso.c static void parse_opts(int argc, char **argv) argv 645 tools/testing/selftests/net/udpgso.c while ((c = getopt(argc, argv, "46cCmst:")) != -1) { argv 669 tools/testing/selftests/net/udpgso.c error(1, 0, "%s: parse error", argv[0]); argv 674 tools/testing/selftests/net/udpgso.c int main(int argc, char **argv) argv 676 tools/testing/selftests/net/udpgso.c parse_opts(argc, argv); argv 291 tools/testing/selftests/net/udpgso_bench_rx.c static void parse_opts(int argc, char **argv) argv 297 tools/testing/selftests/net/udpgso_bench_rx.c while ((c = getopt(argc, argv, "4b:C:Gl:n:p:rR:S:tv")) != -1) { argv 342 tools/testing/selftests/net/udpgso_bench_rx.c usage(argv[0]); argv 394 tools/testing/selftests/net/udpgso_bench_rx.c int main(int argc, char **argv) argv 396 tools/testing/selftests/net/udpgso_bench_rx.c parse_opts(argc, argv); argv 420 tools/testing/selftests/net/udpgso_bench_tx.c static void parse_opts(int argc, char **argv) argv 425 tools/testing/selftests/net/udpgso_bench_tx.c while ((c = getopt(argc, argv, "46acC:D:Hl:mM:p:s:PS:tTuvz")) != -1) { argv 496 tools/testing/selftests/net/udpgso_bench_tx.c usage(argv[0]); argv 609 tools/testing/selftests/net/udpgso_bench_tx.c int main(int argc, char **argv) argv 615 tools/testing/selftests/net/udpgso_bench_tx.c parse_opts(argc, argv); argv 86 tools/testing/selftests/networking/timestamping/hwtstamp_config.c int main(int argc, char **argv) argv 93 tools/testing/selftests/networking/timestamping/hwtstamp_config.c if ((argc != 2 && argc != 4) || (strlen(argv[1]) >= IFNAMSIZ)) { argv 100 tools/testing/selftests/networking/timestamping/hwtstamp_config.c config.tx_type = lookup_value(tx_types, N_TX_TYPES, argv[2]); argv 101 tools/testing/selftests/networking/timestamping/hwtstamp_config.c config.rx_filter = lookup_value(rx_filters, N_RX_FILTERS, argv[3]); argv 114 tools/testing/selftests/networking/timestamping/hwtstamp_config.c strcpy(ifr.ifr_name, argv[1]); argv 326 tools/testing/selftests/networking/timestamping/rxtimestamp.c int main(int argc, char **argv) argv 335 tools/testing/selftests/networking/timestamping/rxtimestamp.c while ((opt = getopt_long(argc, argv, "", long_options, argv 295 tools/testing/selftests/networking/timestamping/timestamping.c int main(int argc, char **argv) argv 319 tools/testing/selftests/networking/timestamping/timestamping.c interface = argv[1]; argv 322 tools/testing/selftests/networking/timestamping/timestamping.c if (!strcasecmp(argv[i], "SO_TIMESTAMP")) argv 324 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SO_TIMESTAMPNS")) argv 326 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SIOCGSTAMP")) argv 328 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SIOCGSTAMPNS")) argv 330 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "IP_MULTICAST_LOOP")) argv 332 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_HARDWARE")) argv 334 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_SOFTWARE")) argv 336 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_HARDWARE")) argv 338 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_SOFTWARE")) argv 340 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_SOFTWARE")) argv 342 tools/testing/selftests/networking/timestamping/timestamping.c else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RAW_HARDWARE")) argv 345 tools/testing/selftests/networking/timestamping/timestamping.c usage(argv[i]); argv 570 tools/testing/selftests/networking/timestamping/txtimestamp.c static void parse_opt(int argc, char **argv) argv 575 tools/testing/selftests/networking/timestamping/txtimestamp.c while ((c = getopt(argc, argv, "46c:CDFhIl:Lnp:PrRuv:V:x")) != -1) { argv 642 tools/testing/selftests/networking/timestamping/txtimestamp.c usage(argv[0]); argv 751 tools/testing/selftests/networking/timestamping/txtimestamp.c int main(int argc, char **argv) argv 754 tools/testing/selftests/networking/timestamping/txtimestamp.c usage(argv[0]); argv 756 tools/testing/selftests/networking/timestamping/txtimestamp.c parse_opt(argc, argv); argv 757 tools/testing/selftests/networking/timestamping/txtimestamp.c resolve_hostname(argv[argc - 1]); argv 41 tools/testing/selftests/nsfs/pidns.c int main(int argc, char *argv[]) argv 122 tools/testing/selftests/pidfd/pidfd_open_test.c int main(int argc, char **argv) argv 27 tools/testing/selftests/pidfd/pidfd_poll_test.c int main(int argc, char **argv) argv 39 tools/testing/selftests/pidfd/pidfd_poll_test.c nr_iterations = atoi(argv[1]); argv 42 tools/testing/selftests/pidfd/pidfd_poll_test.c argv[1]); argv 521 tools/testing/selftests/pidfd/pidfd_test.c int main(int argc, char **argv) argv 262 tools/testing/selftests/pidfd/pidfd_wait.c int main(int argc, char **argv) argv 519 tools/testing/selftests/powerpc/alignment/alignment_handler.c int main(int argc, char *argv[]) argv 526 tools/testing/selftests/powerpc/alignment/alignment_handler.c while ((option = getopt(argc, argv, "d")) != -1) { argv 532 tools/testing/selftests/powerpc/alignment/alignment_handler.c usage(argv[0]); argv 64 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c int main(int argc, char *argv[]) argv 404 tools/testing/selftests/powerpc/benchmarks/context_switch.c int main(int argc, char *argv[]) argv 415 tools/testing/selftests/powerpc/benchmarks/context_switch.c c = getopt_long(argc, argv, "", options, &option_index); argv 460 tools/testing/selftests/powerpc/benchmarks/context_switch.c cpu1 = atoi(argv[optind++]); argv 461 tools/testing/selftests/powerpc/benchmarks/context_switch.c cpu2 = atoi(argv[optind++]); argv 77 tools/testing/selftests/powerpc/benchmarks/fork.c char *const argv[] = { "./exec_target", NULL }; argv 79 tools/testing/selftests/powerpc/benchmarks/fork.c if (execve("./exec_target", argv, NULL) == -1) { argv 229 tools/testing/selftests/powerpc/benchmarks/fork.c int main(int argc, char *argv[]) argv 236 tools/testing/selftests/powerpc/benchmarks/fork.c c = getopt_long(argc, argv, "", options, &option_index); argv 270 tools/testing/selftests/powerpc/benchmarks/fork.c char *dirname = strdup(argv[0]); argv 293 tools/testing/selftests/powerpc/benchmarks/fork.c cpu = atoi(argv[optind++]); argv 297 tools/testing/selftests/powerpc/benchmarks/fork.c exec_file = argv[0]; argv 60 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c int main(int argc, char *argv[]) argv 66 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c c = getopt_long(argc, argv, "", options, &option_index); argv 121 tools/testing/selftests/powerpc/dscr/dscr_default_test.c int main(int argc, char *argv[]) argv 65 tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c int main(int argc, char *argv[]) argv 92 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c int main(int argc, char *argv[]) argv 94 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c if (argc == 3 && !strcmp(argv[1], "exec")) { argv 97 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c parent_dscr = atoi(argv[2]); argv 100 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c fprintf(stderr, "Usage: %s\n", argv[0]); argv 104 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c prog = argv[0]; argv 81 tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c int main(int argc, char *argv[]) argv 95 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c int main(int argc, char *argv[]) argv 74 tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c int main(int argc, char *argv[]) argv 55 tools/testing/selftests/powerpc/dscr/dscr_user_test.c int main(int argc, char *argv[]) argv 106 tools/testing/selftests/powerpc/math/fpu_preempt.c int main(int argc, char *argv[]) argv 128 tools/testing/selftests/powerpc/math/fpu_signal.c int main(int argc, char *argv[]) argv 82 tools/testing/selftests/powerpc/math/fpu_syscall.c int main(int argc, char *argv[]) argv 105 tools/testing/selftests/powerpc/math/vmx_preempt.c int main(int argc, char *argv[]) argv 149 tools/testing/selftests/powerpc/math/vmx_signal.c int main(int argc, char *argv[]) argv 83 tools/testing/selftests/powerpc/math/vmx_syscall.c int main(int argc, char *argv[]) argv 140 tools/testing/selftests/powerpc/math/vsx_preempt.c int main(int argc, char *argv[]) argv 222 tools/testing/selftests/powerpc/mm/subpage_prot.c int main(int argc, char *argv[]) argv 231 tools/testing/selftests/powerpc/mm/subpage_prot.c file_name = argv[1]; argv 613 tools/testing/selftests/powerpc/mm/tlbie_test.c int main(int argc, char *argv[]) argv 626 tools/testing/selftests/powerpc/mm/tlbie_test.c while ((c = getopt(argc, argv, "r:hn:l:t:")) != -1) { argv 632 tools/testing/selftests/powerpc/mm/tlbie_test.c printf("%s [-r <start_cpu>] [-n <nrthreads>] [-l <logdir>] [-t <timeout>]\n", argv[0]); argv 459 tools/testing/selftests/powerpc/ptrace/core-pkey.c int main(int argc, char *argv[]) argv 188 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c int main(int argc, char *argv[], char **envp) argv 116 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c int main(int argc, char *argv[]) argv 339 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c int main(int argc, char **argv, char **envp) argv 328 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c int main(int argc, char *argv[]) argv 128 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c int main(int argc, char *argv[]) argv 151 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c int main(int argc, char *argv[]) argv 162 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c int main(int argc, char *argv[]) argv 167 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c int main(int argc, char *argv[]) argv 177 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c int main(int argc, char *argv[]) argv 160 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c int main(int argc, char *argv[]) argv 153 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c int main(int argc, char *argv[]) argv 160 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c int main(int argc, char *argv[]) argv 110 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c int main(int argc, char *argv[]) argv 137 tools/testing/selftests/powerpc/security/rfi_flush.c int main(int argc, char *argv[]) argv 288 tools/testing/selftests/powerpc/signal/sigfuz.c int main(int argc, char **argv) argv 292 tools/testing/selftests/powerpc/signal/sigfuz.c while ((opt = getopt(argc, argv, "bamxt:fi:h")) != -1) { argv 316 tools/testing/selftests/powerpc/signal/sigfuz.c show_help(argv[0]); argv 58 tools/testing/selftests/powerpc/tm/tm-exec.c int main(int argc, char *argv[]) argv 60 tools/testing/selftests/powerpc/tm/tm-exec.c path = argv[0]; argv 62 tools/testing/selftests/powerpc/tm/tm-exec.c if (argc > 1 && strcmp(argv[1], "--child") == 0) argv 39 tools/testing/selftests/powerpc/tm/tm-fork.c int main(int argc, char *argv[]) argv 174 tools/testing/selftests/powerpc/tm/tm-poison.c int main(int argc, char *argv[]) argv 97 tools/testing/selftests/powerpc/tm/tm-resched-dscr.c int main(int argc, const char *argv[]) argv 181 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c int main(int argc, char **argv) argv 46 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c int main(int argc, char **argv) argv 75 tools/testing/selftests/powerpc/tm/tm-tar.c int main(int argc, char *argv[]) argv 79 tools/testing/selftests/powerpc/tm/tm-tar.c if (strcmp(argv[1], "-h") == 0) { argv 81 tools/testing/selftests/powerpc/tm/tm-tar.c argv[0]); argv 84 tools/testing/selftests/powerpc/tm/tm-tar.c num_loops = atoi(argv[1]); argv 138 tools/testing/selftests/powerpc/tm/tm-tmspr.c int main(int argc, char *argv[]) argv 141 tools/testing/selftests/powerpc/tm/tm-tmspr.c if (strcmp(argv[1], "-h") == 0) { argv 145 tools/testing/selftests/powerpc/tm/tm-tmspr.c num_loops = atoi(argv[1]); argv 328 tools/testing/selftests/powerpc/tm/tm-trap.c int main(int argc, char **argv) argv 403 tools/testing/selftests/powerpc/tm/tm-unavailable.c int main(int argc, char **argv) argv 115 tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c int main(int argc, char **argv) argv 408 tools/testing/selftests/powerpc/vphn/test-vphn.c int main(int argc, char **argv) argv 49 tools/testing/selftests/proc/proc-pid-vm.c static inline long sys_execveat(int dirfd, const char *pathname, char **argv, char **envp, int flags) argv 51 tools/testing/selftests/proc/proc-pid-vm.c return syscall(SYS_execveat, dirfd, pathname, argv, envp, flags); argv 144 tools/testing/selftests/ptp/testptp.c int main(int argc, char *argv[]) argv 181 tools/testing/selftests/ptp/testptp.c progname = strrchr(argv[0], '/'); argv 182 tools/testing/selftests/ptp/testptp.c progname = progname ? 1+progname : argv[0]; argv 183 tools/testing/selftests/ptp/testptp.c while (EOF != (c = getopt(argc, argv, "cd:e:f:ghi:k:lL:p:P:sSt:T:z"))) { argv 152 tools/testing/selftests/ptrace/peeksiginfo.c int main(int argc, char *argv[]) argv 53 tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/test.c int main(int argc, char *argv[]) argv 292 tools/testing/selftests/rseq/basic_percpu_ops_test.c int main(int argc, char **argv) argv 38 tools/testing/selftests/rseq/basic_test.c int main(int argc, char **argv) argv 1134 tools/testing/selftests/rseq/param_test.c static void show_usage(int argc, char **argv) argv 1137 tools/testing/selftests/rseq/param_test.c argv[0]); argv 1163 tools/testing/selftests/rseq/param_test.c int main(int argc, char **argv) argv 1168 tools/testing/selftests/rseq/param_test.c if (argv[i][0] != '-') argv 1170 tools/testing/selftests/rseq/param_test.c switch (argv[i][1]) { argv 1181 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1184 tools/testing/selftests/rseq/param_test.c loop_cnt[argv[i][1] - '0'] = atol(argv[i + 1]); argv 1189 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1192 tools/testing/selftests/rseq/param_test.c opt_modulo = atol(argv[i + 1]); argv 1194 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1201 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1204 tools/testing/selftests/rseq/param_test.c opt_sleep = atol(argv[i + 1]); argv 1206 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1222 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1225 tools/testing/selftests/rseq/param_test.c opt_disable_mod = atol(argv[i + 1]); argv 1227 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1234 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1237 tools/testing/selftests/rseq/param_test.c opt_threads = atol(argv[i + 1]); argv 1239 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1246 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1249 tools/testing/selftests/rseq/param_test.c opt_reps = atoll(argv[i + 1]); argv 1251 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1257 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1261 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1264 tools/testing/selftests/rseq/param_test.c opt_test = *argv[i + 1]; argv 1273 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 1285 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argv 323 tools/testing/selftests/rtc/rtctest.c int main(int argc, char **argv) argv 327 tools/testing/selftests/rtc/rtctest.c rtc_file = argv[1]; argv 332 tools/testing/selftests/rtc/rtctest.c fprintf(stderr, "usage: %s [rtcdev]\n", argv[0]); argv 336 tools/testing/selftests/rtc/rtctest.c return test_harness_run(argc, argv); argv 21 tools/testing/selftests/rtc/setdate.c int main(int argc, char **argv) argv 30 tools/testing/selftests/rtc/setdate.c time = argv[3]; argv 33 tools/testing/selftests/rtc/setdate.c date = argv[2]; argv 34 tools/testing/selftests/rtc/setdate.c rtc = argv[1]; argv 284 tools/testing/selftests/safesetid/safesetid-test.c int main(int argc, char **argv) argv 60 tools/testing/selftests/seccomp/seccomp_benchmark.c int main(int argc, char *argv[]) argv 74 tools/testing/selftests/seccomp/seccomp_benchmark.c samples = strtoull(argv[1], NULL, 0); argv 683 tools/testing/selftests/sparc64/drivers/adi-test.c int main(int argc, char *argv[]) argv 5 tools/testing/selftests/splice/default_file_splice_read.c int main(int argc, char **argv) argv 168 tools/testing/selftests/timers/adjtick.c int main(int argv, char **argc) argv 58 tools/testing/selftests/timers/change_skew.c int main(int argv, char **argc) argv 122 tools/testing/selftests/timers/clocksource-switch.c int main(int argv, char **argc) argv 238 tools/testing/selftests/timers/freq-step.c int main(int argc, char **argv) argv 153 tools/testing/selftests/timers/inconsistency-check.c int main(int argc, char *argv[]) argv 162 tools/testing/selftests/timers/inconsistency-check.c while ((opt = getopt(argc, argv, "t:c:")) != -1) { argv 172 tools/testing/selftests/timers/inconsistency-check.c printf("Usage: %s [-t <secs>] [-c <clockid>]\n", argv[0]); argv 175 tools/testing/selftests/timers/leap-a-day.c int main(int argc, char **argv) argv 189 tools/testing/selftests/timers/leap-a-day.c while ((opt = getopt(argc, argv, "sti:")) != -1) { argv 202 tools/testing/selftests/timers/leap-a-day.c printf("Usage: %s [-w] [-i <iterations>]\n", argv[0]); argv 100 tools/testing/selftests/timers/mqueue-lat.c int main(int argc, char **argv) argv 131 tools/testing/selftests/timers/nanosleep.c int main(int argc, char **argv) argv 144 tools/testing/selftests/timers/nsleep-lat.c int main(int argc, char **argv) argv 191 tools/testing/selftests/timers/posix_timers.c int main(int argc, char **argv) argv 92 tools/testing/selftests/timers/raw_skew.c int main(int argv, char **argc) argv 28 tools/testing/selftests/timers/rtcpie.c int main(int argc, char **argv) argv 37 tools/testing/selftests/timers/rtcpie.c rtc = argv[1]; argv 74 tools/testing/selftests/timers/set-2038.c int main(int argc, char *argv[]) argv 81 tools/testing/selftests/timers/set-2038.c while ((opt = getopt(argc, argv, "d")) != -1) { argv 50 tools/testing/selftests/timers/set-tai.c int main(int argc, char **argv) argv 58 tools/testing/selftests/timers/set-tz.c int main(int argc, char **argv) argv 41 tools/testing/selftests/timers/skew_consistency.c int main(int argv, char **argc) argv 120 tools/testing/selftests/timers/threadtest.c int main(int argc, char **argv) argv 135 tools/testing/selftests/timers/threadtest.c while ((opt = getopt(argc, argv, "t:n:i")) != -1) { argv 148 tools/testing/selftests/timers/threadtest.c printf("Usage: %s [-t <secs>] [-n <numthreads>] [-i]\n", argv[0]); argv 321 tools/testing/selftests/timers/valid-adjtimex.c int main(int argc, char **argv) argv 37 tools/testing/selftests/vDSO/vdso_test.c int main(int argc, char **argv) argv 160 tools/testing/selftests/vm/compaction_test.c int main(int argc, char **argv) argv 31 tools/testing/selftests/vm/gup_benchmark.c int main(int argc, char **argv) argv 40 tools/testing/selftests/vm/gup_benchmark.c while ((opt = getopt(argc, argv, "m:r:n:f:tTLUwSH")) != -1) { argv 69 tools/testing/selftests/vm/map_hugetlb.c int main(int argc, char **argv) argv 78 tools/testing/selftests/vm/map_hugetlb.c length = atol(argv[1]) << 20; argv 80 tools/testing/selftests/vm/map_hugetlb.c shift = atoi(argv[2]); argv 75 tools/testing/selftests/vm/map_populate.c int main(int argc, char **argv) argv 262 tools/testing/selftests/vm/mlock-random-test.c int main(int argc, char **argv) argv 510 tools/testing/selftests/vm/mlock2-tests.c int main(int argc, char **argv) argv 42 tools/testing/selftests/vm/on-fault-limit.c int main(int argc, char **argv) argv 58 tools/testing/selftests/vm/transhuge-stress.c int main(int argc, char **argv) argv 75 tools/testing/selftests/vm/transhuge-stress.c else if (!strcmp(argv[1], "-h")) argv 76 tools/testing/selftests/vm/transhuge-stress.c errx(1, "usage: %s [size in MiB]", argv[0]); argv 78 tools/testing/selftests/vm/transhuge-stress.c len = atoll(argv[1]) << 20; argv 1292 tools/testing/selftests/vm/userfaultfd.c int main(int argc, char **argv) argv 1301 tools/testing/selftests/vm/userfaultfd.c set_test_type(argv[1]); argv 1304 tools/testing/selftests/vm/userfaultfd.c nr_pages_per_cpu = atol(argv[2]) * 1024*1024 / page_size / argv 1311 tools/testing/selftests/vm/userfaultfd.c bounces = atoi(argv[3]); argv 1321 tools/testing/selftests/vm/userfaultfd.c huge_fd = open(argv[4], O_CREAT | O_RDWR, 0755); argv 1323 tools/testing/selftests/vm/userfaultfd.c fprintf(stderr, "Open of %s failed", argv[3]); argv 1328 tools/testing/selftests/vm/userfaultfd.c fprintf(stderr, "ftruncate %s to size 0 failed", argv[3]); argv 278 tools/testing/selftests/vm/va_128TBswitch.c int main(int argc, char **argv) argv 286 tools/testing/selftests/vm/va_128TBswitch.c if (argc == 2 && !strcmp(argv[1], "--run-hugetlb")) argv 97 tools/testing/selftests/vm/virtual_address_range.c int main(int argc, char *argv[]) argv 94 tools/testing/selftests/watchdog/watchdog-test.c int main(int argc, char *argv[]) argv 106 tools/testing/selftests/watchdog/watchdog-test.c while ((c = getopt_long(argc, argv, sopts, lopts, NULL)) != -1) { argv 136 tools/testing/selftests/watchdog/watchdog-test.c while ((c = getopt_long(argc, argv, sopts, lopts, NULL)) != -1) { argv 235 tools/testing/selftests/watchdog/watchdog-test.c usage(argv[0]); argv 910 tools/testing/selftests/x86/ldt_gdt.c int main(int argc, char **argv) argv 912 tools/testing/selftests/x86/ldt_gdt.c if (argc == 1 && !strcmp(argv[0], "ldt_gdt_test_exec")) argv 54 tools/testing/selftests/x86/test_FCMOV.c int main(int argc, char **argv, char **envp) argv 299 tools/testing/selftests/x86/test_FCOMI.c int main(int argc, char **argv, char **envp) argv 118 tools/testing/selftests/x86/test_FISTTP.c int main(int argc, char **argv, char **envp) argv 57 tools/testing/selftests/x86/test_mremap_vdso.c int main(int argc, char **argv, char **envp) argv 28 tools/testing/selftests/x86/test_syscall_vdso.c int main(int argc, char **argv, char **envp) argv 376 tools/testing/selftests/x86/test_syscall_vdso.c int main(int argc, char **argv, char **envp) argv 323 tools/testing/selftests/x86/test_vdso.c int main(int argc, char **argv) argv 553 tools/testing/selftests/x86/test_vsyscall.c int main(int argc, char **argv) argv 601 tools/testing/vsock/vsock_diag_test.c int main(int argc, char **argv) argv 612 tools/testing/vsock/vsock_diag_test.c int opt = getopt_long(argc, argv, optstring, longopts, NULL); argv 223 tools/thermal/tmon/tmon.c int main(int argc, char **argv) argv 235 tools/thermal/tmon/tmon.c while ((c = getopt_long(argc, argv, "c:dlht:T:vgz:", opts, &id2)) != -1) { argv 234 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c int main(int argc, char *argv[]) argv 256 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); argv 263 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c sprintf(ep_path, "%s/ep0", argv[1]); argv 277 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c sprintf(ep_path, "%s/ep1", argv[1]); argv 204 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c int main(int argc, char *argv[]) argv 227 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); argv 234 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c sprintf(ep_path, "%s/ep0", argv[1]); argv 249 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c sprintf(ep_path, "%s/ep%d", argv[1], i+1); argv 659 tools/usb/ffs-test.c int main(int argc, char **argv) argv 664 tools/usb/ffs-test.c legacy_descriptors = argc > 2 && !strcmp(argv[1], "-l"); argv 363 tools/usb/testusb.c int main (int argc, char **argv) argv 393 tools/usb/testusb.c while ((c = getopt (argc, argv, "D:aA:c:g:hlns:t:v:")) != EOF) argv 450 tools/usb/testusb.c argv[0]); argv 506 tools/usb/testusb.c argv [0], device); argv 20 tools/usb/usbip/src/usbip.c static int usbip_help(int argc, char *argv[]); argv 21 tools/usb/usbip/src/usbip.c static int usbip_version(int argc, char *argv[]); argv 36 tools/usb/usbip/src/usbip.c int (*fn)(int argc, char *argv[]); argv 93 tools/usb/usbip/src/usbip.c static int usbip_help(int argc, char *argv[]) argv 99 tools/usb/usbip/src/usbip.c if (argc > 1 && argv++) { argv 101 tools/usb/usbip/src/usbip.c if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { argv 118 tools/usb/usbip/src/usbip.c static int usbip_version(int argc, char *argv[]) argv 121 tools/usb/usbip/src/usbip.c (void) argv; argv 127 tools/usb/usbip/src/usbip.c static int run_command(const struct command *cmd, int argc, char *argv[]) argv 130 tools/usb/usbip/src/usbip.c return cmd->fn(argc, argv); argv 133 tools/usb/usbip/src/usbip.c int main(int argc, char *argv[]) argv 149 tools/usb/usbip/src/usbip.c opt = getopt_long(argc, argv, "+dlt:", opts, NULL); argv 175 tools/usb/usbip/src/usbip.c cmd = argv[optind]; argv 180 tools/usb/usbip/src/usbip.c argv += optind; argv 182 tools/usb/usbip/src/usbip.c rc = run_command(&cmds[i], argc, argv); argv 15 tools/usb/usbip/src/usbip.h int usbip_attach(int argc, char *argv[]); argv 16 tools/usb/usbip/src/usbip.h int usbip_detach(int argc, char *argv[]); argv 17 tools/usb/usbip/src/usbip.h int usbip_list(int argc, char *argv[]); argv 18 tools/usb/usbip/src/usbip.h int usbip_bind(int argc, char *argv[]); argv 19 tools/usb/usbip/src/usbip.h int usbip_unbind(int argc, char *argv[]); argv 20 tools/usb/usbip/src/usbip.h int usbip_port_show(int argc, char *argv[]); argv 201 tools/usb/usbip/src/usbip_attach.c int usbip_attach(int argc, char *argv[]) argv 215 tools/usb/usbip/src/usbip_attach.c opt = getopt_long(argc, argv, "d:r:b:", opts, NULL); argv 182 tools/usb/usbip/src/usbip_bind.c int usbip_bind(int argc, char *argv[]) argv 193 tools/usb/usbip/src/usbip_bind.c opt = getopt_long(argc, argv, "b:", opts, NULL); argv 96 tools/usb/usbip/src/usbip_detach.c int usbip_detach(int argc, char *argv[]) argv 106 tools/usb/usbip/src/usbip_detach.c opt = getopt_long(argc, argv, "p:", opts, NULL); argv 325 tools/usb/usbip/src/usbip_list.c int usbip_list(int argc, char *argv[]) argv 343 tools/usb/usbip/src/usbip_list.c opt = getopt_long(argc, argv, "pr:ld", opts, NULL); argv 48 tools/usb/usbip/src/usbip_port.c __attribute__((unused)) char *argv[]) argv 100 tools/usb/usbip/src/usbip_unbind.c int usbip_unbind(int argc, char *argv[]) argv 111 tools/usb/usbip/src/usbip_unbind.c opt = getopt_long(argc, argv, "b:", opts, NULL); argv 586 tools/usb/usbip/src/usbipd.c int main(int argc, char *argv[]) argv 623 tools/usb/usbip/src/usbipd.c opt = getopt_long(argc, argv, "46DdeP::t:hv", longopts, NULL); argv 292 tools/virtio/ringtest/main.c int main(int argc, char **argv) argv 308 tools/virtio/ringtest/main.c int o = getopt_long(argc, argv, optstring, longopts, NULL); argv 185 tools/virtio/virtio-trace/trace-agent.c static void *parse_args(int argc, char *argv[], struct agent_info *s) argv 190 tools/virtio/virtio-trace/trace-agent.c while ((cmd = getopt(argc, argv, "hos:")) != -1) { argv 205 tools/virtio/virtio-trace/trace-agent.c usage(argv[0]); argv 256 tools/virtio/virtio-trace/trace-agent.c int main(int argc, char *argv[]) argv 261 tools/virtio/virtio-trace/trace-agent.c parse_args(argc, argv, s); argv 261 tools/virtio/virtio_test.c int main(int argc, char **argv) argv 270 tools/virtio/virtio_test.c o = getopt_long(argc, argv, optstring, longopts, NULL); argv 437 tools/virtio/vringh_test.c int main(int argc, char *argv[]) argv 457 tools/virtio/vringh_test.c while (argv[1]) { argv 458 tools/virtio/vringh_test.c if (strcmp(argv[1], "--indirect") == 0) argv 460 tools/virtio/vringh_test.c else if (strcmp(argv[1], "--eventidx") == 0) argv 462 tools/virtio/vringh_test.c else if (strcmp(argv[1], "--virtio-1") == 0) argv 464 tools/virtio/vringh_test.c else if (strcmp(argv[1], "--slow-range") == 0) argv 466 tools/virtio/vringh_test.c else if (strcmp(argv[1], "--fast-vringh") == 0) argv 468 tools/virtio/vringh_test.c else if (strcmp(argv[1], "--parallel") == 0) argv 471 tools/virtio/vringh_test.c errx(1, "Unknown arg %s", argv[1]); argv 472 tools/virtio/vringh_test.c argv++; argv 1254 tools/vm/page-types.c int main(int argc, char *argv[]) argv 1260 tools/vm/page-types.c while ((c = getopt_long(argc, argv, argv 87 tools/vm/page_owner_sort.c int main(int argc, char **argv) argv 101 tools/vm/page_owner_sort.c fin = fopen(argv[1], "r"); argv 102 tools/vm/page_owner_sort.c fout = fopen(argv[2], "w"); argv 1381 tools/vm/slabinfo.c int main(int argc, char *argv[]) argv 1389 tools/vm/slabinfo.c while ((c = getopt_long(argc, argv, "aABd::DefhilLnN:oPrsStTUvXz1", argv 1477 tools/vm/slabinfo.c fatal("%s: Invalid option '%c'\n", argv[0], optopt); argv 1486 tools/vm/slabinfo.c pattern_source = argv[optind]; argv 1493 tools/vm/slabinfo.c argv[0], pattern_source, err); argv 521 usr/gen_init_cpio.c int main (int argc, char *argv[]) argv 532 usr/gen_init_cpio.c int opt = getopt(argc, argv, "t:h"); argv 543 usr/gen_init_cpio.c usage(argv[0]); argv 549 usr/gen_init_cpio.c usage(argv[0]); argv 555 usr/gen_init_cpio.c usage(argv[0]); argv 558 usr/gen_init_cpio.c filename = argv[optind]; argv 564 usr/gen_init_cpio.c usage(argv[0]);