argc 56 Documentation/usb/usbdevfs-drop-permissions.c int main(int argc, char *argv[]) argc 86 arch/alpha/boot/tools/mkbb.c int main(int argc, char ** argv) argc 95 arch/alpha/boot/tools/mkbb.c if(argc != 3) { argc 53 arch/alpha/boot/tools/objstrip.c main (int argc, char *argv[]) argc 68 arch/alpha/boot/tools/objstrip.c for (i = 1; i < argc && argv[i][0] == '-'; ++i) { argc 86 arch/alpha/boot/tools/objstrip.c if (i >= argc) { argc 98 arch/alpha/boot/tools/objstrip.c if (i < argc) { argc 116 arch/arm/vdso/vdsomunge.c int main(int argc, char **argv) argc 132 arch/arm/vdso/vdsomunge.c if (argc != 3) argc 41 arch/m68k/tools/amiga/dmesg.c int main(int argc, char *argv[]) argc 47 arch/m68k/tools/amiga/dmesg.c if (argc >= 2) argc 21 arch/microblaze/kernel/asm-offsets.c int main(int argc, char *argv[]) argc 42 arch/mips/ar7/prom.c static void __init ar7_init_cmdline(int argc, char *argv[]) argc 46 arch/mips/ar7/prom.c for (i = 1; i < argc; i++) { argc 48 arch/mips/ar7/prom.c if (i < (argc - 1)) argc 14 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c int main(int argc, char *argv[]) argc 19 arch/mips/boot/compressed/calc_vmlinuz_load_addr.c if (argc != 3) { argc 268 arch/mips/boot/elf2ecoff.c int main(int argc, char *argv[]) argc 287 arch/mips/boot/elf2ecoff.c if (argc < 3 || argc > 4) { argc 293 arch/mips/boot/elf2ecoff.c if (argc == 4) { argc 29 arch/mips/boot/tools/relocs_main.c int main(int argc, char **argv) argc 42 arch/mips/boot/tools/relocs_main.c for (i = 1; i < argc; i++) { argc 160 arch/mips/cavium-octeon/setup.c octeon_boot_desc_ptr->argc = 0; argc 168 arch/mips/cavium-octeon/setup.c int argc = 0, offt; argc 171 arch/mips/cavium-octeon/setup.c while (ptr && (OCTEON_ARGV_MAX_ARGS > argc)) { argc 175 arch/mips/cavium-octeon/setup.c octeon_boot_desc_ptr->argv[argc] = argc 177 arch/mips/cavium-octeon/setup.c argc++; argc 181 arch/mips/cavium-octeon/setup.c octeon_boot_desc_ptr->argc = argc; argc 666 arch/mips/cavium-octeon/setup.c int argc; argc 869 arch/mips/cavium-octeon/setup.c argc = octeon_boot_desc_ptr->argc; argc 870 arch/mips/cavium-octeon/setup.c for (i = 0; i < argc; i++) { argc 950 arch/mips/cavium-octeon/setup.c for (i = 0; i < octeon_boot_desc_ptr->argc; i++) { argc 102 arch/mips/cobalt/setup.c int argc, i; argc 106 arch/mips/cobalt/setup.c argc = fw_arg0 & 0x0000ffff; argc 109 arch/mips/cobalt/setup.c for (i = 1; i < argc; i++) { argc 111 arch/mips/cobalt/setup.c if (i < (argc - 1)) argc 18 arch/mips/dec/prom/cmdline.c void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) argc 30 arch/mips/dec/prom/cmdline.c for (i = start_arg; i < argc; i++) { argc 33 arch/mips/dec/prom/cmdline.c if (i < (argc - 1)) argc 94 arch/mips/dec/prom/init.c s32 argc = fw_arg0; argc 136 arch/mips/dec/prom/init.c prom_init_cmdline(argc, argv, magic); argc 30 arch/mips/emma/common/prom.c int argc = fw_arg0; argc 35 arch/mips/emma/common/prom.c if (argc > 1) argc 39 arch/mips/emma/common/prom.c for (i = 1; i < argc; i++) { argc 141 arch/mips/fw/sni/sniprom.c int argc = fw_arg0; argc 148 arch/mips/fw/sni/sniprom.c for (i = 1; i < argc; i++) { argc 150 arch/mips/fw/sni/sniprom.c if (i < (argc - 1)) argc 23 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # a0 = argc argc 72 arch/mips/include/asm/octeon/octeon.h uint32_t argc; argc 121 arch/mips/include/asm/octeon/octeon.h uint32_t argc; argc 53 arch/mips/lantiq/prom.c int argc = fw_arg0; argc 59 arch/mips/lantiq/prom.c for (i = 0; i < argc; i++) { argc 86 arch/mips/lasat/prom.c int argc = fw_arg0; argc 104 arch/mips/lasat/prom.c if (argc > 0) { argc 42 arch/mips/paravirt/setup.c int argc = fw_arg0; argc 51 arch/mips/paravirt/setup.c for (i = 0; i < argc; i++) { argc 53 arch/mips/paravirt/setup.c if (i < argc - 1) argc 68 arch/mips/pic32/pic32mzda/init.c static __init void pic32_init_cmdline(int argc, char *argv[]) argc 75 arch/mips/pic32/pic32mzda/init.c for (i = 1; i < argc && count; ++i) { argc 375 arch/mips/pmcs-msp71xx/msp_prom.c int argc; argc 386 arch/mips/pmcs-msp71xx/msp_prom.c for (argc = 0; argc < prom_argc; argc++) { argc 388 arch/mips/pmcs-msp71xx/msp_prom.c len += strlen(prom_argv[argc]) + 1; /* length of string */ argc 395 arch/mips/pmcs-msp71xx/msp_prom.c for (argc = 0; argc < prom_argc; argc++) { argc 396 arch/mips/pmcs-msp71xx/msp_prom.c argv[argc] = ptr; argc 397 arch/mips/pmcs-msp71xx/msp_prom.c strcpy(ptr, prom_argv[argc]); argc 398 arch/mips/pmcs-msp71xx/msp_prom.c ptr += strlen(prom_argv[argc]) + 1; argc 416 arch/mips/pmcs-msp71xx/msp_prom.c for (argc = 0; argc < i; argc++) { argc 417 arch/mips/pmcs-msp71xx/msp_prom.c envp[argc] = ptr; argc 418 arch/mips/pmcs-msp71xx/msp_prom.c strcpy(ptr, prom_envp[argc]); argc 419 arch/mips/pmcs-msp71xx/msp_prom.c ptr += strlen(prom_envp[argc]) + 1; argc 18 arch/mips/pnx833x/common/prom.c int argc = fw_arg0; argc 23 arch/mips/pnx833x/common/prom.c for (i = 1; i < argc; i++) { argc 26 arch/mips/pnx833x/common/prom.c if (i < argc-1) argc 33 arch/mips/ralink/prom.c int argc; argc 41 arch/mips/ralink/prom.c argc = fw_arg0; argc 50 arch/mips/ralink/prom.c for (i = 0; i < argc; i++) { argc 230 arch/mips/sibyte/common/cfe.c int argc = fw_arg0; argc 242 arch/mips/sibyte/common/cfe.c if (argc < 0) { argc 243 arch/mips/sibyte/common/cfe.c cfe_handle = (uint64_t)(long)argc; argc 279 arch/mips/sibyte/common/cfe.c if (argc >= 0) { argc 32 arch/mips/tools/elf-entry.c int main(int argc, const char *argv[]) argc 42 arch/mips/tools/elf-entry.c if (argc != 2) argc 115 arch/mips/txx9/generic/setup.c int argc; argc 124 arch/mips/txx9/generic/setup.c argc = 0; argc 127 arch/mips/txx9/generic/setup.c argc = (int)fw_arg0; argc 133 arch/mips/txx9/generic/setup.c for (i = 1; i < argc; i++) { argc 199 arch/mips/vdso/genvdso.c int main(int argc, char **argv) argc 207 arch/mips/vdso/genvdso.c if (argc < 4 || argc > 5) { argc 217 arch/mips/vdso/genvdso.c vdso_name = (argc > 4) ? argv[4] : ""; argc 49 arch/mips/vr41xx/common/init.c int argc, i; argc 52 arch/mips/vr41xx/common/init.c argc = fw_arg0; argc 55 arch/mips/vr41xx/common/init.c for (i = 1; i < argc; i++) { argc 57 arch/mips/vr41xx/common/init.c if (i < (argc - 1)) argc 42 arch/powerpc/boot/mktree.c int main(int argc, char *argv[]) argc 50 arch/powerpc/boot/mktree.c if (argc < 5) { argc 158 arch/s390/tools/gen_facilities.c int main(int argc, char **argv) argc 318 arch/s390/tools/gen_opcode_table.c int main(int argc, char **argv) argc 173 arch/sparc/boot/piggyback.c int main(int argc,char **argv) argc 182 arch/sparc/boot/piggyback.c if (argc != 5) argc 180 arch/sparc/vdso/vdso2c.c int main(int argc, char **argv) argc 188 arch/sparc/vdso/vdso2c.c if (argc != 4) { argc 58 arch/um/include/shared/as-layout.h extern int linux_main(int argc, char **argv); argc 250 arch/um/kernel/um_arch.c int __init linux_main(int argc, char **argv) argc 258 arch/um/kernel/um_arch.c for (i = 1; i < argc; i++) { argc 133 arch/um/os-Linux/execvp.c int main(int argc, char**argv) argc 137 arch/um/os-Linux/execvp.c argc--; argc 138 arch/um/os-Linux/execvp.c if (!argc) { argc 107 arch/um/os-Linux/main.c int __init main(int argc, char **argv, char **envp) argc 118 arch/um/os-Linux/main.c new_argv = malloc((argc + 1) * sizeof(char *)); argc 123 arch/um/os-Linux/main.c for (i = 0; i < argc; i++) { argc 130 arch/um/os-Linux/main.c new_argv[argc] = NULL; argc 144 arch/um/os-Linux/main.c ret = linux_main(argc, argv); argc 19 arch/x86/boot/compressed/mkpiggy.c int main(int argc, char *argv[]) argc 26 arch/x86/boot/compressed/mkpiggy.c if (argc < 2) { argc 332 arch/x86/boot/tools/build.c int main(int argc, char ** argv) argc 345 arch/x86/boot/tools/build.c if (argc != 5) argc 201 arch/x86/entry/vdso/vdso2c.c int main(int argc, char **argv) argc 209 arch/x86/entry/vdso/vdso2c.c if (argc != 4) { argc 67 arch/x86/ia32/ia32_aout.c int argc = bprm->argc, envc = bprm->envc; argc 72 arch/x86/ia32/ia32_aout.c sp -= argc+1; argc 76 arch/x86/ia32/ia32_aout.c put_user(argc, --sp); argc 78 arch/x86/ia32/ia32_aout.c while (argc-- > 0) { argc 88 arch/x86/tools/insn_decoder_test.c static void parse_args(int argc, char **argv) argc 92 arch/x86/tools/insn_decoder_test.c while ((c = getopt(argc, argv, "ynv")) != -1) { argc 111 arch/x86/tools/insn_decoder_test.c int main(int argc, char **argv) argc 119 arch/x86/tools/insn_decoder_test.c parse_args(argc, argv); argc 162 arch/x86/tools/insn_sanity.c static void parse_args(int argc, char **argv) argc 169 arch/x86/tools/insn_sanity.c while ((c = getopt(argc, argv, "ynvs:m:i:")) != -1) { argc 223 arch/x86/tools/insn_sanity.c int main(int argc, char **argv) argc 231 arch/x86/tools/insn_sanity.c parse_args(argc, argv); argc 19 arch/x86/tools/relocs_common.c int main(int argc, char **argv) argc 34 arch/x86/tools/relocs_common.c for (i = 1; i < argc; i++) { argc 78 arch/xtensa/platforms/iss/setup.c int argc = simc_argc(); argc 81 arch/xtensa/platforms/iss/setup.c if (argc > 1) { argc 91 arch/xtensa/platforms/iss/setup.c for (i = 1; i < argc; ++i) { argc 100 drivers/acpi/acpica/acapps.h int acpi_getopt(int argc, char **argv, char *opts); argc 102 drivers/acpi/acpica/acapps.h int acpi_getopt_argument(int argc, char **argv); argc 56 drivers/gpu/drm/nouveau/dispnv50/wndw.c u32 argc = sizeof(args.base); argc 75 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.nv50); argc 80 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.nv50); argc 84 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.gf100); argc 88 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.gf119); argc 92 drivers/gpu/drm/nouveau/dispnv50/wndw.c &args, argc, &ctxdma->object); argc 14 drivers/gpu/drm/nouveau/include/nvif/mem.h u64 size, void *argv, u32 argc, struct nvif_mem *); argc 16 drivers/gpu/drm/nouveau/include/nvif/mem.h u64 size, void *argv, u32 argc, struct nvif_mem *); argc 34 drivers/gpu/drm/nouveau/include/nvif/vmm.h u64 size, void *argv, u32 argc, struct nvif_vmm *); argc 39 drivers/gpu/drm/nouveau/include/nvif/vmm.h int nvif_vmm_map(struct nvif_vmm *, u64 addr, u64 size, void *argv, u32 argc, argc 32 drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h struct nvkm_vma *, void *argv, u32 argc); argc 39 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h struct nvkm_vma *, void *argv, u32 argc); argc 34 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int (*map)(struct nvkm_object *, void *argv, u32 argc, argc 61 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int nvkm_object_map(struct nvkm_object *, void *argv, u32 argc, argc 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, argc 80 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h int nvkm_vmm_map(struct nvkm_vmm *, struct nvkm_vma *, void *argv, u32 argc, argc 1478 drivers/gpu/drm/nouveau/nouveau_bo.c u32 argc = 0; argc 1487 drivers/gpu/drm/nouveau/nouveau_bo.c argc = sizeof(args.nv50); argc 1493 drivers/gpu/drm/nouveau/nouveau_bo.c argc = sizeof(args.gf100); argc 1501 drivers/gpu/drm/nouveau/nouveau_bo.c &args, argc, argc 43 drivers/gpu/drm/nouveau/nouveau_mem.c u32 argc = 0; argc 56 drivers/gpu/drm/nouveau/nouveau_mem.c argc = sizeof(args.nv50); argc 69 drivers/gpu/drm/nouveau/nouveau_mem.c argc = sizeof(args.gf100); argc 78 drivers/gpu/drm/nouveau/nouveau_mem.c ret = nvif_vmm_map(vmm, vma->addr, mem->mem.size, &args, argc, argc 122 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argc 153 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argc 167 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_del(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argc 183 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argc 190 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_get(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argc 217 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argc 227 drivers/gpu/drm/nouveau/nouveau_usif.c usif_notify_put(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argc 243 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argc 264 drivers/gpu/drm/nouveau/nouveau_usif.c usif_object_new(struct drm_file *f, void *data, u32 size, void *argv, u32 argc) argc 283 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argc 294 drivers/gpu/drm/nouveau/nouveau_usif.c usif_ioctl(struct drm_file *filp, void __user *user, u32 argc) argc 298 drivers/gpu/drm/nouveau/nouveau_usif.c void *data = kmalloc(argc, GFP_KERNEL); argc 299 drivers/gpu/drm/nouveau/nouveau_usif.c u32 size = argc; argc 329 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nouveau_abi16_usif(filp, argv, argc); argc 338 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_object_new(filp, data, size, argv, argc); argc 341 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_new(filp, data, size, argv, argc); argc 344 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_del(filp, data, size, argv, argc); argc 347 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_get(filp, data, size, argv, argc); argc 350 drivers/gpu/drm/nouveau/nouveau_usif.c ret = usif_notify_put(filp, data, size, argv, argc); argc 353 drivers/gpu/drm/nouveau/nouveau_usif.c ret = nvif_client_ioctl(client, argv, argc); argc 371 drivers/gpu/drm/nouveau/nouveau_usif.c if (copy_to_user(user, argv, argc)) argc 48 drivers/gpu/drm/nouveau/nvif/mem.c u64 size, void *argv, u32 argc, struct nvif_mem *mem) argc 58 drivers/gpu/drm/nouveau/nvif/mem.c if (sizeof(*args) + argc > sizeof(stack)) { argc 59 drivers/gpu/drm/nouveau/nvif/mem.c if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) argc 68 drivers/gpu/drm/nouveau/nvif/mem.c memcpy(args->data, argv, argc); argc 71 drivers/gpu/drm/nouveau/nvif/mem.c sizeof(*args) + argc, &mem->object); argc 87 drivers/gpu/drm/nouveau/nvif/mem.c u64 size, void *argv, u32 argc, struct nvif_mem *mem) argc 96 drivers/gpu/drm/nouveau/nvif/mem.c argv, argc, mem); argc 113 drivers/gpu/drm/nouveau/nvif/mmu.c size_t argc = struct_size(kind, data, mmu->kind_nr); argc 115 drivers/gpu/drm/nouveau/nvif/mmu.c if (ret = -ENOMEM, !(kind = kmalloc(argc, GFP_KERNEL))) argc 121 drivers/gpu/drm/nouveau/nvif/mmu.c kind, argc); argc 182 drivers/gpu/drm/nouveau/nvif/object.c nvif_object_map_handle(struct nvif_object *object, void *argv, u32 argc, argc 189 drivers/gpu/drm/nouveau/nvif/object.c u32 argn = sizeof(*args) + argc; argc 195 drivers/gpu/drm/nouveau/nvif/object.c memcpy(args->map.data, argv, argc); argc 221 drivers/gpu/drm/nouveau/nvif/object.c nvif_object_map(struct nvif_object *object, void *argv, u32 argc) argc 225 drivers/gpu/drm/nouveau/nvif/object.c int ret = nvif_object_map_handle(object, argv, argc, &handle, &length); argc 36 drivers/gpu/drm/nouveau/nvif/vmm.c nvif_vmm_map(struct nvif_vmm *vmm, u64 addr, u64 size, void *argv, u32 argc, argc 43 drivers/gpu/drm/nouveau/nvif/vmm.c if (sizeof(*args) + argc > sizeof(stack)) { argc 44 drivers/gpu/drm/nouveau/nvif/vmm.c if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) argc 55 drivers/gpu/drm/nouveau/nvif/vmm.c memcpy(args->data, argv, argc); argc 58 drivers/gpu/drm/nouveau/nvif/vmm.c args, sizeof(*args) + argc); argc 116 drivers/gpu/drm/nouveau/nvif/vmm.c u64 size, void *argv, u32 argc, struct nvif_vmm *vmm) argc 119 drivers/gpu/drm/nouveau/nvif/vmm.c u32 argn = sizeof(*args) + argc; argc 131 drivers/gpu/drm/nouveau/nvif/vmm.c memcpy(args->data, argv, argc); argc 35 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_uclient_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 44 drivers/gpu/drm/nouveau/nvkm/core/client.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))){ argc 48 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c void *argv, u32 argc) argc 50 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c return nvkm_memory_map(gpuobj->memory, offset, vmm, vma, argv, argc); argc 110 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c void *argv, u32 argc) argc 113 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c vmm, vma, argv, argc); argc 105 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_map(struct nvkm_object *object, void *argv, u32 argc, argc 109 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->map(object, argv, argc, type, addr, size); argc 40 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c nvkm_oproxy_map(struct nvkm_object *object, void *argv, u32 argc, argc 44 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c return nvkm_object_map(oproxy->object, argv, argc, type, addr, size); argc 282 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvkm_udevice_map(struct nvkm_object *object, void *argv, u32 argc, argc 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/baseg84.c g84_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 73 drivers/gpu/drm/nouveau/nvkm/engine/disp/baseg84.c disp, 1, oclass, argv, argc, pobject); argc 103 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegf119.c gf119_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 107 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegf119.c disp, 1, oclass, argv, argc, pobject); argc 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegp102.c gp102_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/basegp102.c disp, 1, oclass, argv, argc, pobject); argc 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c nvif_ioctl(parent, "create disp base channel dma size %d\n", argc); argc 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 114 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c nv50_disp_base_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 118 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c disp, 1, oclass, argv, argc, pobject); argc 213 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nv50_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, argc 245 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c void *argv, u32 argc, struct nvkm_object **pobject) argc 260 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); argc 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argc 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argc 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argc 81 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 86 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nvkm_oclass *, void *argv, u32 argc, argc 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg84.c g84_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 110 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg84.c disp, 0, oclass, argv, argc, pobject); argc 52 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg94.c g94_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg94.c disp, 0, oclass, argv, argc, pobject); argc 224 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c gf119_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 228 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c disp, 0, oclass, argv, argc, pobject); argc 121 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregk104.c gk104_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 125 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregk104.c disp, 0, oclass, argv, argc, pobject); argc 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c gp102_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c disp, 0, oclass, argv, argc, pobject); argc 199 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c gv100_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 203 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c disp, 0, oclass, argv, argc, pobject); argc 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c nvif_ioctl(parent, "create disp core channel dma size %d\n", argc); argc 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 227 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c nv50_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 231 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c disp, 0, oclass, argv, argc, pobject); argc 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgf119.c gf119_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgf119.c oclass, argv, argc, pobject); argc 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c gp102_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c oclass, argv, argc, pobject); argc 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c gv100_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 80 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c oclass, argv, argc, pobject); argc 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c nvif_ioctl(parent, "create disp cursor size %d\n", argc); argc 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c nv50_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c oclass, argv, argc, pobject); argc 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c gf119_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c oclass, argv, argc, pobject); argc 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c gp102_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c oclass, argv, argc, pobject); argc 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c nvif_ioctl(parent, "create disp overlay size %d\n", argc); argc 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c nv50_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c oclass, argv, argc, pobject); argc 66 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlyg84.c g84_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 70 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlyg84.c disp, 3, oclass, argv, argc, pobject); argc 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygf119.c gf119_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 94 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygf119.c disp, 5, oclass, argv, argc, pobject); argc 92 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygk104.c gk104_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygk104.c disp, 5, oclass, argv, argc, pobject); argc 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygp102.c gp102_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygp102.c disp, 5, oclass, argv, argc, pobject); argc 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygt200.c gt200_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 73 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlygt200.c disp, 3, oclass, argv, argc, pobject); argc 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c nvif_ioctl(parent, "create disp overlay channel dma size %d\n", argc); argc 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 102 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c nv50_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c disp, 3, oclass, argv, argc, pobject); argc 279 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c void *argv, u32 argc, struct nvkm_object **pobject) argc 283 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c return user->ctor(oclass, argv, argc, disp, pobject); argc 18 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h int (*ctor)(const struct nvkm_oclass *, void *argv, u32 argc, argc 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 60 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c nvif_ioctl(parent, "create window imm channel dma size %d\n", argc); argc 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 77 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c gv100_disp_wimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 81 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c oclass, argv, argc, pobject); argc 152 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 162 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c nvif_ioctl(parent, "create window channel dma size %d\n", argc); argc 163 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 179 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c gv100_disp_wndw_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 183 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c disp, 1, oclass, argv, argc, pobject); argc 256 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c nvkm_fifo_chan_map(struct nvkm_object *object, void *argv, u32 argc, argc 100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c void *argv, u32 argc, struct nvkm_object **pobject) argc 105 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c return user->ctor(fifo, oclass, argv, argc, pobject); argc 109 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c return user->ctor(oclass, argv, argc, pobject); argc 25 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c gv100_fifo_user_map(struct nvkm_object *object, void *argv, u32 argc, argc 41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c gv100_fifo_user_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 44 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c return nvkm_object_new_(&gv100_fifo_user, oclass, argv, argc, pobject); argc 25 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c tu102_fifo_user_map(struct nvkm_object *object, void *argv, u32 argc, argc 41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c tu102_fifo_user_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 44 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c return nvkm_object_new_(&tu102_fifo_user, oclass, argv, argc, pobject); argc 42 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_ntfy_ctor(struct nvkm_object *object, void *argv, u32 argc, argc 46 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (argc == 0) { argc 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c nvkm_ufault_map(struct nvkm_object *object, void *argv, u32 argc, argc 87 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c void *argv, u32 argc, struct nvkm_object **pobject) argc 96 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c struct nvkm_vma *vma, void *argv, u32 argc) argc 48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argc 282 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c struct nvkm_vma *vma, void *argv, u32 argc) argc 291 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argc 184 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c struct nvkm_vma *vma, void *argv, u32 argc) argc 187 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c return nvkm_memory_map(memory, offset, vmm, vma, argv, argc); argc 71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c struct nvkm_vma *vma, void *argv, u32 argc) argc 79 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argc 111 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c struct nvkm_vma *vma, void *argv, u32 argc) argc 119 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c return nvkm_vmm_map(vmm, vma, argv, argc, &map); argc 145 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c void *argv, u32 argc, struct nvkm_memory **pmemory) argc 172 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if ( (ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 225 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c void *argv, u32 argc, struct nvkm_memory **pmemory) argc 232 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c argv, argc, &memory); argc 235 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c argv, argc, &memory); argc 6 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.h void *argv, u32 argc, struct nvkm_memory **); argc 35 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c u32 argc, u64 *paddr, u64 *psize, struct nvkm_vma **pvma) argc 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 70 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c void *argv, u32 argc, struct nvkm_memory **pmemory) argc 79 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 82 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 32 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c u32 argc, u64 *paddr, u64 *psize, struct nvkm_vma **pvma) argc 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) argc 52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c void *argv, u32 argc, struct nvkm_memory **pmemory) argc 59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) argc 35 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c u32 argc, u64 *paddr, u64 *psize, struct nvkm_vma **pvma) argc 47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c void *argv, u32 argc, struct nvkm_memory **pmemory) argc 76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 24 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h void *argv, u32 argc, struct nvkm_memory **); argc 26 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h u32 argc, u64 *addr, u64 *size, struct nvkm_vma **); argc 32 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h void *argv, u32 argc, struct lock_class_key *, argc 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, argc 98 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c if ((umem->type & NVKM_MEM_HOST) && !argc) { argc 110 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc, argc 143 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c nvkm_umem_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 155 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argc 179 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c ret = nvkm_mem_new_type(mmu, type, page, size, argv, argc, argc 24 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.h int nvkm_umem_new(const struct nvkm_oclass *, void *argv, u32 argc, argc 57 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_heap(struct nvkm_ummu *ummu, void *argv, u32 argc) argc 66 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_type(struct nvkm_ummu *ummu, void *argv, u32 argc) argc 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 106 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_kind(struct nvkm_ummu *ummu, void *argv, u32 argc) argc 118 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argc 119 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (argc != args->v0.count * sizeof(*args->v0.data)) argc 131 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) argc 135 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c case NVIF_MMU_V0_HEAP: return nvkm_ummu_heap(ummu, argv, argc); argc 136 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c case NVIF_MMU_V0_TYPE: return nvkm_ummu_type(ummu, argv, argc); argc 137 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c case NVIF_MMU_V0_KIND: return nvkm_ummu_kind(ummu, argv, argc); argc 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c void *argv, u32 argc, struct nvkm_object **pobject) argc 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 13 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.h void *argv, u32 argc, struct nvkm_object **); argc 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_pfnclr(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 75 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_pfnmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argc 91 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (argc != (size >> page) * sizeof(args->v0.phys[0])) argc 109 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_unmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 120 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_map(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { argc 214 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c ret = nvkm_memory_map(memory, offset, vmm, vma, argv, argc); argc 231 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_put(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 242 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 269 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_get(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 282 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 305 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd_page(struct nvkm_uvmm *uvmm, void *argv, u32 argc) argc 317 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 333 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) argc 337 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PAGE : return nvkm_uvmm_mthd_page (uvmm, argv, argc); argc 338 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_GET : return nvkm_uvmm_mthd_get (uvmm, argv, argc); argc 339 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PUT : return nvkm_uvmm_mthd_put (uvmm, argv, argc); argc 340 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_MAP : return nvkm_uvmm_mthd_map (uvmm, argv, argc); argc 341 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_UNMAP : return nvkm_uvmm_mthd_unmap (uvmm, argv, argc); argc 342 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PFNMAP: return nvkm_uvmm_mthd_pfnmap(uvmm, argv, argc); argc 343 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c case NVIF_VMM_V0_PFNCLR: return nvkm_uvmm_mthd_pfnclr(uvmm, argv, argc); argc 348 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c mthd, argv, argc); argc 372 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, argc 386 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, more))) { argc 399 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c ret = mmu->func->vmm.ctor(mmu, managed, addr, size, argv, argc, argc 12 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h int nvkm_uvmm_new(const struct nvkm_oclass *, void *argv, u32 argc, argc 1377 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c void *argv, u32 argc, struct nvkm_vmm_map *map) argc 1408 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c return vmm->func->valid(vmm, argv, argc, map); argc 1413 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c void *argv, u32 argc, struct nvkm_vmm_map *map) argc 1417 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!nvkm_vmm_map_valid(vmm, vma, argv, argc, map)) argc 1425 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c void *argv, u32 argc, struct nvkm_vmm_map *map) argc 1444 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_map_choose(vmm, vma, argv, argc, map); argc 1448 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_map_choose(vmm, vma, argv, argc, map); argc 1458 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_map_valid(vmm, vma, argv, argc, map); argc 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, argc 1515 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_map_locked(vmm, vma, argv, argc, map); argc 1862 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c u32 argc, struct lock_class_key *key, const char *name, argc 1868 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = mmu->func->vmm.ctor(mmu, false, addr, size, argv, argc, argc 144 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h int (*valid)(struct nvkm_vmm *, void *argv, u32 argc, argc 149 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h u32 mthd, void *argv, u32 argc); argc 238 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c gf100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argc 257 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 263 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 404 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c void *argv, u32 argc, struct lock_class_key *key, argc 409 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c argv, argc, key, name, pvmm); argc 411 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c argv, argc, key, name, pvmm); argc 420 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c void *argv, u32 argc, struct lock_class_key *key, argc 424 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c size, argv, argc, key, name, pvmm); argc 99 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk104.c void *argv, u32 argc, struct lock_class_key *key, argc 103 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk104.c size, argv, argc, key, name, pvmm); argc 68 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk20a.c void *argv, u32 argc, struct lock_class_key *key, argc 72 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgk20a.c size, argv, argc, key, name, pvmm); argc 145 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c void *argv, u32 argc, struct lock_class_key *key, argc 155 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 163 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 173 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c void *argv, u32 argc, struct lock_class_key *key, argc 177 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c size, argv, argc, key, name, pvmm); argc 182 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c void *argv, u32 argc, struct lock_class_key *key, argc 186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c size, argv, argc, key, name, pvmm); argc 58 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c void *argv, u32 argc, struct lock_class_key *key, argc 62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c size, argv, argc, key, name, pvmm); argc 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c void *argv, u32 argc, struct lock_class_key *key, argc 71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm20b.c size, argv, argc, key, name, pvmm); argc 312 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argc 330 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 336 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 391 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_fault_cancel(struct nvkm_vmm *vmm, void *argv, u32 argc) argc 400 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if ((ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) argc 426 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_fault_replay(struct nvkm_vmm *vmm, void *argv, u32 argc) argc 433 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 442 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c struct nvkm_client *client, u32 mthd, void *argv, u32 argc) argc 447 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c return gp100_vmm_fault_replay(vmm, argv, argc); argc 449 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c return gp100_vmm_fault_cancel(vmm, argv, argc); argc 510 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c void *argv, u32 argc, struct lock_class_key *key, argc 520 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 523 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 538 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c void *argv, u32 argc, struct lock_class_key *key, argc 542 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c argv, argc, key, name, pvmm); argc 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c void *argv, u32 argc, struct lock_class_key *key, argc 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c argv, argc, key, name, pvmm); argc 84 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c void *argv, u32 argc, struct lock_class_key *key, argc 88 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c argv, argc, key, name, pvmm); argc 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmmcp77.c void *argv, u32 argc, struct lock_class_key *key, argc 44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmmcp77.c argv, argc, key, name, pvmm); argc 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c nv04_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argc 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) argc 104 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c void *argv, u32 argc, struct lock_class_key *key, argc 117 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c return nvif_unvers(-ENOSYS, &argv, &argc, args->vn); argc 122 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argc 130 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c argv, argc, key, name, &vmm); argc 108 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argc 112 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c argv, argc, key, name, pvmm); argc 209 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argc 217 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c argv, argc, key, name, &vmm); argc 227 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c nv50_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, argc 245 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { argc 251 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { argc 380 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c void *argv, u32 argc, struct lock_class_key *key, const char *name, argc 384 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c argv, argc, key, name, pvmm); argc 73 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c void *argv, u32 argc, struct lock_class_key *key, argc 77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c argv, argc, key, name, pvmm); argc 1126 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c u32 argc; argc 1167 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->argc = 1; argc 111 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c u32 argc; argc 140 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c desc->argc = 1; argc 186 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c desc->argc = 1; argc 109 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c desc->argc = 1; argc 42 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.h u32 argc; argc 53 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c desc->argc = 1; argc 265 drivers/gpu/drm/radeon/mkregtable.c int main(int argc, char *argv[]) argc 269 drivers/gpu/drm/radeon/mkregtable.c if (argc != 2) { argc 2110 drivers/md/dm-cache-target.c if (!as->argc) { argc 2228 drivers/md/dm-cache-target.c unsigned argc; argc 2234 drivers/md/dm-cache-target.c r = dm_read_arg_group(_args, as, &argc, error); argc 2238 drivers/md/dm-cache-target.c while (argc--) { argc 2300 drivers/md/dm-cache-target.c static int parse_cache_args(struct cache_args *ca, int argc, char **argv, argc 2306 drivers/md/dm-cache-target.c as.argc = argc; argc 2370 drivers/md/dm-cache-target.c static int set_config_values(struct cache *cache, int argc, const char **argv) argc 2374 drivers/md/dm-cache-target.c if (argc & 1) { argc 2379 drivers/md/dm-cache-target.c while (argc) { argc 2384 drivers/md/dm-cache-target.c argc -= 2; argc 2662 drivers/md/dm-cache-target.c static int copy_ctr_args(struct cache *cache, int argc, const char **argv) argc 2667 drivers/md/dm-cache-target.c copy = kcalloc(argc, sizeof(*copy), GFP_KERNEL); argc 2670 drivers/md/dm-cache-target.c for (i = 0; i < argc; i++) { argc 2680 drivers/md/dm-cache-target.c cache->nr_ctr_args = argc; argc 2686 drivers/md/dm-cache-target.c static int cache_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 2699 drivers/md/dm-cache-target.c r = parse_cache_args(ca, argc, argv, &ti->error); argc 2707 drivers/md/dm-cache-target.c r = copy_ctr_args(cache, argc - 3, (const char **)argv + 3); argc 3399 drivers/md/dm-cache-target.c static int cache_message(struct dm_target *ti, unsigned argc, char **argv, argc 3404 drivers/md/dm-cache-target.c if (!argc) argc 3414 drivers/md/dm-cache-target.c return process_invalidate_cblocks_message(cache, argc - 1, (const char **) argv + 1); argc 3416 drivers/md/dm-cache-target.c if (argc != 2) argc 1558 drivers/md/dm-clone-target.c unsigned int argc; argc 1569 drivers/md/dm-clone-target.c if (!as->argc) argc 1572 drivers/md/dm-clone-target.c r = dm_read_arg_group(&args, as, &argc, &ti->error); argc 1576 drivers/md/dm-clone-target.c while (argc) { argc 1578 drivers/md/dm-clone-target.c argc--; argc 1596 drivers/md/dm-clone-target.c unsigned int argc; argc 1612 drivers/md/dm-clone-target.c if (!as->argc) argc 1615 drivers/md/dm-clone-target.c r = dm_read_arg_group(&args, as, &argc, &ti->error); argc 1619 drivers/md/dm-clone-target.c if (argc & 1) { argc 1624 drivers/md/dm-clone-target.c while (argc) { argc 1626 drivers/md/dm-clone-target.c argc -= 2; argc 1760 drivers/md/dm-clone-target.c static int copy_ctr_args(struct clone *clone, int argc, const char **argv, char **error) argc 1765 drivers/md/dm-clone-target.c copy = kcalloc(argc, sizeof(*copy), GFP_KERNEL); argc 1769 drivers/md/dm-clone-target.c for (i = 0; i < argc; i++) { argc 1780 drivers/md/dm-clone-target.c clone->nr_ctr_args = argc; argc 1789 drivers/md/dm-clone-target.c static int clone_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 1796 drivers/md/dm-clone-target.c if (argc < 4) { argc 1801 drivers/md/dm-clone-target.c as.argc = argc; argc 1924 drivers/md/dm-clone-target.c r = copy_ctr_args(clone, argc - 3, (const char **)argv + 3, &ti->error); argc 2160 drivers/md/dm-clone-target.c static int clone_message(struct dm_target *ti, unsigned int argc, char **argv, argc 2166 drivers/md/dm-clone-target.c if (!argc) argc 2179 drivers/md/dm-clone-target.c if (argc != 2) argc 2481 drivers/md/dm-crypt.c static int crypt_ctr_optional(struct dm_target *ti, unsigned int argc, char **argv) argc 2494 drivers/md/dm-crypt.c as.argc = argc; argc 2560 drivers/md/dm-crypt.c static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 2571 drivers/md/dm-crypt.c if (argc < 5) { argc 2603 drivers/md/dm-crypt.c if (argc > 5) { argc 2604 drivers/md/dm-crypt.c ret = crypt_ctr_optional(ti, argc - 5, &argv[5]); argc 2898 drivers/md/dm-crypt.c static int crypt_message(struct dm_target *ti, unsigned argc, char **argv, argc 2904 drivers/md/dm-crypt.c if (argc < 2) argc 2912 drivers/md/dm-crypt.c if (argc == 3 && !strcasecmp(argv[1], "set")) { argc 2930 drivers/md/dm-crypt.c if (argc == 2 && !strcasecmp(argv[1], "wipe")) argc 39 drivers/md/dm-delay.c int argc; argc 173 drivers/md/dm-delay.c static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 178 drivers/md/dm-delay.c if (argc != 3 && argc != 6 && argc != 9) { argc 195 drivers/md/dm-delay.c dc->argc = argc; argc 201 drivers/md/dm-delay.c if (argc == 3) { argc 214 drivers/md/dm-delay.c if (argc == 6) { argc 320 drivers/md/dm-delay.c if (dc->argc >= 6) { argc 324 drivers/md/dm-delay.c if (dc->argc >= 9) { argc 279 drivers/md/dm-dust.c static int dust_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 289 drivers/md/dm-dust.c if (argc != 3) { argc 372 drivers/md/dm-dust.c static int dust_message(struct dm_target *ti, unsigned int argc, char **argv, argc 383 drivers/md/dm-dust.c if (argc == 1) { argc 413 drivers/md/dm-dust.c } else if (argc == 2) { argc 434 drivers/md/dm-dust.c DMERR("invalid number of arguments '%d'", argc); argc 1423 drivers/md/dm-era-target.c static int era_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 1430 drivers/md/dm-era-target.c if (argc != 3) { argc 1639 drivers/md/dm-era-target.c static int era_message(struct dm_target *ti, unsigned argc, char **argv, argc 1644 drivers/md/dm-era-target.c if (argc != 1) { argc 191 drivers/md/dm-exception-store.c int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, argc 201 drivers/md/dm-exception-store.c if (argc < 2) { argc 187 drivers/md/dm-exception-store.h int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, argc 51 drivers/md/dm-flakey.c unsigned argc; argc 62 drivers/md/dm-flakey.c if (!as->argc) argc 65 drivers/md/dm-flakey.c r = dm_read_arg_group(_args, as, &argc, &ti->error); argc 69 drivers/md/dm-flakey.c while (argc) { argc 71 drivers/md/dm-flakey.c argc--; argc 113 drivers/md/dm-flakey.c if (!argc) { argc 121 drivers/md/dm-flakey.c argc--; argc 135 drivers/md/dm-flakey.c argc--; argc 143 drivers/md/dm-flakey.c argc--; argc 151 drivers/md/dm-flakey.c argc--; argc 184 drivers/md/dm-flakey.c static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 198 drivers/md/dm-flakey.c as.argc = argc; argc 201 drivers/md/dm-flakey.c if (argc < 4) { argc 3568 drivers/md/dm-integrity.c static int dm_integrity_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 3589 drivers/md/dm-integrity.c if (argc <= DIRECT_ARGUMENTS) { argc 3649 drivers/md/dm-integrity.c as.argc = argc - DIRECT_ARGUMENTS; argc 1545 drivers/md/dm-ioctl.c static int message_for_md(struct mapped_device *md, unsigned argc, char **argv, argc 1554 drivers/md/dm-ioctl.c if (argc != 1) { argc 1561 drivers/md/dm-ioctl.c r = dm_stats_message(md, argc, argv, result, maxlen); argc 1574 drivers/md/dm-ioctl.c int r, argc; argc 1595 drivers/md/dm-ioctl.c r = dm_split_args(&argc, &argv, tmsg->message); argc 1601 drivers/md/dm-ioctl.c if (!argc) { argc 1606 drivers/md/dm-ioctl.c r = message_for_md(md, argc, argv, result, maxlen); argc 1624 drivers/md/dm-ioctl.c r = ti->type->message(ti, argc, argv, result, maxlen); argc 29 drivers/md/dm-linear.c static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 36 drivers/md/dm-linear.c if (argc != 2) { argc 126 drivers/md/dm-log-userspace-base.c unsigned argc, char **argv, argc 137 drivers/md/dm-log-userspace-base.c for (i = 0, str_size = 0; i < argc; i++) argc 149 drivers/md/dm-log-userspace-base.c for (i = 0; i < argc; i++) argc 191 drivers/md/dm-log-userspace-base.c unsigned argc, char **argv) argc 202 drivers/md/dm-log-userspace-base.c if (argc < 3) { argc 224 drivers/md/dm-log-userspace-base.c lc->usr_argc = argc; argc 227 drivers/md/dm-log-userspace-base.c argc--; argc 235 drivers/md/dm-log-userspace-base.c argc--; argc 239 drivers/md/dm-log-userspace-base.c str_size = build_constructor_string(ti, argc, argv, &ctr_str); argc 528 drivers/md/dm-log-writes.c static int log_writes_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 535 drivers/md/dm-log-writes.c as.argc = argc; argc 538 drivers/md/dm-log-writes.c if (argc < 2) { argc 868 drivers/md/dm-log-writes.c static int log_writes_message(struct dm_target *ti, unsigned argc, char **argv, argc 874 drivers/md/dm-log-writes.c if (argc != 2) { argc 875 drivers/md/dm-log-writes.c DMWARN("Invalid log-writes message arguments, expect 2 arguments, got %d", argc); argc 150 drivers/md/dm-log.c unsigned int argc, char **argv) argc 167 drivers/md/dm-log.c if (type->ctr(log, ti, argc, argv)) { argc 364 drivers/md/dm-log.c unsigned int argc, char **argv, argc 376 drivers/md/dm-log.c if (argc < 1 || argc > 2) { argc 381 drivers/md/dm-log.c if (argc > 1) { argc 517 drivers/md/dm-log.c unsigned int argc, char **argv) argc 519 drivers/md/dm-log.c return create_log_context(log, ti, argc, argv, NULL); argc 543 drivers/md/dm-log.c unsigned int argc, char **argv) argc 548 drivers/md/dm-log.c if (argc < 2 || argc > 3) { argc 557 drivers/md/dm-log.c r = create_log_context(log, ti, argc - 1, argv + 1, dev); argc 846 drivers/md/dm-mpath.c if (as->argc < 1) { argc 874 drivers/md/dm-mpath.c r = ps->type->add_path(ps, &p->path, as->argc, as->argv, &ti->error); argc 899 drivers/md/dm-mpath.c if (as->argc < 2) { argc 900 drivers/md/dm-mpath.c as->argc = 0; argc 932 drivers/md/dm-mpath.c if (as->argc < nr_args) { argc 938 drivers/md/dm-mpath.c path_args.argc = nr_args; argc 1013 drivers/md/dm-mpath.c unsigned argc; argc 1023 drivers/md/dm-mpath.c r = dm_read_arg_group(_args, as, &argc, &ti->error); argc 1027 drivers/md/dm-mpath.c if (!argc) argc 1032 drivers/md/dm-mpath.c argc--; argc 1045 drivers/md/dm-mpath.c (argc >= 1)) { argc 1047 drivers/md/dm-mpath.c argc--; argc 1052 drivers/md/dm-mpath.c (argc >= 1)) { argc 1054 drivers/md/dm-mpath.c argc--; argc 1059 drivers/md/dm-mpath.c (argc >= 1)) { argc 1071 drivers/md/dm-mpath.c argc--; argc 1077 drivers/md/dm-mpath.c } while (argc && !r); argc 1082 drivers/md/dm-mpath.c static int multipath_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 1096 drivers/md/dm-mpath.c as.argc = argc; argc 1133 drivers/md/dm-mpath.c while (as.argc) { argc 1787 drivers/md/dm-mpath.c static int multipath_message(struct dm_target *ti, unsigned argc, char **argv, argc 1802 drivers/md/dm-mpath.c if (argc == 1) { argc 1812 drivers/md/dm-mpath.c if (argc != 2) { argc 1813 drivers/md/dm-mpath.c DMWARN("Invalid multipath message arguments. Expected 2 arguments, got %d.", argc); argc 40 drivers/md/dm-path-selector.h int (*create) (struct path_selector *ps, unsigned argc, char **argv); argc 48 drivers/md/dm-path-selector.h int argc, char **argv, char **error); argc 55 drivers/md/dm-queue-length.c static int ql_create(struct path_selector *ps, unsigned argc, char **argv) argc 112 drivers/md/dm-queue-length.c int argc, char **argv, char **error) argc 125 drivers/md/dm-queue-length.c if (argc > 1) { argc 130 drivers/md/dm-queue-length.c if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { argc 3005 drivers/md/dm-raid.c static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 3015 drivers/md/dm-raid.c struct dm_arg_set as = { argc, argv }, as_nrd; argc 3017 drivers/md/dm-raid.c { 0, as.argc, "Cannot understand number of raid parameters" }, argc 3041 drivers/md/dm-raid.c _args[1].max = (as_nrd.argc - 1) / 2; argc 3669 drivers/md/dm-raid.c static int raid_message(struct dm_target *ti, unsigned int argc, char **argv, argc 968 drivers/md/dm-raid1.c unsigned argc, char **argv, argc 975 drivers/md/dm-raid1.c if (argc < 2) { argc 987 drivers/md/dm-raid1.c if (argc < *args_used) { argc 1002 drivers/md/dm-raid1.c static int parse_features(struct mirror_set *ms, unsigned argc, char **argv, argc 1012 drivers/md/dm-raid1.c if (!argc) argc 1020 drivers/md/dm-raid1.c argc--; argc 1024 drivers/md/dm-raid1.c if (num_features > argc) { argc 1039 drivers/md/dm-raid1.c argc--; argc 1063 drivers/md/dm-raid1.c static int mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 1071 drivers/md/dm-raid1.c dl = create_dirty_log(ti, argc, argv, &args_used); argc 1076 drivers/md/dm-raid1.c argc -= args_used; argc 1078 drivers/md/dm-raid1.c if (!argc || sscanf(argv[0], "%u%c", &nr_mirrors, &dummy) != 1 || argc 1085 drivers/md/dm-raid1.c argv++, argc--; argc 1087 drivers/md/dm-raid1.c if (argc < nr_mirrors * 2) { argc 1107 drivers/md/dm-raid1.c argc -= 2; argc 1131 drivers/md/dm-raid1.c r = parse_features(ms, argc, argv, &args_used); argc 1136 drivers/md/dm-raid1.c argc -= args_used; argc 1147 drivers/md/dm-raid1.c if (argc) { argc 65 drivers/md/dm-round-robin.c static int rr_create(struct path_selector *ps, unsigned argc, char **argv) argc 114 drivers/md/dm-round-robin.c int argc, char **argv, char **error) argc 122 drivers/md/dm-round-robin.c if (argc > 1) { argc 128 drivers/md/dm-round-robin.c if ((argc == 1) && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { argc 51 drivers/md/dm-service-time.c static int st_create(struct path_selector *ps, unsigned argc, char **argv) argc 109 drivers/md/dm-service-time.c int argc, char **argv, char **error) argc 130 drivers/md/dm-service-time.c if (argc > 2) { argc 135 drivers/md/dm-service-time.c if (argc && (sscanf(argv[0], "%u%c", &repeat_count, &dummy) != 1)) { argc 145 drivers/md/dm-service-time.c if ((argc == 2) && argc 1180 drivers/md/dm-snap.c unsigned argc; argc 1190 drivers/md/dm-snap.c if (!as->argc) argc 1193 drivers/md/dm-snap.c r = dm_read_arg_group(_args, as, &argc, &ti->error); argc 1197 drivers/md/dm-snap.c while (argc && !r) { argc 1199 drivers/md/dm-snap.c argc--; argc 1230 drivers/md/dm-snap.c static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 1241 drivers/md/dm-snap.c if (argc < 4) { argc 1259 drivers/md/dm-snap.c as.argc = argc; argc 1268 drivers/md/dm-snap.c argc--; argc 1279 drivers/md/dm-snap.c argc--; argc 1294 drivers/md/dm-snap.c r = dm_exception_store_create(ti, argc, argv, s, &args_used, &s->store); argc 1302 drivers/md/dm-snap.c argc -= args_used; argc 2608 drivers/md/dm-snap.c static int origin_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 2613 drivers/md/dm-snap.c if (argc != 1) { argc 945 drivers/md/dm-stats.c unsigned argc, char **argv, argc 968 drivers/md/dm-stats.c if (argc < 3) argc 971 drivers/md/dm-stats.c as.argc = argc; argc 1034 drivers/md/dm-stats.c if (as.argc) argc 1070 drivers/md/dm-stats.c unsigned argc, char **argv) argc 1075 drivers/md/dm-stats.c if (argc != 2) argc 1085 drivers/md/dm-stats.c unsigned argc, char **argv) argc 1090 drivers/md/dm-stats.c if (argc != 2) argc 1100 drivers/md/dm-stats.c unsigned argc, char **argv, argc 1106 drivers/md/dm-stats.c if (argc < 1 || argc > 2) argc 1109 drivers/md/dm-stats.c if (argc > 1) { argc 1123 drivers/md/dm-stats.c unsigned argc, char **argv, bool clear, argc 1130 drivers/md/dm-stats.c if (argc != 2 && argc != 4) argc 1136 drivers/md/dm-stats.c if (argc > 3) { argc 1150 drivers/md/dm-stats.c unsigned argc, char **argv) argc 1155 drivers/md/dm-stats.c if (argc != 3) argc 1164 drivers/md/dm-stats.c int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, argc 1171 drivers/md/dm-stats.c r = message_stats_create(md, argc, argv, result, maxlen); argc 1173 drivers/md/dm-stats.c r = message_stats_delete(md, argc, argv); argc 1175 drivers/md/dm-stats.c r = message_stats_clear(md, argc, argv); argc 1177 drivers/md/dm-stats.c r = message_stats_list(md, argc, argv, result, maxlen); argc 1179 drivers/md/dm-stats.c r = message_stats_print(md, argc, argv, false, result, maxlen); argc 1181 drivers/md/dm-stats.c r = message_stats_print(md, argc, argv, true, result, maxlen); argc 1183 drivers/md/dm-stats.c r = message_stats_set_aux(md, argc, argv); argc 30 drivers/md/dm-stats.h int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, argc 98 drivers/md/dm-stripe.c static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 107 drivers/md/dm-stripe.c if (argc < 2) { argc 139 drivers/md/dm-stripe.c if (argc != (2 + 2 * stripes)) { argc 252 drivers/md/dm-switch.c static int switch_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 265 drivers/md/dm-switch.c as.argc = argc; argc 281 drivers/md/dm-switch.c if (as.argc != nr_paths * 2) { argc 296 drivers/md/dm-switch.c while (as.argc) { argc 374 drivers/md/dm-switch.c unsigned argc, char **argv) argc 379 drivers/md/dm-switch.c for (i = 1; i < argc; i++) { argc 469 drivers/md/dm-switch.c static int switch_message(struct dm_target *ti, unsigned argc, char **argv, argc 480 drivers/md/dm-switch.c r = process_set_region_mappings(sctx, argc, argv); argc 574 drivers/md/dm-table.c int dm_split_args(int *argc, char ***argvp, char *input) argc 579 drivers/md/dm-table.c *argc = 0; argc 614 drivers/md/dm-table.c if ((*argc + 1) > array_size) { argc 626 drivers/md/dm-table.c argv[*argc] = start; argc 627 drivers/md/dm-table.c (*argc)++; argc 711 drivers/md/dm-table.c int r = -EINVAL, argc; argc 779 drivers/md/dm-table.c r = dm_split_args(&argc, &argv, params); argc 785 drivers/md/dm-table.c r = tgt->type->ctr(tgt, argc, argv); argc 818 drivers/md/dm-table.c (grouped && arg_set->argc < *value)) { argc 844 drivers/md/dm-table.c if (as->argc) { argc 845 drivers/md/dm-table.c as->argc--; argc 857 drivers/md/dm-table.c BUG_ON(as->argc < num_args); argc 858 drivers/md/dm-table.c as->argc -= num_args; argc 112 drivers/md/dm-target.c static int io_err_ctr(struct dm_target *tt, unsigned int argc, char **args) argc 3157 drivers/md/dm-thin.c unsigned argc; argc 3167 drivers/md/dm-thin.c if (!as->argc) argc 3170 drivers/md/dm-thin.c r = dm_read_arg_group(_args, as, &argc, &ti->error); argc 3174 drivers/md/dm-thin.c while (argc && !r) { argc 3176 drivers/md/dm-thin.c argc--; argc 3300 drivers/md/dm-thin.c static int pool_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 3318 drivers/md/dm-thin.c if (argc < 4) { argc 3324 drivers/md/dm-thin.c as.argc = argc; argc 3693 drivers/md/dm-thin.c static int check_arg_count(unsigned argc, unsigned args_required) argc 3695 drivers/md/dm-thin.c if (argc != args_required) { argc 3697 drivers/md/dm-thin.c argc, args_required); argc 3716 drivers/md/dm-thin.c static int process_create_thin_mesg(unsigned argc, char **argv, struct pool *pool) argc 3721 drivers/md/dm-thin.c r = check_arg_count(argc, 2); argc 3739 drivers/md/dm-thin.c static int process_create_snap_mesg(unsigned argc, char **argv, struct pool *pool) argc 3745 drivers/md/dm-thin.c r = check_arg_count(argc, 3); argc 3767 drivers/md/dm-thin.c static int process_delete_mesg(unsigned argc, char **argv, struct pool *pool) argc 3772 drivers/md/dm-thin.c r = check_arg_count(argc, 2); argc 3787 drivers/md/dm-thin.c static int process_set_transaction_id_mesg(unsigned argc, char **argv, struct pool *pool) argc 3792 drivers/md/dm-thin.c r = check_arg_count(argc, 3); argc 3816 drivers/md/dm-thin.c static int process_reserve_metadata_snap_mesg(unsigned argc, char **argv, struct pool *pool) argc 3820 drivers/md/dm-thin.c r = check_arg_count(argc, 1); argc 3833 drivers/md/dm-thin.c static int process_release_metadata_snap_mesg(unsigned argc, char **argv, struct pool *pool) argc 3837 drivers/md/dm-thin.c r = check_arg_count(argc, 1); argc 3857 drivers/md/dm-thin.c static int pool_message(struct dm_target *ti, unsigned argc, char **argv, argc 3871 drivers/md/dm-thin.c r = process_create_thin_mesg(argc, argv, pool); argc 3874 drivers/md/dm-thin.c r = process_create_snap_mesg(argc, argv, pool); argc 3877 drivers/md/dm-thin.c r = process_delete_mesg(argc, argv, pool); argc 3880 drivers/md/dm-thin.c r = process_set_transaction_id_mesg(argc, argv, pool); argc 3883 drivers/md/dm-thin.c r = process_reserve_metadata_snap_mesg(argc, argv, pool); argc 3886 drivers/md/dm-thin.c r = process_release_metadata_snap_mesg(argc, argv, pool); argc 4192 drivers/md/dm-thin.c static int thin_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 4202 drivers/md/dm-thin.c if (argc != 2 && argc != 3) { argc 4221 drivers/md/dm-thin.c if (argc == 3) { argc 38 drivers/md/dm-unstripe.c static int unstripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 45 drivers/md/dm-unstripe.c if (argc != 5) { argc 593 drivers/md/dm-verity-fec.c unsigned *argc, const char *arg_name) argc 602 drivers/md/dm-verity-fec.c if (!*argc) { argc 608 drivers/md/dm-verity-fec.c (*argc)--; argc 82 drivers/md/dm-verity-fec.h struct dm_verity *v, unsigned *argc, argc 130 drivers/md/dm-verity-fec.h unsigned *argc, argc 869 drivers/md/dm-verity-target.c unsigned argc; argc 877 drivers/md/dm-verity-target.c r = dm_read_arg_group(_args, as, &argc, &ti->error); argc 881 drivers/md/dm-verity-target.c if (!argc) argc 886 drivers/md/dm-verity-target.c argc--; argc 911 drivers/md/dm-verity-target.c r = verity_fec_parse_opt_args(as, v, &argc, arg_name); argc 918 drivers/md/dm-verity-target.c &argc, arg_name); argc 927 drivers/md/dm-verity-target.c } while (argc && !r); argc 946 drivers/md/dm-verity-target.c static int verity_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 977 drivers/md/dm-verity-target.c if (argc < 10) { argc 1110 drivers/md/dm-verity-target.c argc -= 10; argc 1113 drivers/md/dm-verity-target.c if (argc) { argc 1114 drivers/md/dm-verity-target.c as.argc = argc; argc 70 drivers/md/dm-verity-verify-sig.c unsigned int *argc, argc 77 drivers/md/dm-verity-verify-sig.c if (!*argc) { argc 83 drivers/md/dm-verity-verify-sig.c (*argc)--; argc 29 drivers/md/dm-verity-verify-sig.h unsigned int *argc, const char *arg_name); argc 50 drivers/md/dm-verity-verify-sig.h unsigned int *argc, const char *arg_name) argc 1005 drivers/md/dm-writecache.c static int process_flush_mesg(unsigned argc, char **argv, struct dm_writecache *wc) argc 1007 drivers/md/dm-writecache.c if (argc != 1) argc 1038 drivers/md/dm-writecache.c static int process_flush_on_suspend_mesg(unsigned argc, char **argv, struct dm_writecache *wc) argc 1040 drivers/md/dm-writecache.c if (argc != 1) argc 1050 drivers/md/dm-writecache.c static int writecache_message(struct dm_target *ti, unsigned argc, char **argv, argc 1057 drivers/md/dm-writecache.c r = process_flush_mesg(argc, argv, wc); argc 1059 drivers/md/dm-writecache.c r = process_flush_on_suspend_mesg(argc, argv, wc); argc 1865 drivers/md/dm-writecache.c static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv) argc 1883 drivers/md/dm-writecache.c as.argc = argc; argc 18 drivers/md/dm-zero.c static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 20 drivers/md/dm-zero.c if (argc != 0) { argc 757 drivers/md/dm-zoned-target.c static int dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv) argc 764 drivers/md/dm-zoned-target.c if (argc != 1) { argc 114 drivers/md/dm.h int dm_split_args(int *argc, char ***argvp, char *input); argc 1312 drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c int main(int argc, char **argv) argc 359 drivers/media/pci/ivtv/ivtv-mailbox.c int argc, u32 data[]) argc 363 drivers/media/pci/ivtv/ivtv-mailbox.c for (i = 0; i < argc; i++, p++) argc 16 drivers/media/pci/ivtv/ivtv-mailbox.h int argc, u32 data[]); argc 9972 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 cmd_args[], int argc) argc 10002 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (idx = 0; idx < argc; idx++) { argc 10037 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (idx = 0; idx < argc; idx++) { argc 10048 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 cmd_args[], int argc, int process) argc 10085 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (idx = 0; idx < argc; idx++) { argc 10109 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (idx = 0; idx < argc; idx++) { argc 10127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 cmd_args[], int argc, argc 10138 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c argc); argc 10141 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c argc, process); argc 1203 drivers/net/wimax/i2400m/control.c unsigned argc, argsize, tlv_size; argc 1214 drivers/net/wimax/i2400m/control.c for (argc = 0; argc < args; argc++) { argc 1215 drivers/net/wimax/i2400m/control.c tlv_hdr = arg[argc]; argc 1218 drivers/net/wimax/i2400m/control.c WARN_ON(argc >= 9); /* As per hw spec */ argc 1232 drivers/net/wimax/i2400m/control.c for (argc = 0; argc < args; argc++) { argc 1233 drivers/net/wimax/i2400m/control.c tlv_hdr = arg[argc]; argc 1357 drivers/net/wimax/i2400m/control.c unsigned argc = 0; argc 1371 drivers/net/wimax/i2400m/control.c args[argc++] = &idle_params.hdr; argc 1378 drivers/net/wimax/i2400m/control.c args[argc++] = &idle_timeout.hdr; argc 1388 drivers/net/wimax/i2400m/control.c args[argc++] = &df.hdr; argc 1398 drivers/net/wimax/i2400m/control.c args[argc++] = &dlhr.hdr; argc 1401 drivers/net/wimax/i2400m/control.c result = i2400m_set_init_config(i2400m, args, argc); argc 115 drivers/s390/char/hmcdrv_ftp.c int argc = 0; argc 130 drivers/s390/char/hmcdrv_ftp.c switch (argc) { argc 146 drivers/s390/char/hmcdrv_ftp.c ++argc; argc 114 drivers/scsi/aic7xxx/aicasm/aicasm.c int main(int argc, char *argv[]); argc 117 drivers/scsi/aic7xxx/aicasm/aicasm.c main(int argc, char *argv[]) argc 146 drivers/scsi/aic7xxx/aicasm/aicasm.c while ((ch = getopt(argc, argv, "d:i:l:n:o:p:r:I:")) != -1) { argc 253 drivers/scsi/aic7xxx/aicasm/aicasm.c argc -= optind; argc 256 drivers/scsi/aic7xxx/aicasm/aicasm.c if (argc != 1) { argc 967 drivers/scsi/device_handler/scsi_dh_alua.c unsigned int optimize = 0, argc; argc 972 drivers/scsi/device_handler/scsi_dh_alua.c if ((sscanf(params, "%u", &argc) != 1) || (argc != 1)) argc 426 drivers/scsi/device_handler/scsi_dh_emc.c unsigned int hr = 0, st = 0, argc; argc 430 drivers/scsi/device_handler/scsi_dh_emc.c if ((sscanf(params, "%u", &argc) != 1) || (argc != 2)) argc 29 drivers/staging/greybus/Documentation/firmware/authenticate.c int main(int argc, char *argv[]) argc 36 drivers/staging/greybus/Documentation/firmware/authenticate.c if (argc != 2) { argc 160 drivers/staging/greybus/Documentation/firmware/firmware.c int main(int argc, char *argv[]) argc 165 drivers/staging/greybus/Documentation/firmware/firmware.c if (argc > 1 && argc 171 drivers/staging/greybus/Documentation/firmware/firmware.c if (argc > 1) argc 174 drivers/staging/greybus/Documentation/firmware/firmware.c if (argc > 2) argc 177 drivers/staging/greybus/Documentation/firmware/firmware.c if (argc > 3) argc 184 drivers/staging/greybus/Documentation/firmware/firmware.c if (argc > 4) argc 890 drivers/staging/greybus/tools/loopback_test.c int main(int argc, char *argv[]) argc 898 drivers/staging/greybus/tools/loopback_test.c while ((o = getopt(argc, argv, argc 143 drivers/video/fbdev/broadsheetfb.c int argc, u16 *argv) argc 153 drivers/video/fbdev/broadsheetfb.c for (i = 0; i < argc; i++) argc 159 drivers/video/fbdev/broadsheetfb.c int argc, u16 *argv) argc 165 drivers/video/fbdev/broadsheetfb.c for (i = 0; i < argc; i++) argc 178 drivers/video/fbdev/broadsheetfb.c int argc, u16 *argv) argc 181 drivers/video/fbdev/broadsheetfb.c broadsheet_mmio_send_cmdargs(par, cmd, argc, argv); argc 183 drivers/video/fbdev/broadsheetfb.c broadsheet_gpio_send_cmdargs(par, cmd, argc, argv); argc 64 fs/binfmt_aout.c int argc = bprm->argc; argc 83 fs/binfmt_aout.c sp -= argc+1; argc 89 fs/binfmt_aout.c put_user(argc,--sp); argc 91 fs/binfmt_aout.c while (argc-->0) { argc 168 fs/binfmt_elf.c int argc = bprm->argc; argc 286 fs/binfmt_elf.c items = (argc + 1) + (envc + 1) + 1; argc 307 fs/binfmt_elf.c if (__put_user(argc, sp++)) argc 312 fs/binfmt_elf.c while (argc-- > 0) { argc 598 fs/binfmt_elf_fdpic.c sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ argc 673 fs/binfmt_elf_fdpic.c csp -= (bprm->argc + 1) * sizeof(elf_caddr_t); argc 678 fs/binfmt_elf_fdpic.c __put_user(bprm->argc, (unsigned long __user *) csp); argc 691 fs/binfmt_elf_fdpic.c for (loop = bprm->argc; loop > 0; loop--) { argc 73 fs/binfmt_em86.c bprm->argc++; argc 77 fs/binfmt_em86.c bprm->argc++; argc 81 fs/binfmt_em86.c bprm->argc++; argc 133 fs/binfmt_flat.c sp -= bprm->argc + 1; argc 141 fs/binfmt_flat.c __put_user(bprm->argc, sp++); argc 145 fs/binfmt_flat.c envp = (unsigned long)(sp + 2 + bprm->argc + 1); argc 151 fs/binfmt_flat.c for (i = bprm->argc; i > 0; i--) { argc 943 fs/binfmt_flat.c stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ argc 196 fs/binfmt_misc.c bprm->argc++; argc 202 fs/binfmt_misc.c bprm->argc++; argc 123 fs/binfmt_script.c bprm->argc++; argc 128 fs/binfmt_script.c bprm->argc++; argc 133 fs/binfmt_script.c bprm->argc++; argc 192 fs/coredump.c size_t **argv, int *argc) argc 212 fs/coredump.c (*argv)[(*argc)++] = 0; argc 235 fs/coredump.c (*argv)[(*argc)++] = cn->used; argc 578 fs/coredump.c int argc = 0; argc 625 fs/coredump.c ispipe = format_corename(&cn, &cprm, &argv, &argc); argc 671 fs/coredump.c helper_argv = kmalloc_array(argc + 1, sizeof(*helper_argv), argc 678 fs/coredump.c for (argi = 0; argi < argc; argi++) argc 456 fs/exec.c bprm->argc = count(argv, MAX_ARG_STRINGS); argc 457 fs/exec.c if (bprm->argc < 0) argc 458 fs/exec.c return bprm->argc; argc 486 fs/exec.c ptr_size = (bprm->argc + bprm->envc) * sizeof(void *); argc 500 fs/exec.c static int copy_strings(int argc, struct user_arg_ptr argv, argc 508 fs/exec.c while (argc-- > 0) { argc 514 fs/exec.c str = get_user_arg_ptr(argv, argc); argc 595 fs/exec.c int copy_strings_kernel(int argc, const char *const *__argv, argc 605 fs/exec.c r = copy_strings(argc, argv, bprm); argc 1605 fs/exec.c if (!bprm->argc) argc 1626 fs/exec.c bprm->argc--; argc 1818 fs/exec.c retval = copy_strings(bprm->argc, argv, bprm); argc 3347 fs/unicode/mkutf8data.c int main(int argc, char *argv[]) argc 3354 fs/unicode/mkutf8data.c while ((opt = getopt(argc, argv, "a:c:d:f:hn:o:p:t:v")) != -1) { argc 56 include/linux/binfmts.h int argc, envc; argc 141 include/linux/binfmts.h extern int copy_strings_kernel(int argc, const char *const *argv, argc 493 include/linux/ceph/rados.h __u8 argc; argc 45 include/linux/device-mapper.h unsigned int argc, char **argv); argc 91 include/linux/device-mapper.h typedef int (*dm_message_fn) (struct dm_target *ti, unsigned argc, char **argv, argc 338 include/linux/device-mapper.h unsigned argc; argc 36 include/linux/dm-dirty-log.h unsigned argc, char **argv); argc 142 include/linux/dm-dirty-log.h unsigned argc, char **argv); argc 189 kernel/audit.h int argc; argc 1024 kernel/auditsc.c audit_log_format(*ab, "argc=%d", context->execve.argc); argc 1153 kernel/auditsc.c } while (arg < context->execve.argc); argc 2309 kernel/auditsc.c context->execve.argc = bprm->argc; argc 48 kernel/debug/kdb/kdb_bp.c static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) argc 54 kernel/debug/kdb/kdb_bp.c if ((argc + 1) != nextarg) { argc 68 kernel/debug/kdb/kdb_bp.c if ((argc + 1) != nextarg) { argc 84 kernel/debug/kdb/kdb_bp.c if ((argc + 1) != nextarg) argc 277 kernel/debug/kdb/kdb_bp.c static int kdb_bp(int argc, const char **argv) argc 287 kernel/debug/kdb/kdb_bp.c if (argc == 0) { argc 302 kernel/debug/kdb/kdb_bp.c diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, argc 322 kernel/debug/kdb/kdb_bp.c diag = kdb_parsebp(argc, argv, &nextarg, &template); argc 377 kernel/debug/kdb/kdb_bp.c static int kdb_bc(int argc, const char **argv) argc 399 kernel/debug/kdb/kdb_bp.c if (argc != 1) argc 506 kernel/debug/kdb/kdb_bp.c static int kdb_ss(int argc, const char **argv) argc 508 kernel/debug/kdb/kdb_bp.c if (argc != 0) argc 106 kernel/debug/kdb/kdb_bt.c kdb_bt(int argc, const char **argv) argc 121 kernel/debug/kdb/kdb_bt.c unsigned long mask = kdb_task_state_string(argc ? argv[1] : argc 123 kernel/debug/kdb/kdb_bt.c if (argc == 0) argc 143 kernel/debug/kdb/kdb_bt.c if (argc != 1) argc 156 kernel/debug/kdb/kdb_bt.c if (argc != 1) argc 167 kernel/debug/kdb/kdb_bt.c if (argc > 1) argc 169 kernel/debug/kdb/kdb_bt.c if (argc == 1) { argc 205 kernel/debug/kdb/kdb_bt.c if (argc) { argc 207 kernel/debug/kdb/kdb_bt.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, argc 382 kernel/debug/kdb/kdb_main.c int kdb_set(int argc, const char **argv) argc 394 kernel/debug/kdb/kdb_main.c if (argc == 3) { argc 396 kernel/debug/kdb/kdb_main.c argc--; argc 399 kernel/debug/kdb/kdb_main.c if (argc != 2) argc 494 kernel/debug/kdb/kdb_main.c int kdbgetaddrarg(int argc, const char **argv, int *nextarg, argc 525 kernel/debug/kdb/kdb_main.c if (*nextarg > argc) argc 577 kernel/debug/kdb/kdb_main.c if ((*nextarg > argc) argc 602 kernel/debug/kdb/kdb_main.c if ((*nextarg > argc) argc 672 kernel/debug/kdb/kdb_main.c static int kdb_exec_defcmd(int argc, const char **argv); argc 707 kernel/debug/kdb/kdb_main.c static int kdb_defcmd(int argc, const char **argv) argc 715 kernel/debug/kdb/kdb_main.c if (argc == 0) { argc 726 kernel/debug/kdb/kdb_main.c if (argc != 3) argc 783 kernel/debug/kdb/kdb_main.c static int kdb_exec_defcmd(int argc, const char **argv) argc 787 kernel/debug/kdb/kdb_main.c if (argc != 0) argc 914 kernel/debug/kdb/kdb_main.c static int argc; argc 931 kernel/debug/kdb/kdb_main.c argc = 0; /* no repeat */ argc 935 kernel/debug/kdb/kdb_main.c argc = 0; argc 955 kernel/debug/kdb/kdb_main.c if (argc >= MAXARGC - 1) { argc 960 kernel/debug/kdb/kdb_main.c argv[argc++] = cpp; argc 991 kernel/debug/kdb/kdb_main.c if (!argc) argc 998 kernel/debug/kdb/kdb_main.c argc = 0; /* avoid repeat on endefcmd */ argc 1050 kernel/debug/kdb/kdb_main.c if (!kdb_check_flags(tp->cmd_flags, kdb_cmd_enabled, argc <= 1)) argc 1054 kernel/debug/kdb/kdb_main.c result = (*tp->cmd_func)(argc-1, (const char **)argv); argc 1062 kernel/debug/kdb/kdb_main.c argc = tp->cmd_flags & KDB_REPEAT_NO_ARGS ? 1 : 0; argc 1063 kernel/debug/kdb/kdb_main.c if (argv[argc]) argc 1064 kernel/debug/kdb/kdb_main.c *(argv[argc]) = '\0'; argc 1121 kernel/debug/kdb/kdb_main.c static int kdb_reboot(int argc, const char **argv) argc 1552 kernel/debug/kdb/kdb_main.c static int kdb_md(int argc, const char **argv) argc 1575 kernel/debug/kdb/kdb_main.c if (argc == 2 || (argc == 0 && last_addr != 0)) argc 1607 kernel/debug/kdb/kdb_main.c if (argc == 0) { argc 1620 kernel/debug/kdb/kdb_main.c if (argc) { argc 1623 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, argc 1627 kernel/debug/kdb/kdb_main.c if (argc > nextarg+2) argc 1630 kernel/debug/kdb/kdb_main.c if (argc >= nextarg) { argc 1640 kernel/debug/kdb/kdb_main.c if (argc >= nextarg+1) { argc 1750 kernel/debug/kdb/kdb_main.c static int kdb_mm(int argc, const char **argv) argc 1762 kernel/debug/kdb/kdb_main.c if (argc < 2) argc 1766 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); argc 1770 kernel/debug/kdb/kdb_main.c if (nextarg > argc) argc 1772 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &contents, NULL, NULL); argc 1776 kernel/debug/kdb/kdb_main.c if (nextarg != argc + 1) argc 1793 kernel/debug/kdb/kdb_main.c static int kdb_go(int argc, const char **argv) argc 1806 kernel/debug/kdb/kdb_main.c if (argc == 1) { argc 1808 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, argc 1812 kernel/debug/kdb/kdb_main.c } else if (argc) { argc 1838 kernel/debug/kdb/kdb_main.c static int kdb_rd(int argc, const char **argv) argc 1908 kernel/debug/kdb/kdb_main.c static int kdb_rm(int argc, const char **argv) argc 1919 kernel/debug/kdb/kdb_main.c if (argc != 2) argc 1975 kernel/debug/kdb/kdb_main.c static int kdb_sr(int argc, const char **argv) argc 1980 kernel/debug/kdb/kdb_main.c if (argc != 1) argc 2000 kernel/debug/kdb/kdb_main.c static int kdb_ef(int argc, const char **argv) argc 2007 kernel/debug/kdb/kdb_main.c if (argc != 1) argc 2011 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); argc 2024 kernel/debug/kdb/kdb_main.c static int kdb_lsmod(int argc, const char **argv) argc 2028 kernel/debug/kdb/kdb_main.c if (argc != 0) argc 2071 kernel/debug/kdb/kdb_main.c static int kdb_env(int argc, const char **argv) argc 2092 kernel/debug/kdb/kdb_main.c static int kdb_dmesg(int argc, const char **argv) argc 2104 kernel/debug/kdb/kdb_main.c if (argc > 2) argc 2106 kernel/debug/kdb/kdb_main.c if (argc) { argc 2111 kernel/debug/kdb/kdb_main.c if (argc > 1) { argc 2179 kernel/debug/kdb/kdb_main.c static int kdb_disable_nmi(int argc, const char *argv[]) argc 2252 kernel/debug/kdb/kdb_main.c static int kdb_cpu(int argc, const char **argv) argc 2257 kernel/debug/kdb/kdb_main.c if (argc == 0) { argc 2262 kernel/debug/kdb/kdb_main.c if (argc != 1) argc 2347 kernel/debug/kdb/kdb_main.c static int kdb_ps(int argc, const char **argv) argc 2352 kernel/debug/kdb/kdb_main.c if (argc == 0) argc 2357 kernel/debug/kdb/kdb_main.c mask = kdb_task_state_string(argc ? argv[1] : NULL); argc 2383 kernel/debug/kdb/kdb_main.c static int kdb_pid(int argc, const char **argv) argc 2389 kernel/debug/kdb/kdb_main.c if (argc > 1) argc 2392 kernel/debug/kdb/kdb_main.c if (argc) { argc 2415 kernel/debug/kdb/kdb_main.c static int kdb_kgdb(int argc, const char **argv) argc 2423 kernel/debug/kdb/kdb_main.c static int kdb_help(int argc, const char **argv) argc 2450 kernel/debug/kdb/kdb_main.c static int kdb_kill(int argc, const char **argv) argc 2456 kernel/debug/kdb/kdb_main.c if (argc != 2) argc 2510 kernel/debug/kdb/kdb_main.c static int kdb_summary(int argc, const char **argv) argc 2516 kernel/debug/kdb/kdb_main.c if (argc) argc 2559 kernel/debug/kdb/kdb_main.c static int kdb_per_cpu(int argc, const char **argv) argc 2565 kernel/debug/kdb/kdb_main.c if (argc < 1 || argc > 3) argc 2568 kernel/debug/kdb/kdb_main.c diag = kdbgetaddrarg(argc, argv, &nextarg, &symaddr, NULL, NULL); argc 2572 kernel/debug/kdb/kdb_main.c if (argc >= 2) { argc 2582 kernel/debug/kdb/kdb_main.c if (argc >= 3) { argc 2629 kernel/debug/kdb/kdb_main.c static int kdb_grep_help(int argc, const char **argv) argc 9030 kernel/trace/trace.c int argc, ret; argc 9032 kernel/trace/trace.c argc = 0; argc 9034 kernel/trace/trace.c argv = argv_split(GFP_KERNEL, buf, &argc); argc 9038 kernel/trace/trace.c if (argc) argc 9039 kernel/trace/trace.c ret = createfn(argc, argv); argc 34 kernel/trace/trace_dynevent.c int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type) argc 50 kernel/trace/trace_dynevent.c argc--; argv++; argc 66 kernel/trace/trace_dynevent.c argc, (const char **)argv, pos)) argc 78 kernel/trace/trace_dynevent.c static int create_dyn_event(int argc, char **argv) argc 84 kernel/trace/trace_dynevent.c return dyn_event_release(argc, argv, NULL); argc 88 kernel/trace/trace_dynevent.c ret = ops->create(argc, (const char **)argv); argc 42 kernel/trace/trace_dynevent.h int (*create)(int argc, const char *argv[]); argc 47 kernel/trace/trace_dynevent.h int argc, const char **argv, struct dyn_event *ev); argc 100 kernel/trace/trace_dynevent.h int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type); argc 378 kernel/trace/trace_events_hist.c static int synth_event_create(int argc, const char **argv); argc 383 kernel/trace/trace_events_hist.c int argc, const char **argv, struct dyn_event *ev); argc 431 kernel/trace/trace_events_hist.c int argc, const char **argv, struct dyn_event *ev) argc 1037 kernel/trace/trace_events_hist.c static struct synth_field *parse_synth_field(int argc, const char **argv, argc 1048 kernel/trace/trace_events_hist.c if (argc < 3) argc 1318 kernel/trace/trace_events_hist.c static int __create_synth_event(int argc, const char *name, const char **argv) argc 1331 kernel/trace/trace_events_hist.c if (name[0] == '\0' || argc < 1) argc 1342 kernel/trace/trace_events_hist.c for (i = 0; i < argc - 1; i++) { argc 1350 kernel/trace/trace_events_hist.c field = parse_synth_field(argc - i, &argv[i], &consumed); argc 1359 kernel/trace/trace_events_hist.c if (i < argc && strcmp(argv[i], ";") != 0) { argc 1386 kernel/trace/trace_events_hist.c static int create_or_delete_synth_event(int argc, char **argv) argc 1412 kernel/trace/trace_events_hist.c ret = __create_synth_event(argc - 1, name, (const char **)argv + 1); argc 1416 kernel/trace/trace_events_hist.c static int synth_event_create(int argc, const char **argv) argc 1432 kernel/trace/trace_events_hist.c return __create_synth_event(argc - 1, name, argv + 1); argc 95 kernel/trace/trace_kdb.c static int kdb_ftdump(int argc, const char **argv) argc 103 kernel/trace/trace_kdb.c if (argc > 2) argc 106 kernel/trace/trace_kdb.c if (argc) { argc 112 kernel/trace/trace_kdb.c if (argc == 2) { argc 38 kernel/trace/trace_kprobe.c static int trace_kprobe_create(int argc, const char **argv); argc 43 kernel/trace/trace_kprobe.c int argc, const char **argv, struct dyn_event *ev); argc 142 kernel/trace/trace_kprobe.c int argc, const char **argv) argc 146 kernel/trace/trace_kprobe.c if (!argc) argc 158 kernel/trace/trace_kprobe.c argc--; argv++; argc 160 kernel/trace/trace_kprobe.c return trace_probe_match_command_args(&tk->tp, argc, argv); argc 164 kernel/trace/trace_kprobe.c int argc, const char **argv, struct dyn_event *ev) argc 170 kernel/trace/trace_kprobe.c trace_kprobe_match_command_head(tk, argc, argv); argc 713 kernel/trace/trace_kprobe.c static int trace_kprobe_create(int argc, const char *argv[]) argc 757 kernel/trace/trace_kprobe.c if (argc < 2) argc 760 kernel/trace/trace_kprobe.c trace_probe_log_init("trace_kprobe", argc, argv); argc 842 kernel/trace/trace_kprobe.c argc - 2, is_return); argc 849 kernel/trace/trace_kprobe.c argc -= 2; argv += 2; argc 852 kernel/trace/trace_kprobe.c for (i = 0; i < argc && i < MAX_TRACE_ARGS; i++) { argc 894 kernel/trace/trace_kprobe.c static int create_or_delete_trace_kprobe(int argc, char **argv) argc 899 kernel/trace/trace_kprobe.c return dyn_event_release(argc, argv, &trace_kprobe_ops); argc 901 kernel/trace/trace_kprobe.c ret = trace_kprobe_create(argc, (const char **)argv); argc 145 kernel/trace/trace_probe.c void trace_probe_log_init(const char *subsystem, int argc, const char **argv) argc 148 kernel/trace/trace_probe.c trace_probe_log.argc = argc; argc 172 kernel/trace/trace_probe.c for (i = 0; i < trace_probe_log.argc; i++) { argc 181 kernel/trace/trace_probe.c if (trace_probe_log.index >= trace_probe_log.argc) { argc 193 kernel/trace/trace_probe.c for (i = 0; i < trace_probe_log.argc; i++) { argc 1121 kernel/trace/trace_probe.c int argc, const char **argv) argc 1126 kernel/trace/trace_probe.c if (tp->nr_args < argc) argc 1129 kernel/trace/trace_probe.c for (i = 0; i < argc; i++) { argc 344 kernel/trace/trace_probe.h int argc, const char **argv); argc 460 kernel/trace/trace_probe.h int argc; argc 464 kernel/trace/trace_probe.h void trace_probe_log_init(const char *subsystem, int argc, const char **argv); argc 37 kernel/trace/trace_uprobe.c static int trace_uprobe_create(int argc, const char **argv); argc 42 kernel/trace/trace_uprobe.c int argc, const char **argv, struct dyn_event *ev); argc 285 kernel/trace/trace_uprobe.c int argc, const char **argv) argc 290 kernel/trace/trace_uprobe.c if (!argc) argc 307 kernel/trace/trace_uprobe.c argc--; argv++; argc 309 kernel/trace/trace_uprobe.c return trace_probe_match_command_args(&tu->tp, argc, argv); argc 313 kernel/trace/trace_uprobe.c int argc, const char **argv, struct dyn_event *ev) argc 319 kernel/trace/trace_uprobe.c trace_uprobe_match_command_head(tu, argc, argv); argc 533 kernel/trace/trace_uprobe.c static int trace_uprobe_create(int argc, const char **argv) argc 557 kernel/trace/trace_uprobe.c if (argc < 2) argc 577 kernel/trace/trace_uprobe.c trace_probe_log_init("trace_uprobe", argc, argv); argc 653 kernel/trace/trace_uprobe.c argc -= 2; argc 656 kernel/trace/trace_uprobe.c tu = alloc_trace_uprobe(group, event, argc, is_return); argc 669 kernel/trace/trace_uprobe.c for (i = 0; i < argc && i < MAX_TRACE_ARGS; i++) { argc 706 kernel/trace/trace_uprobe.c static int create_or_delete_trace_uprobe(int argc, char **argv) argc 711 kernel/trace/trace_uprobe.c return dyn_event_release(argc, argv, &trace_uprobe_ops); argc 713 kernel/trace/trace_uprobe.c ret = trace_uprobe_create(argc, (const char **)argv); argc 65 lib/argv_split.c int argc; argc 71 lib/argv_split.c argc = count_argc(argv_str); argc 72 lib/argv_split.c argv = kmalloc_array(argc + 2, sizeof(*argv), gfp); argc 92 lib/argv_split.c *argcp = argc; argc 108 lib/gen_crc32table.c int main(int argc, char** argv) argc 61 lib/gen_crc64table.c int main(int argc, char *argv[]) argc 27 lib/parser.c int argc = 0; argc 53 lib/parser.c if (argc >= MAX_OPT_ARGS) argc 56 lib/parser.c args[argc].from = s; argc 65 lib/parser.c args[argc].to = s + len; argc 69 lib/parser.c simple_strtol(s, &args[argc].to, 0); argc 72 lib/parser.c simple_strtoul(s, &args[argc].to, 0); argc 75 lib/parser.c simple_strtoul(s, &args[argc].to, 8); argc 78 lib/parser.c simple_strtoul(s, &args[argc].to, 16); argc 80 lib/parser.c if (args[argc].to == args[argc].from) argc 86 lib/parser.c s = args[argc].to; argc 87 lib/parser.c argc++; argc 53 lib/raid6/mktables.c int main(int argc, char *argv[]) argc 88 lib/raid6/test/test.c int main(int argc, char *argv[]) argc 242 samples/auxdisplay/cfag12864b-example.c int main(int argc, char *argv[]) argc 246 samples/auxdisplay/cfag12864b-example.c if (argc != 2) { argc 18 samples/binderfs/binderfs_example.c int main(int argc, char *argv[]) argc 281 samples/bpf/cookie_uid_helper_example.c int main(int argc, char *argv[]) argc 287 samples/bpf/cookie_uid_helper_example.c if (argc != 3) argc 289 samples/bpf/cookie_uid_helper_example.c while ((opt = getopt(argc, argv, "ts")) != -1) { argc 189 samples/bpf/cpustat_user.c int main(int argc, char **argv) argc 138 samples/bpf/fds_example.c int main(int argc, char **argv) argc 144 samples/bpf/fds_example.c while ((opt = getopt(argc, argv, "F:PGmk:v:po:")) != -1) { argc 435 samples/bpf/hbm.c int main(int argc, char **argv) argc 447 samples/bpf/hbm.c while ((k = getopt_long(argc, argv, optstring, loptions, NULL)) != -1) { argc 493 samples/bpf/hbm.c if (optind < argc) argc 74 samples/bpf/ibumad_user.c int main(int argc, char **argv) argc 90 samples/bpf/ibumad_user.c while ((opt = getopt_long(argc, argv, "hd:rSw", argc 82 samples/bpf/lathist_user.c int main(int argc, char **argv) argc 29 samples/bpf/lwt_len_hist_user.c int main(int argc, char **argv) argc 430 samples/bpf/map_perf_test_user.c int main(int argc, char **argv) argc 439 samples/bpf/map_perf_test_user.c if (argc > 1) argc 442 samples/bpf/map_perf_test_user.c if (argc > 2) argc 445 samples/bpf/map_perf_test_user.c if (argc > 3) argc 448 samples/bpf/map_perf_test_user.c if (argc > 4) argc 96 samples/bpf/offwaketime_user.c int main(int argc, char **argv) argc 118 samples/bpf/offwaketime_user.c if (argc > 1) argc 135 samples/bpf/sampleip_user.c int main(int argc, char **argv) argc 141 samples/bpf/sampleip_user.c while ((opt = getopt(argc, argv, "F:h")) != -1) { argc 152 samples/bpf/sampleip_user.c if (argc - optind == 1) argc 31 samples/bpf/sockex3_user.c int main(int argc, char **argv) argc 60 samples/bpf/sockex3_user.c if (argc > 1) argc 86 samples/bpf/syscall_tp_user.c int main(int argc, char **argv) argc 92 samples/bpf/syscall_tp_user.c while ((opt = getopt(argc, argv, "i:h")) != -1) { argc 291 samples/bpf/task_fd_query_user.c int main(int argc, char **argv) argc 23 samples/bpf/tc_l2_redirect_user.c int main(int argc, char **argv) argc 32 samples/bpf/tc_l2_redirect_user.c while ((opt = getopt(argc, argv, "F:U:i:")) != -1) { argc 25 samples/bpf/test_cgrp2_array_pin.c int main(int argc, char **argv) argc 35 samples/bpf/test_cgrp2_array_pin.c while ((opt = getopt(argc, argv, "F:U:v:")) != -1) { argc 129 samples/bpf/test_cgrp2_attach.c int main(int argc, char **argv) argc 135 samples/bpf/test_cgrp2_attach.c while ((opt = getopt(argc, argv, "Dd")) != -1) { argc 148 samples/bpf/test_cgrp2_attach.c if (argc - optind < 2) argc 204 samples/bpf/test_cgrp2_sock.c int main(int argc, char **argv) argc 213 samples/bpf/test_cgrp2_sock.c while ((rc = getopt(argc, argv, "db:m:p:6")) != -1) { argc 242 samples/bpf/test_cgrp2_sock.c if (optind == argc) argc 33 samples/bpf/test_cgrp2_sock2.c int main(int argc, char **argv) argc 37 samples/bpf/test_cgrp2_sock2.c if (argc < 3) argc 51 samples/bpf/test_cgrp2_sock2.c if (argc > 3) argc 15 samples/bpf/test_current_task_under_cgroup_user.c int main(int argc, char **argv) argc 490 samples/bpf/test_lru_dist.c int main(int argc, char **argv) argc 499 samples/bpf/test_lru_dist.c if (argc < 4) { argc 113 samples/bpf/test_map_in_map_user.c int main(int argc, char **argv) argc 126 samples/bpf/test_overhead_user.c int main(int argc, char **argv) argc 135 samples/bpf/test_overhead_user.c if (argc > 1) argc 137 samples/bpf/test_overhead_user.c if (argc > 2) argc 282 samples/bpf/trace_event_user.c int main(int argc, char **argv) argc 57 samples/bpf/trace_output_user.c int main(int argc, char **argv) argc 174 samples/bpf/tracex6_user.c int main(int argc, char **argv) argc 9 samples/bpf/tracex7_user.c int main(int argc, char **argv) argc 80 samples/bpf/xdp1_user.c int main(int argc, char **argv) argc 95 samples/bpf/xdp1_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 112 samples/bpf/xdp1_user.c if (optind == argc) { argc 81 samples/bpf/xdp_adjust_tail_user.c int main(int argc, char **argv) argc 102 samples/bpf/xdp_adjust_tail_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 72 samples/bpf/xdp_fwd_user.c int main(int argc, char **argv) argc 86 samples/bpf/xdp_fwd_user.c while ((opt = getopt(argc, argv, ":dD")) != -1) { argc 100 samples/bpf/xdp_fwd_user.c if (optind == argc) { argc 138 samples/bpf/xdp_fwd_user.c for (i = optind; i < argc; ++i) { argc 650 samples/bpf/xdp_monitor_user.c int main(int argc, char **argv) argc 664 samples/bpf/xdp_monitor_user.c while ((opt = getopt_long(argc, argv, "hDSs:", argc 669 samples/bpf/xdp_redirect_cpu_user.c int main(int argc, char **argv) argc 723 samples/bpf/xdp_redirect_cpu_user.c while ((opt = getopt_long(argc, argv, "hSd:s:p:q:c:xzF", argc 97 samples/bpf/xdp_redirect_map_user.c int main(int argc, char **argv) argc 113 samples/bpf/xdp_redirect_map_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 130 samples/bpf/xdp_redirect_map_user.c if (optind == argc) { argc 98 samples/bpf/xdp_redirect_user.c int main(int argc, char **argv) argc 114 samples/bpf/xdp_redirect_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 131 samples/bpf/xdp_redirect_user.c if (optind == argc) { argc 457 samples/bpf/xdp_rxq_info_user.c int main(int argc, char **argv) argc 507 samples/bpf/xdp_rxq_info_user.c while ((opt = getopt_long(argc, argv, "FhSrmzd:s:a:", argc 111 samples/bpf/xdp_sample_pkts_user.c int main(int argc, char **argv) argc 125 samples/bpf/xdp_sample_pkts_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 136 samples/bpf/xdp_sample_pkts_user.c if (optind == argc) { argc 153 samples/bpf/xdp_tx_iptunnel_user.c int main(int argc, char **argv) argc 179 samples/bpf/xdp_tx_iptunnel_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 394 samples/bpf/xdpsock_user.c static void parse_command_line(int argc, char **argv) argc 401 samples/bpf/xdpsock_user.c c = getopt_long(argc, argv, "Frtli:q:psSNn:czf:mu", argc 731 samples/bpf/xdpsock_user.c int main(int argc, char **argv) argc 739 samples/bpf/xdpsock_user.c parse_command_line(argc, argv); argc 97 samples/connector/ucon.c int main(int argc, char *argv[]) argc 110 samples/connector/ucon.c while ((s = getopt(argc, argv, "hs")) != -1) { argc 127 samples/connector/ucon.c if (argc != optind) { argc 43 samples/hidraw/hid-example.c int main(int argc, char **argv) argc 52 samples/hidraw/hid-example.c if (argc > 1) argc 18 samples/kdb/kdb_hello.c static int kdb_hello_cmd(int argc, const char **argv) argc 20 samples/kdb/kdb_hello.c if (argc > 1) argc 23 samples/kdb/kdb_hello.c if (argc) argc 438 samples/mei/mei-amt-version.c int main(int argc, char **argv) argc 447 samples/mei/mei-amt-version.c verbose = (argc > 1 && strcmp(argv[1], "-v") == 0); argc 1781 samples/mic/mpssd/mpssd.c main(int argc, char *argv[]) argc 84 samples/pidfd/pidfd-metadata.c int main(int argc, char *argv[]) argc 164 samples/seccomp/bpf-direct.c int main(int argc, char **argv) argc 27 samples/seccomp/bpf-fancy.c int main(int argc, char **argv) argc 56 samples/seccomp/dropper.c int main(int argc, char **argv) argc 58 samples/seccomp/dropper.c if (argc < 5) { argc 30 samples/timers/hpet_example.c void (*func)(int argc, const char ** argv); argc 51 samples/timers/hpet_example.c main(int argc, const char ** argv) argc 55 samples/timers/hpet_example.c argc--; argc 58 samples/timers/hpet_example.c if (!argc) { argc 66 samples/timers/hpet_example.c argc--; argc 70 samples/timers/hpet_example.c hpet_command[i].func(argc, argv); argc 80 samples/timers/hpet_example.c hpet_open_close(int argc, const char **argv) argc 84 samples/timers/hpet_example.c if (argc != 1) { argc 99 samples/timers/hpet_example.c hpet_info(int argc, const char **argv) argc 104 samples/timers/hpet_example.c if (argc != 1) { argc 131 samples/timers/hpet_example.c hpet_poll(int argc, const char **argv) argc 141 samples/timers/hpet_example.c if (argc != 3) { argc 223 samples/timers/hpet_example.c hpet_fasync(int argc, const char **argv) argc 238 samples/timers/hpet_example.c if (argc != 3) { argc 387 samples/uhid/uhid-example.c int main(int argc, char **argv) argc 406 samples/uhid/uhid-example.c if (argc >= 2) { argc 103 samples/vfs/test-fsmount.c int main(int argc, char *argv[]) argc 214 samples/vfs/test-statx.c int main(int argc, char **argv) argc 560 scripts/asn1_compiler.c int main(int argc, char **argv) argc 573 scripts/asn1_compiler.c while (argc > 4) { argc 580 scripts/asn1_compiler.c memmove(&argv[1], &argv[2], (argc - 2) * sizeof(char *)); argc 581 scripts/asn1_compiler.c argc--; argc 584 scripts/asn1_compiler.c if (argc != 4) { argc 391 scripts/basic/fixdep.c int main(int argc, char *argv[]) argc 396 scripts/basic/fixdep.c if (argc != 4) argc 12 scripts/bin2c.c int main(int argc, char *argv[]) argc 16 scripts/bin2c.c if (argc > 1) argc 18 scripts/bin2c.c argv[1], argc > 2 ? argv[2] : ""); argc 31 scripts/bin2c.c if (argc > 1) argc 76 scripts/conmakehash.c int main(int argc, char *argv[]) argc 86 scripts/conmakehash.c if ( argc < 2 || argc > 5 ) argc 160 scripts/dtc/dtc.c int main(int argc, char *argv[]) argc 267 scripts/dtc/dtc.c if (argc > (optind+1)) argc 269 scripts/dtc/dtc.c else if (argc < (optind+1)) argc 147 scripts/dtc/fdtdump.c int main(int argc, char *argv[]) argc 151 scripts/dtc/fdtdump.c if (argc < 2) { argc 291 scripts/dtc/fdtget.c int main(int argc, char *argv[]) argc 302 scripts/dtc/fdtget.c int c = getopt(argc, argv, "d:hlpt:"); argc 333 scripts/dtc/fdtget.c if (optind < argc) argc 339 scripts/dtc/fdtget.c argc -= optind; argc 342 scripts/dtc/fdtget.c if (!argc) argc 346 scripts/dtc/fdtget.c if (args_per_step == 2 && (argc % 2)) argc 349 scripts/dtc/fdtget.c if (do_fdtget(&disp, filename, argv, argc, args_per_step)) argc 286 scripts/dtc/fdtput.c int main(int argc, char *argv[]) argc 295 scripts/dtc/fdtput.c int c = getopt(argc, argv, "chpt:v"); argc 330 scripts/dtc/fdtput.c if (optind < argc) argc 336 scripts/dtc/fdtput.c argc -= optind; argc 339 scripts/dtc/fdtput.c if (argc < 1) argc 341 scripts/dtc/fdtput.c if (argc < 2) argc 345 scripts/dtc/fdtput.c if (do_fdtput(&disp, filename, argv, argc)) argc 215 scripts/dtc/util.h #define util_getopt_long() getopt_long(argc, argv, usage_short_opts, \ argc 90 scripts/extract-cert.c int main(int argc, char **argv) argc 102 scripts/extract-cert.c if (argc != 3) argc 73 scripts/gcc-plugins/arm_ssp_per_task_plugin.c const int argc = plugin_info->argc; argc 83 scripts/gcc-plugins/arm_ssp_per_task_plugin.c for (i = 0; i < argc; ++i) { argc 584 scripts/gcc-plugins/latent_entropy_plugin.c const int argc = plugin_info->argc; argc 606 scripts/gcc-plugins/latent_entropy_plugin.c for (i = 0; i < argc; ++i) { argc 938 scripts/gcc-plugins/randomize_layout_plugin.c const int argc = plugin_info->argc; argc 959 scripts/gcc-plugins/randomize_layout_plugin.c for (i = 0; i < argc; ++i) { argc 93 scripts/gcc-plugins/sancov_plugin.c const int argc = plugin_info->argc; argc 120 scripts/gcc-plugins/sancov_plugin.c for (i = 0; i < argc; ++i) { argc 339 scripts/gcc-plugins/stackleak_plugin.c const int argc = plugin_info->argc; argc 379 scripts/gcc-plugins/stackleak_plugin.c for (i = 0; i < argc; i++) { argc 220 scripts/gcc-plugins/structleak_plugin.c const int argc = plugin_info->argc; argc 236 scripts/gcc-plugins/structleak_plugin.c for (i = 0; i < argc; ++i) { argc 753 scripts/genksyms/genksyms.c int main(int argc, char **argv) argc 773 scripts/genksyms/genksyms.c while ((o = getopt_long(argc, argv, "s:dwqVDr:T:phR", argc 776 scripts/genksyms/genksyms.c while ((o = getopt(argc, argv, "s:dwqVDr:T:phR")) != EOF) argc 273 scripts/insert-sys-cert.c int main(int argc, char **argv) argc 289 scripts/insert-sys-cert.c while ((opt = getopt(argc, argv, "b:c:s:")) != -1) { argc 743 scripts/kallsyms.c int main(int argc, char **argv) argc 745 scripts/kallsyms.c if (argc >= 2) { argc 747 scripts/kallsyms.c for (i = 1; i < argc; i++) { argc 757 scripts/kallsyms.c } else if (argc != 1) argc 17 scripts/kconfig/preprocess.c static char *expand_string_with_args(const char *in, int argc, char *argv[]); argc 109 scripts/kconfig/preprocess.c char *(*func)(int argc, char *argv[]); argc 112 scripts/kconfig/preprocess.c static char *do_error_if(int argc, char *argv[]) argc 120 scripts/kconfig/preprocess.c static char *do_filename(int argc, char *argv[]) argc 125 scripts/kconfig/preprocess.c static char *do_info(int argc, char *argv[]) argc 132 scripts/kconfig/preprocess.c static char *do_lineno(int argc, char *argv[]) argc 141 scripts/kconfig/preprocess.c static char *do_shell(int argc, char *argv[]) argc 181 scripts/kconfig/preprocess.c static char *do_warning_if(int argc, char *argv[]) argc 202 scripts/kconfig/preprocess.c static char *function_expand(const char *name, int argc, char *argv[]) argc 212 scripts/kconfig/preprocess.c if (argc < f->min_args) argc 216 scripts/kconfig/preprocess.c if (argc > f->max_args) argc 220 scripts/kconfig/preprocess.c return f->func(argc, argv); argc 251 scripts/kconfig/preprocess.c static char *variable_expand(const char *name, int argc, char *argv[]) argc 260 scripts/kconfig/preprocess.c if (argc == 0 && v->exp_count) argc 270 scripts/kconfig/preprocess.c res = expand_string_with_args(v->value, argc, argv); argc 346 scripts/kconfig/preprocess.c static char *eval_clause(const char *str, size_t len, int argc, char *argv[]) argc 363 scripts/kconfig/preprocess.c if (!*endptr && n > 0 && n <= argc) { argc 407 scripts/kconfig/preprocess.c name = expand_string_with_args(new_argv[0], argc, argv); argc 411 scripts/kconfig/preprocess.c argc, argv); argc 453 scripts/kconfig/preprocess.c static char *expand_dollar_with_args(const char **str, int argc, char *argv[]) argc 487 scripts/kconfig/preprocess.c return eval_clause(p, q - p, argc, argv); argc 496 scripts/kconfig/preprocess.c int argc, char *argv[]) argc 512 scripts/kconfig/preprocess.c expansion = expand_dollar_with_args(&p, argc, argv); argc 549 scripts/kconfig/preprocess.c static char *expand_string_with_args(const char *in, int argc, char *argv[]) argc 551 scripts/kconfig/preprocess.c return __expand_string(&in, is_end_of_str, argc, argv); argc 8 scripts/mod/mk_elfconfig.c main(int argc, char **argv) argc 2560 scripts/mod/modpost.c int main(int argc, char **argv) argc 2572 scripts/mod/modpost.c while ((opt = getopt(argc, argv, "i:I:e:mnsT:o:awEd")) != -1) { argc 2632 scripts/mod/modpost.c while (optind < argc) argc 447 scripts/pnmtologo.c int main(int argc, char *argv[]) argc 455 scripts/pnmtologo.c opt = getopt(argc, argv, "hn:o:t:"); argc 490 scripts/pnmtologo.c if (optind != argc-1) argc 618 scripts/recordmcount.c int main(int argc, char *argv[]) argc 626 scripts/recordmcount.c while ((c = getopt(argc, argv, "w")) >= 0) { argc 637 scripts/recordmcount.c if ((argc - optind) < 1) { argc 643 scripts/recordmcount.c for (i = optind; i < argc; i++) { argc 44 scripts/selinux/genheaders/genheaders.c int main(int argc, char *argv[]) argc 52 scripts/selinux/genheaders/genheaders.c if (argc < 3) argc 39 scripts/selinux/mdp/mdp.c int main(int argc, char *argv[]) argc 47 scripts/selinux/mdp/mdp.c if (argc < 3) argc 50 scripts/selinux/mdp/mdp.c if (argc==4 && strcmp(argv[1], "-m") == 0) { argc 209 scripts/sign-file.c int main(int argc, char **argv) argc 245 scripts/sign-file.c opt = getopt(argc, argv, "sdpk"); argc 258 scripts/sign-file.c argc -= optind; argc 260 scripts/sign-file.c if (argc < 4 || argc > 5) argc 272 scripts/sign-file.c if (argc == 5 && strcmp(argv[3], argv[4]) != 0) { argc 364 scripts/sortextable.c main(int argc, char *argv[]) argc 369 scripts/sortextable.c if (argc < 2) { argc 375 scripts/sortextable.c for (i = 1; i < argc; i++) { argc 241 scripts/unifdef.c main(int argc, char *argv[]) argc 245 scripts/unifdef.c while ((opt = getopt(argc, argv, "i:D:U:I:o:bBcdeKklnsStV")) != -1) argc 311 scripts/unifdef.c argc -= optind; argc 315 scripts/unifdef.c if (argc > 1) { argc 317 scripts/unifdef.c } else if (argc == 1 && strcmp(*argv, "-") != 0) { argc 32 security/tomoyo/audit.c int argv_count = bprm->argc; argc 285 security/tomoyo/audit.c realpath, bprm->argc, bprm->envc, bprm_info); argc 1257 security/tomoyo/common.c (typeof(envp)) (argv + cond->argc); argc 658 security/tomoyo/common.h u16 argc; /* Number of "struct tomoyo_argv". */ argc 26 security/tomoyo/condition.c const int argc, const struct tomoyo_argv *argv, argc 33 security/tomoyo/condition.c for (i = 0; i < argc; argv++, checked++, i++) { argc 106 security/tomoyo/condition.c const u16 argc, const struct tomoyo_argv *argv, argc 115 security/tomoyo/condition.c int argv_count = bprm->argc; argc 121 security/tomoyo/condition.c if (argc + envc <= sizeof(local_checked)) { argc 125 security/tomoyo/condition.c checked = kzalloc(argc + envc, GFP_NOFS); argc 160 security/tomoyo/condition.c if (!tomoyo_argv(bprm->argc - argv_count, argc 161 security/tomoyo/condition.c arg_ptr, argc, argv, argc 174 security/tomoyo/condition.c checked + argc)) { argc 194 security/tomoyo/condition.c for (i = 0; i < argc; i++) { argc 207 security/tomoyo/condition.c if (checked[argc + i]) argc 363 security/tomoyo/condition.c a->argc == b->argc && a->envc == b->envc && argc 566 security/tomoyo/condition.c e.argc++; argc 569 security/tomoyo/condition.c e.argc--; argc 656 security/tomoyo/condition.c __LINE__, e.condc, e.numbers_count, e.names_count, e.argc, argc 659 security/tomoyo/condition.c BUG_ON(e.names_count | e.numbers_count | e.argc | e.envc | argc 667 security/tomoyo/condition.c + e.argc * sizeof(struct tomoyo_argv) argc 678 security/tomoyo/condition.c envp = (struct tomoyo_envp *) (argv + e.argc); argc 778 security/tomoyo/condition.c u16 argc; argc 785 security/tomoyo/condition.c argc = cond->argc; argc 790 security/tomoyo/condition.c if (!bprm && (argc || envc)) argc 797 security/tomoyo/condition.c envp = (const struct tomoyo_envp *) (argv + argc); argc 930 security/tomoyo/condition.c value = bprm->argc; argc 1119 security/tomoyo/condition.c if (r->ee && (argc || envc)) argc 1120 security/tomoyo/condition.c return tomoyo_scan_bprm(r->ee, argc, argv, envc, envp); argc 625 security/tomoyo/domain.c int argv_count = bprm->argc; argc 284 security/tomoyo/gc.c const u16 argc = cond->argc; argc 296 security/tomoyo/gc.c = (const struct tomoyo_envp *) (argv + argc); argc 302 security/tomoyo/gc.c for (i = 0; i < argc; argv++, i++) argc 262 tools/accounting/getdelays.c int main(int argc, char *argv[]) argc 290 tools/accounting/getdelays.c c = getopt(argc, argv, "qdiw:r:m:t:p:vlC:c:"); argc 28 tools/bpf/bpf_asm.c int main(int argc, char **argv) argc 34 tools/bpf/bpf_asm.c for (i = 1; i < argc; i++) { argc 1388 tools/bpf/bpf_dbg.c int main(int argc, char **argv) argc 1392 tools/bpf/bpf_dbg.c if (argc >= 2) argc 1394 tools/bpf/bpf_dbg.c if (argc >= 3) argc 261 tools/bpf/bpf_jit_disasm.c int main(int argc, char **argv) argc 271 tools/bpf/bpf_jit_disasm.c while ((opt = getopt(argc, argv, "of:O:")) != -1) { argc 391 tools/bpf/bpftool/btf.c static int do_dump(int argc, char **argv) argc 417 tools/bpf/bpftool/btf.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 422 tools/bpf/bpftool/btf.c if (argc && is_prefix(*argv, "key")) { argc 425 tools/bpf/bpftool/btf.c } else if (argc && is_prefix(*argv, "value")) { argc 428 tools/bpf/bpftool/btf.c } else if (argc && is_prefix(*argv, "all")) { argc 430 tools/bpf/bpftool/btf.c } else if (argc && is_prefix(*argv, "kv")) { argc 447 tools/bpf/bpftool/btf.c fd = prog_parse_fd(&argc, &argv); argc 483 tools/bpf/bpftool/btf.c while (argc) { argc 486 tools/bpf/bpftool/btf.c if (argc < 1) { argc 536 tools/bpf/bpftool/btf.c static int btf_parse_fd(int *argc, char ***argv) argc 783 tools/bpf/bpftool/btf.c static int do_show(int argc, char **argv) argc 790 tools/bpf/bpftool/btf.c if (argc == 2) { argc 791 tools/bpf/bpftool/btf.c fd = btf_parse_fd(&argc, &argv); argc 796 tools/bpf/bpftool/btf.c if (argc) { argc 860 tools/bpf/bpftool/btf.c static int do_help(int argc, char **argv) argc 891 tools/bpf/bpftool/btf.c int do_btf(int argc, char **argv) argc 893 tools/bpf/bpftool/btf.c return cmd_select(cmds, argc, argv, do_help); argc 180 tools/bpf/bpftool/cgroup.c static int do_show(int argc, char **argv) argc 194 tools/bpf/bpftool/cgroup.c while (argc) { argc 334 tools/bpf/bpftool/cgroup.c static int do_show_tree(int argc, char **argv) argc 341 tools/bpf/bpftool/cgroup.c if (!argc) { argc 351 tools/bpf/bpftool/cgroup.c while (argc) { argc 396 tools/bpf/bpftool/cgroup.c static int do_attach(int argc, char **argv) argc 404 tools/bpf/bpftool/cgroup.c if (argc < 4) { argc 421 tools/bpf/bpftool/cgroup.c argc -= 2; argc 423 tools/bpf/bpftool/cgroup.c prog_fd = prog_parse_fd(&argc, &argv); argc 427 tools/bpf/bpftool/cgroup.c for (i = 0; i < argc; i++) { argc 456 tools/bpf/bpftool/cgroup.c static int do_detach(int argc, char **argv) argc 462 tools/bpf/bpftool/cgroup.c if (argc < 4) { argc 479 tools/bpf/bpftool/cgroup.c argc -= 2; argc 481 tools/bpf/bpftool/cgroup.c prog_fd = prog_parse_fd(&argc, &argv); argc 503 tools/bpf/bpftool/cgroup.c static int do_help(int argc, char **argv) argc 539 tools/bpf/bpftool/cgroup.c int do_cgroup(int argc, char **argv) argc 541 tools/bpf/bpftool/cgroup.c return cmd_select(cmds, argc, argv, do_help); argc 214 tools/bpf/bpftool/common.c int do_pin_any(int argc, char **argv, int (*get_fd_by_id)(__u32)) argc 221 tools/bpf/bpftool/common.c if (argc < 3) { argc 224 tools/bpf/bpftool/common.c } else if (argc > 3) { argc 580 tools/bpf/bpftool/common.c int parse_u32_arg(int *argc, char ***argv, __u32 *val, const char *what) argc 575 tools/bpf/bpftool/feature.c static int do_probe(int argc, char **argv) argc 594 tools/bpf/bpftool/feature.c while (argc) { argc 738 tools/bpf/bpftool/feature.c static int do_help(int argc, char **argv) argc 762 tools/bpf/bpftool/feature.c int do_feature(int argc, char **argv) argc 764 tools/bpf/bpftool/feature.c return cmd_select(cmds, argc, argv, do_help); argc 306 tools/bpf/bpftool/json_writer.c int main(int argc, char **argv) argc 320 tools/bpf/bpftool/json_writer.c while (--argc) argc 23 tools/bpf/bpftool/main.c static int (*last_do_help)(int argc, char **argv); argc 49 tools/bpf/bpftool/main.c static int do_help(int argc, char **argv) argc 69 tools/bpf/bpftool/main.c static int do_version(int argc, char **argv) argc 89 tools/bpf/bpftool/main.c int cmd_select(const struct cmd *cmds, int argc, char **argv, argc 90 tools/bpf/bpftool/main.c int (*help)(int argc, char **argv)) argc 94 tools/bpf/bpftool/main.c last_argc = argc; argc 98 tools/bpf/bpftool/main.c if (argc < 1 && cmds[0].func) argc 99 tools/bpf/bpftool/main.c return cmds[0].func(argc, argv); argc 103 tools/bpf/bpftool/main.c return cmds[i].func(argc - 1, argv + 1); argc 105 tools/bpf/bpftool/main.c help(argc - 1, argv + 1); argc 218 tools/bpf/bpftool/main.c static int do_batch(int argc, char **argv); argc 234 tools/bpf/bpftool/main.c static int do_batch(int argc, char **argv) argc 245 tools/bpf/bpftool/main.c if (argc < 2) { argc 251 tools/bpf/bpftool/main.c } else if (argc > 2) { argc 348 tools/bpf/bpftool/main.c int main(int argc, char **argv) argc 374 tools/bpf/bpftool/main.c while ((opt = getopt_long(argc, argv, "Vhpjfmnd", argc 378 tools/bpf/bpftool/main.c return do_version(argc, argv); argc 380 tools/bpf/bpftool/main.c return do_help(argc, argv); argc 417 tools/bpf/bpftool/main.c argc -= optind; argc 419 tools/bpf/bpftool/main.c if (argc < 0) argc 422 tools/bpf/bpftool/main.c ret = cmd_select(cmds, argc, argv, do_help); argc 21 tools/bpf/bpftool/main.h #define NEXT_ARG() ({ argc--; argv++; if (argc < 0) usage(); }) argc 22 tools/bpf/bpftool/main.h #define NEXT_ARGP() ({ (*argc)--; (*argv)++; if (*argc < 0) usage(); }) argc 24 tools/bpf/bpftool/main.h #define GET_ARG() ({ argc--; *argv++; }) argc 30 tools/bpf/bpftool/main.h if (argc < _cnt) { \ argc 32 tools/bpf/bpftool/main.h argv[-1], _cnt, argc); \ argc 134 tools/bpf/bpftool/main.h int (*func)(int argc, char **argv); argc 137 tools/bpf/bpftool/main.h int cmd_select(const struct cmd *cmds, int argc, char **argv, argc 138 tools/bpf/bpftool/main.h int (*help)(int argc, char **argv)); argc 146 tools/bpf/bpftool/main.h int do_pin_any(int argc, char **argv, int (*get_fd_by_id)(__u32)); argc 149 tools/bpf/bpftool/main.h int do_prog(int argc, char **arg); argc 150 tools/bpf/bpftool/main.h int do_map(int argc, char **arg); argc 151 tools/bpf/bpftool/main.h int do_event_pipe(int argc, char **argv); argc 152 tools/bpf/bpftool/main.h int do_cgroup(int argc, char **arg); argc 153 tools/bpf/bpftool/main.h int do_perf(int argc, char **arg); argc 154 tools/bpf/bpftool/main.h int do_net(int argc, char **arg); argc 155 tools/bpf/bpftool/main.h int do_tracelog(int argc, char **arg); argc 156 tools/bpf/bpftool/main.h int do_feature(int argc, char **argv); argc 157 tools/bpf/bpftool/main.h int do_btf(int argc, char **argv); argc 159 tools/bpf/bpftool/main.h int parse_u32_arg(int *argc, char ***argv, __u32 *val, const char *what); argc 160 tools/bpf/bpftool/main.h int prog_parse_fd(int *argc, char ***argv); argc 161 tools/bpf/bpftool/main.h int map_parse_fd(int *argc, char ***argv); argc 162 tools/bpf/bpftool/main.h int map_parse_fd_and_info(int *argc, char ***argv, void *info, __u32 *info_len); argc 94 tools/bpf/bpftool/map.c int map_parse_fd(int *argc, char ***argv) argc 130 tools/bpf/bpftool/map.c int map_parse_fd_and_info(int *argc, char ***argv, void *info, __u32 *info_len) argc 135 tools/bpf/bpftool/map.c fd = map_parse_fd(argc, argv); argc 412 tools/bpf/bpftool/map.c int argc = 2; argc 423 tools/bpf/bpftool/map.c fd = map_parse_fd(&argc, &argv); argc 430 tools/bpf/bpftool/map.c int argc = 2; argc 444 tools/bpf/bpftool/map.c fd = prog_parse_fd(&argc, &argv); argc 645 tools/bpf/bpftool/map.c static int do_show(int argc, char **argv) argc 656 tools/bpf/bpftool/map.c if (argc == 2) { argc 657 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 667 tools/bpf/bpftool/map.c if (argc) argc 768 tools/bpf/bpftool/map.c static int do_dump(int argc, char **argv) argc 779 tools/bpf/bpftool/map.c if (argc != 2) argc 782 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 876 tools/bpf/bpftool/map.c static int do_update(int argc, char **argv) argc 885 tools/bpf/bpftool/map.c if (argc < 2) argc 888 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 960 tools/bpf/bpftool/map.c static int do_lookup(int argc, char **argv) argc 968 tools/bpf/bpftool/map.c if (argc < 2) argc 971 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 1011 tools/bpf/bpftool/map.c static int do_getnext(int argc, char **argv) argc 1019 tools/bpf/bpftool/map.c if (argc < 2) argc 1022 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 1034 tools/bpf/bpftool/map.c if (argc) { argc 1082 tools/bpf/bpftool/map.c static int do_delete(int argc, char **argv) argc 1090 tools/bpf/bpftool/map.c if (argc < 2) argc 1093 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 1121 tools/bpf/bpftool/map.c static int do_pin(int argc, char **argv) argc 1125 tools/bpf/bpftool/map.c err = do_pin_any(argc, argv, bpf_map_get_fd_by_id); argc 1131 tools/bpf/bpftool/map.c static int do_create(int argc, char **argv) argc 1141 tools/bpf/bpftool/map.c while (argc) { argc 1163 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.key_size, argc 1167 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.value_size, argc 1171 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.max_entries, argc 1175 tools/bpf/bpftool/map.c if (parse_u32_arg(&argc, &argv, &attr.map_flags, argc 1222 tools/bpf/bpftool/map.c static int do_pop_dequeue(int argc, char **argv) argc 1230 tools/bpf/bpftool/map.c if (argc < 2) argc 1233 tools/bpf/bpftool/map.c fd = map_parse_fd_and_info(&argc, &argv, &info, &len); argc 1265 tools/bpf/bpftool/map.c static int do_freeze(int argc, char **argv) argc 1272 tools/bpf/bpftool/map.c fd = map_parse_fd(&argc, &argv); argc 1276 tools/bpf/bpftool/map.c if (argc) { argc 1294 tools/bpf/bpftool/map.c static int do_help(int argc, char **argv) argc 1364 tools/bpf/bpftool/map.c int do_map(int argc, char **argv) argc 1366 tools/bpf/bpftool/map.c return cmd_select(cmds, argc, argv, do_help); argc 118 tools/bpf/bpftool/map_perf_ring.c int do_event_pipe(int argc, char **argv) argc 139 tools/bpf/bpftool/map_perf_ring.c map_fd = map_parse_fd_and_info(&argc, &argv, &map_info, &map_info_len); argc 148 tools/bpf/bpftool/map_perf_ring.c while (argc) { argc 149 tools/bpf/bpftool/map_perf_ring.c if (argc < 2) { argc 255 tools/bpf/bpftool/net.c static int net_parse_dev(int *argc, char ***argv) argc 292 tools/bpf/bpftool/net.c static int do_attach(int argc, char **argv) argc 309 tools/bpf/bpftool/net.c progfd = prog_parse_fd(&argc, &argv); argc 313 tools/bpf/bpftool/net.c ifindex = net_parse_dev(&argc, &argv); argc 319 tools/bpf/bpftool/net.c if (argc) { argc 346 tools/bpf/bpftool/net.c static int do_detach(int argc, char **argv) argc 362 tools/bpf/bpftool/net.c ifindex = net_parse_dev(&argc, &argv); argc 383 tools/bpf/bpftool/net.c static int do_show(int argc, char **argv) argc 391 tools/bpf/bpftool/net.c if (argc == 2) { argc 392 tools/bpf/bpftool/net.c filter_idx = net_parse_dev(&argc, &argv); argc 395 tools/bpf/bpftool/net.c } else if (argc != 0) { argc 452 tools/bpf/bpftool/net.c static int do_help(int argc, char **argv) argc 488 tools/bpf/bpftool/net.c int do_net(int argc, char **argv) argc 490 tools/bpf/bpftool/net.c return cmd_select(cmds, argc, argv, do_help); argc 211 tools/bpf/bpftool/perf.c static int do_show(int argc, char **argv) argc 231 tools/bpf/bpftool/perf.c static int do_help(int argc, char **argv) argc 248 tools/bpf/bpftool/perf.c int do_perf(int argc, char **argv) argc 250 tools/bpf/bpftool/perf.c return cmd_select(cmds, argc, argv, do_help); argc 118 tools/bpf/bpftool/prog.c int prog_parse_fd(int *argc, char ***argv) argc 352 tools/bpf/bpftool/prog.c static int do_show(int argc, char **argv) argc 361 tools/bpf/bpftool/prog.c if (argc == 2) { argc 362 tools/bpf/bpftool/prog.c fd = prog_parse_fd(&argc, &argv); argc 371 tools/bpf/bpftool/prog.c if (argc) argc 411 tools/bpf/bpftool/prog.c static int do_dump(int argc, char **argv) argc 444 tools/bpf/bpftool/prog.c if (argc < 2) argc 447 tools/bpf/bpftool/prog.c fd = prog_parse_fd(&argc, &argv); argc 453 tools/bpf/bpftool/prog.c if (!argc) { argc 471 tools/bpf/bpftool/prog.c if (argc) { argc 654 tools/bpf/bpftool/prog.c static int do_pin(int argc, char **argv) argc 658 tools/bpf/bpftool/prog.c err = do_pin_any(argc, argv, bpf_prog_get_fd_by_id); argc 677 tools/bpf/bpftool/prog.c static int parse_attach_detach_args(int argc, char **argv, int *progfd, argc 684 tools/bpf/bpftool/prog.c *progfd = prog_parse_fd(&argc, &argv); argc 703 tools/bpf/bpftool/prog.c *mapfd = map_parse_fd(&argc, &argv); argc 710 tools/bpf/bpftool/prog.c static int do_attach(int argc, char **argv) argc 716 tools/bpf/bpftool/prog.c err = parse_attach_detach_args(argc, argv, argc 732 tools/bpf/bpftool/prog.c static int do_detach(int argc, char **argv) argc 738 tools/bpf/bpftool/prog.c err = parse_attach_detach_args(argc, argv, argc 913 tools/bpf/bpftool/prog.c static int do_run(int argc, char **argv) argc 927 tools/bpf/bpftool/prog.c fd = prog_parse_fd(&argc, &argv); argc 931 tools/bpf/bpftool/prog.c while (argc) { argc 1092 tools/bpf/bpftool/prog.c static int load_with_options(int argc, char **argv, bool first_prog_only) argc 1115 tools/bpf/bpftool/prog.c while (argc) { argc 1177 tools/bpf/bpftool/prog.c fd = map_parse_fd(&argc, &argv); argc 1374 tools/bpf/bpftool/prog.c static int do_load(int argc, char **argv) argc 1376 tools/bpf/bpftool/prog.c return load_with_options(argc, argv, true); argc 1379 tools/bpf/bpftool/prog.c static int do_loadall(int argc, char **argv) argc 1381 tools/bpf/bpftool/prog.c return load_with_options(argc, argv, false); argc 1384 tools/bpf/bpftool/prog.c static int do_help(int argc, char **argv) argc 1449 tools/bpf/bpftool/prog.c int do_prog(int argc, char **argv) argc 1451 tools/bpf/bpftool/prog.c return cmd_select(cmds, argc, argv, do_help); argc 125 tools/bpf/bpftool/tracelog.c int do_tracelog(int argc, char **argv) argc 193 tools/build/feature/test-all.c int main(int argc, char *argv[]) argc 213 tools/build/feature/test-all.c main_test_gtk2(argc, argv); argc 214 tools/build/feature/test-all.c main_test_gtk2_infobar(argc, argv); argc 222 tools/build/feature/test-all.c main_test_sync_compare_and_swap(argc, argv); argc 6 tools/build/feature/test-gtk2-infobar.c int main(int argc, char *argv[]) argc 8 tools/build/feature/test-gtk2-infobar.c gtk_init(&argc, &argv); argc 6 tools/build/feature/test-gtk2.c int main(int argc, char *argv[]) argc 8 tools/build/feature/test-gtk2.c gtk_init(&argc, &argv); argc 6 tools/build/feature/test-sync-compare-and-swap.c int main(int argc, char *argv[]) argc 8 tools/build/feature/test-sync-compare-and-swap.c uint64_t old, new = argc; argc 157 tools/build/fixdep.c int main(int argc, char **argv) argc 159 tools/build/fixdep.c if (argc != 4) argc 22 tools/cgroup/cgroup_event_listener.c int main(int argc, char **argv) argc 31 tools/cgroup/cgroup_event_listener.c if (argc != 3) argc 895 tools/firewire/nosy-dump.c int main(int argc, const char *argv[]) argc 908 tools/firewire/nosy-dump.c con = poptGetContext(NULL, argc, argv, options, 0); argc 72 tools/firmware/ihex2fw.c int main(int argc, char **argv) argc 79 tools/firmware/ihex2fw.c while ((opt = getopt(argc, argv, "wsj")) != -1) { argc 95 tools/firmware/ihex2fw.c if (optind + 2 != argc) argc 142 tools/gpio/gpio-event-mon.c int main(int argc, char **argv) argc 151 tools/gpio/gpio-event-mon.c while ((c = getopt(argc, argv, "c:n:o:dsrf?")) != -1) { argc 119 tools/gpio/gpio-hammer.c int main(int argc, char **argv) argc 129 tools/gpio/gpio-hammer.c while ((c = getopt(argc, argv, "c:n:o:?")) != -1) { argc 145 tools/gpio/lsgpio.c int main(int argc, char **argv) argc 151 tools/gpio/lsgpio.c while ((c = getopt(argc, argv, "n:")) != -1) { argc 132 tools/hv/hv_fcopy_daemon.c int main(int argc, char *argv[]) argc 152 tools/hv/hv_fcopy_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, argc 1361 tools/hv/hv_kvp_daemon.c int main(int argc, char *argv[]) argc 1382 tools/hv/hv_kvp_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, argc 197 tools/hv/hv_vss_daemon.c int main(int argc, char *argv[]) argc 214 tools/hv/hv_vss_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, argc 281 tools/iio/iio_event_monitor.c int main(int argc, char **argv) argc 290 tools/iio/iio_event_monitor.c if (argc <= 1) { argc 327 tools/iio/iio_generic_buffer.c int main(int argc, char **argv) argc 356 tools/iio/iio_generic_buffer.c while ((c = getopt_long(argc, argv, "aAc:egl:n:N:t:T:w:?", longopts, argc 164 tools/iio/lsiio.c int main(int argc, char **argv) argc 168 tools/iio/lsiio.c while ((c = getopt(argc, argv, "v")) != EOF) { argc 180 tools/iio/lsiio.c if (err || argc > optind) { argc 480 tools/io_uring/io_uring-bench.c int main(int argc, char *argv[]) argc 488 tools/io_uring/io_uring-bench.c if (!do_nop && argc < 2) { argc 498 tools/io_uring/io_uring-bench.c while (!do_nop && i < argc) { argc 227 tools/io_uring/io_uring-cp.c int main(int argc, char *argv[]) argc 233 tools/io_uring/io_uring-cp.c if (argc < 3) { argc 132 tools/laptop/dslm/dslm.c int main(int argc, char **argv) argc 139 tools/laptop/dslm/dslm.c if (argc == 2) argc 141 tools/laptop/dslm/dslm.c else if (argc == 4) { argc 106 tools/laptop/freefall/freefall.c int main(int argc, char **argv) argc 112 tools/laptop/freefall/freefall.c if (argc == 1) argc 114 tools/laptop/freefall/freefall.c else if (argc == 2) argc 26 tools/leds/led_hw_brightness_mon.c int main(int argc, char const *argv[]) argc 34 tools/leds/led_hw_brightness_mon.c if (argc != 2) { argc 22 tools/leds/uledmon.c int main(int argc, char const *argv[]) argc 29 tools/leds/uledmon.c if (argc != 2) { argc 65 tools/lib/argv_split.c int argc = count_argc(str); argc 66 tools/lib/argv_split.c char **argv = calloc(argc + 1, sizeof(*argv)); argc 73 tools/lib/argv_split.c *argcp = argc; argc 8 tools/lib/bpf/test_libbpf.cpp int main(int argc, char *argv[]) argc 162 tools/lib/subcmd/exec-cmd.c int argc; argc 165 tools/lib/subcmd/exec-cmd.c for (argc = 0; argv[argc]; argc++) argc 167 tools/lib/subcmd/exec-cmd.c nargv = malloc(sizeof(*nargv) * (argc + 2)); argc 170 tools/lib/subcmd/exec-cmd.c for (argc = 0; argv[argc]; argc++) argc 171 tools/lib/subcmd/exec-cmd.c nargv[argc + 1] = argv[argc]; argc 172 tools/lib/subcmd/exec-cmd.c nargv[argc + 1] = NULL; argc 189 tools/lib/subcmd/exec-cmd.c int argc; argc 196 tools/lib/subcmd/exec-cmd.c argc = 1; argc 197 tools/lib/subcmd/exec-cmd.c while (argc < MAX_ARGS) { argc 198 tools/lib/subcmd/exec-cmd.c arg = argv[argc++] = va_arg(param, char *); argc 203 tools/lib/subcmd/exec-cmd.c if (MAX_ARGS <= argc) { argc 208 tools/lib/subcmd/exec-cmd.c argv[argc] = NULL; argc 56 tools/lib/subcmd/parse-options.c } else if ((opt->flags & PARSE_OPT_LASTARG_DEFAULT) && (p->argc == 1 || argc 59 tools/lib/subcmd/parse-options.c } else if (p->argc > 1) { argc 60 tools/lib/subcmd/parse-options.c p->argc--; argc 494 tools/lib/subcmd/parse-options.c int argc, const char **argv, int flags) argc 497 tools/lib/subcmd/parse-options.c ctx->argc = argc - 1; argc 522 tools/lib/subcmd/parse-options.c for (; ctx->argc; ctx->argc--, ctx->argv++) { argc 575 tools/lib/subcmd/parse-options.c ctx->argc--; argc 624 tools/lib/subcmd/parse-options.c memmove(ctx->out + ctx->cpidx, ctx->argv, ctx->argc * sizeof(*ctx->out)); argc 625 tools/lib/subcmd/parse-options.c ctx->out[ctx->cpidx + ctx->argc] = NULL; argc 626 tools/lib/subcmd/parse-options.c return ctx->cpidx + ctx->argc; argc 629 tools/lib/subcmd/parse-options.c int parse_options_subcommand(int argc, const char **argv, const struct option *options, argc 650 tools/lib/subcmd/parse-options.c parse_options_start(&ctx, argc, argv, flags); argc 683 tools/lib/subcmd/parse-options.c int parse_options(int argc, const char **argv, const struct option *options, argc 686 tools/lib/subcmd/parse-options.c return parse_options_subcommand(argc, argv, options, NULL, argc 828 tools/lib/subcmd/parse-options.c for (i = 1; i < ctx->argc; ++i) { argc 889 tools/lib/subcmd/parse-options.c if (ctx && ctx->argc > 1 && !option__in_argv(opts, ctx)) argc 174 tools/lib/subcmd/parse-options.h extern int parse_options(int argc, const char **argv, argc 178 tools/lib/subcmd/parse-options.h extern int parse_options_subcommand(int argc, const char **argv, argc 208 tools/lib/subcmd/parse-options.h int argc, cpidx; argc 37 tools/objtool/builtin-check.c int cmd_check(int argc, const char **argv) argc 41 tools/objtool/builtin-check.c argc = parse_options(argc, argv, check_options, check_usage, 0); argc 43 tools/objtool/builtin-check.c if (argc != 1) argc 26 tools/objtool/builtin-orc.c int cmd_orc(int argc, const char **argv) argc 30 tools/objtool/builtin-orc.c argc--; argv++; argc 31 tools/objtool/builtin-orc.c if (argc <= 0) argc 35 tools/objtool/builtin-orc.c argc = parse_options(argc, argv, check_options, orc_usage, 0); argc 36 tools/objtool/builtin-orc.c if (argc != 1) argc 45 tools/objtool/builtin-orc.c if (argc != 2) argc 13 tools/objtool/builtin.h extern int cmd_check(int argc, const char **argv); argc 14 tools/objtool/builtin.h extern int cmd_orc(int argc, const char **argv); argc 64 tools/objtool/objtool.c static void handle_options(int *argc, const char ***argv) argc 66 tools/objtool/objtool.c while (*argc > 0) { argc 81 tools/objtool/objtool.c (*argc)--; argc 85 tools/objtool/objtool.c static void handle_internal_command(int argc, const char **argv) argc 96 tools/objtool/objtool.c ret = p->fn(argc, argv); argc 104 tools/objtool/objtool.c int main(int argc, const char **argv) argc 113 tools/objtool/objtool.c argc--; argc 114 tools/objtool/objtool.c handle_options(&argc, &argv); argc 116 tools/objtool/objtool.c if (!argc || help) argc 119 tools/objtool/objtool.c handle_internal_command(argc, argv); argc 136 tools/pci/pcitest.c int main(int argc, char **argv) argc 156 tools/pci/pcitest.c while ((c = getopt(argc, argv, "D:b:m:x:i:Ilhrwcs:")) != EOF) argc 24 tools/pcmcia/crc32hash.c int main(int argc, char **argv) { argc 26 tools/pcmcia/crc32hash.c if (argc != 2) { argc 187 tools/perf/arch/powerpc/util/kvm-stat.c int kvm_add_default_arch_event(int *argc, const char **argv) argc 191 tools/perf/arch/powerpc/util/kvm-stat.c int i, j = *argc; argc 210 tools/perf/arch/powerpc/util/kvm-stat.c *argc += 2; argc 29 tools/perf/bench/bench.h int bench_numa(int argc, const char **argv); argc 30 tools/perf/bench/bench.h int bench_sched_messaging(int argc, const char **argv); argc 31 tools/perf/bench/bench.h int bench_sched_pipe(int argc, const char **argv); argc 32 tools/perf/bench/bench.h int bench_mem_memcpy(int argc, const char **argv); argc 33 tools/perf/bench/bench.h int bench_mem_memset(int argc, const char **argv); argc 34 tools/perf/bench/bench.h int bench_futex_hash(int argc, const char **argv); argc 35 tools/perf/bench/bench.h int bench_futex_wake(int argc, const char **argv); argc 36 tools/perf/bench/bench.h int bench_futex_wake_parallel(int argc, const char **argv); argc 37 tools/perf/bench/bench.h int bench_futex_requeue(int argc, const char **argv); argc 39 tools/perf/bench/bench.h int bench_futex_lock_pi(int argc, const char **argv); argc 41 tools/perf/bench/bench.h int bench_epoll_wait(int argc, const char **argv); argc 42 tools/perf/bench/bench.h int bench_epoll_ctl(int argc, const char **argv); argc 301 tools/perf/bench/epoll-ctl.c int bench_epoll_ctl(int argc, const char **argv) argc 310 tools/perf/bench/epoll-ctl.c argc = parse_options(argc, argv, options, bench_epoll_ctl_usage, 0); argc 311 tools/perf/bench/epoll-ctl.c if (argc) { argc 414 tools/perf/bench/epoll-wait.c int bench_epoll_wait(int argc, const char **argv) argc 424 tools/perf/bench/epoll-wait.c argc = parse_options(argc, argv, options, bench_epoll_wait_usage, 0); argc 425 tools/perf/bench/epoll-wait.c if (argc) { argc 120 tools/perf/bench/futex-hash.c int bench_futex_hash(int argc, const char **argv) argc 130 tools/perf/bench/futex-hash.c argc = parse_options(argc, argv, options, bench_futex_hash_usage, 0); argc 131 tools/perf/bench/futex-hash.c if (argc) { argc 148 tools/perf/bench/futex-lock-pi.c int bench_futex_lock_pi(int argc, const char **argv) argc 156 tools/perf/bench/futex-lock-pi.c argc = parse_options(argc, argv, options, bench_futex_lock_pi_usage, 0); argc 157 tools/perf/bench/futex-lock-pi.c if (argc) argc 115 tools/perf/bench/futex-requeue.c int bench_futex_requeue(int argc, const char **argv) argc 123 tools/perf/bench/futex-requeue.c argc = parse_options(argc, argv, options, bench_futex_requeue_usage, 0); argc 124 tools/perf/bench/futex-requeue.c if (argc) argc 15 tools/perf/bench/futex-wake-parallel.c int bench_futex_wake_parallel(int argc __maybe_unused, const char **argv __maybe_unused) argc 221 tools/perf/bench/futex-wake-parallel.c int bench_futex_wake_parallel(int argc, const char **argv) argc 230 tools/perf/bench/futex-wake-parallel.c argc = parse_options(argc, argv, options, argc 232 tools/perf/bench/futex-wake-parallel.c if (argc) { argc 121 tools/perf/bench/futex-wake.c int bench_futex_wake(int argc, const char **argv) argc 129 tools/perf/bench/futex-wake.c argc = parse_options(argc, argv, options, bench_futex_wake_usage, 0); argc 130 tools/perf/bench/futex-wake.c if (argc) { argc 176 tools/perf/bench/mem-functions.c static int bench_mem_common(int argc, const char **argv, struct bench_mem_info *info) argc 182 tools/perf/bench/mem-functions.c argc = parse_options(argc, argv, options, info->usage, 0); argc 290 tools/perf/bench/mem-functions.c int bench_mem_memcpy(int argc, const char **argv) argc 300 tools/perf/bench/mem-functions.c return bench_mem_common(argc, argv, &info); argc 364 tools/perf/bench/mem-functions.c int bench_mem_memset(int argc, const char **argv) argc 373 tools/perf/bench/mem-functions.c return bench_mem_common(argc, argv, &info); argc 1673 tools/perf/bench/numa.c static void init_params(struct params *p, const char *name, int argc, const char **argv) argc 1679 tools/perf/bench/numa.c for (i = 0; i < argc; i++) argc 1699 tools/perf/bench/numa.c p->run_all = argc == 1; argc 1704 tools/perf/bench/numa.c int argc = command_size(argv); argc 1706 tools/perf/bench/numa.c init_params(&p0, name, argc, argv); argc 1707 tools/perf/bench/numa.c argc = parse_options(argc, argv, options, bench_numa_usage, 0); argc 1708 tools/perf/bench/numa.c if (argc) argc 1825 tools/perf/bench/numa.c int bench_numa(int argc, const char **argv) argc 1827 tools/perf/bench/numa.c init_params(&p0, "main,", argc, argv); argc 1828 tools/perf/bench/numa.c argc = parse_options(argc, argv, options, bench_numa_usage, 0); argc 1829 tools/perf/bench/numa.c if (argc) argc 261 tools/perf/bench/sched-messaging.c int bench_sched_messaging(int argc, const char **argv) argc 270 tools/perf/bench/sched-messaging.c argc = parse_options(argc, argv, options, argc 77 tools/perf/bench/sched-pipe.c int bench_sched_pipe(int argc, const char **argv) argc 94 tools/perf/bench/sched-pipe.c argc = parse_options(argc, argv, options, bench_sched_pipe_usage, 0); argc 473 tools/perf/builtin-annotate.c int cmd_annotate(int argc, const char **argv) argc 565 tools/perf/builtin-annotate.c argc = parse_options(argc, argv, options, annotate_usage, 0); argc 566 tools/perf/builtin-annotate.c if (argc) { argc 571 tools/perf/builtin-annotate.c if (argc > 1) argc 29 tools/perf/builtin-bench.c typedef int (*bench_fn_t)(int argc, const char **argv); argc 171 tools/perf/builtin-bench.c int argc, const char **argv) argc 187 tools/perf/builtin-bench.c ret = fn(argc, argv); argc 227 tools/perf/builtin-bench.c int cmd_bench(int argc, const char **argv) argc 232 tools/perf/builtin-bench.c if (argc < 2) { argc 238 tools/perf/builtin-bench.c argc = parse_options(argc, argv, bench_options, bench_usage, argc 252 tools/perf/builtin-bench.c if (argc < 1) { argc 268 tools/perf/builtin-bench.c if (argc < 2) { argc 286 tools/perf/builtin-bench.c ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1); argc 352 tools/perf/builtin-buildid-cache.c int cmd_buildid_cache(int argc, const char **argv) argc 401 tools/perf/builtin-buildid-cache.c argc = parse_options(argc, argv, buildid_cache_options, argc 409 tools/perf/builtin-buildid-cache.c if (argc || !(list_files || opts_flag)) argc 93 tools/perf/builtin-buildid-list.c int cmd_buildid_list(int argc, const char **argv) argc 111 tools/perf/builtin-buildid-list.c argc = parse_options(argc, argv, options, buildid_list_usage, 0); argc 2718 tools/perf/builtin-c2c.c static int perf_c2c__report(int argc, const char **argv) argc 2760 tools/perf/builtin-c2c.c argc = parse_options(argc, argv, options, report_c2c_usage, argc 2762 tools/perf/builtin-c2c.c if (argc) argc 2892 tools/perf/builtin-c2c.c static int perf_c2c__record(int argc, const char **argv) argc 2915 tools/perf/builtin-c2c.c argc = parse_options(argc, argv, options, record_mem_usage, argc 2918 tools/perf/builtin-c2c.c rec_argc = argc + 11; /* max number of arguments */ argc 2958 tools/perf/builtin-c2c.c for (j = 0; j < argc; j++, i++) argc 2978 tools/perf/builtin-c2c.c int cmd_c2c(int argc, const char **argv) argc 2980 tools/perf/builtin-c2c.c argc = parse_options(argc, argv, c2c_options, c2c_usage, argc 2983 tools/perf/builtin-c2c.c if (!argc) argc 2987 tools/perf/builtin-c2c.c return perf_c2c__record(argc, argv); argc 2989 tools/perf/builtin-c2c.c return perf_c2c__report(argc, argv); argc 156 tools/perf/builtin-config.c int cmd_config(int argc, const char **argv) argc 164 tools/perf/builtin-config.c argc = parse_options(argc, argv, config_options, config_usage, argc 194 tools/perf/builtin-config.c if (argc) { argc 207 tools/perf/builtin-config.c if (!argc) argc 12 tools/perf/builtin-data.c typedef int (*data_cmd_fn_t)(int argc, const char **argv); argc 56 tools/perf/builtin-data.c static int cmd_data_convert(int argc, const char **argv) argc 79 tools/perf/builtin-data.c argc = parse_options(argc, argv, options, argc 81 tools/perf/builtin-data.c if (argc) { argc 103 tools/perf/builtin-data.c int cmd_data(int argc, const char **argv) argc 109 tools/perf/builtin-data.c if (argc < 2) argc 112 tools/perf/builtin-data.c argc = parse_options_subcommand(argc, argv, data_options, data_subcommands, data_usage, argc 114 tools/perf/builtin-data.c if (argc < 1) argc 123 tools/perf/builtin-data.c return cmd->fn(argc, argv); argc 1765 tools/perf/builtin-diff.c static int data_init(int argc, const char **argv) argc 1777 tools/perf/builtin-diff.c if (argc) { argc 1778 tools/perf/builtin-diff.c if (argc == 1) argc 1781 tools/perf/builtin-diff.c data__files_cnt = argc; argc 1839 tools/perf/builtin-diff.c int cmd_diff(int argc, const char **argv) argc 1848 tools/perf/builtin-diff.c argc = parse_options(argc, argv, options, diff_usage, 0); argc 1858 tools/perf/builtin-diff.c if (data_init(argc, argv) < 0) argc 50 tools/perf/builtin-evlist.c int cmd_evlist(int argc, const char **argv) argc 69 tools/perf/builtin-evlist.c argc = parse_options(argc, argv, options, evlist_usage, 0); argc 70 tools/perf/builtin-evlist.c if (argc) argc 278 tools/perf/builtin-ftrace.c static int __cmd_ftrace(struct perf_ftrace *ftrace, int argc, const char **argv) argc 312 tools/perf/builtin-ftrace.c if (argc && perf_evlist__prepare_workload(ftrace->evlist, argc 448 tools/perf/builtin-ftrace.c int cmd_ftrace(int argc, const char **argv) argc 493 tools/perf/builtin-ftrace.c argc = parse_options(argc, argv, ftrace_options, ftrace_usage, argc 495 tools/perf/builtin-ftrace.c if (!argc && target__none(&ftrace.target)) argc 517 tools/perf/builtin-ftrace.c ret = __cmd_ftrace(&ftrace, argc, argv); argc 427 tools/perf/builtin-help.c int cmd_help(int argc, const char **argv) argc 463 tools/perf/builtin-help.c argc = parse_options_subcommand(argc, argv, builtin_help_options, argc 743 tools/perf/builtin-inject.c int cmd_inject(int argc, const char **argv) argc 817 tools/perf/builtin-inject.c argc = parse_options(argc, argv, options, inject_usage, 0); argc 822 tools/perf/builtin-inject.c if (argc) argc 19 tools/perf/builtin-kallsyms.c static int __cmd_kallsyms(int argc, const char **argv) argc 29 tools/perf/builtin-kallsyms.c for (i = 0; i < argc; ++i) { argc 48 tools/perf/builtin-kallsyms.c int cmd_kallsyms(int argc, const char **argv) argc 59 tools/perf/builtin-kallsyms.c argc = parse_options(argc, argv, options, kallsyms_usage, 0); argc 60 tools/perf/builtin-kallsyms.c if (argc < 1) argc 68 tools/perf/builtin-kallsyms.c return __cmd_kallsyms(argc, argv); argc 1831 tools/perf/builtin-kmem.c static int __cmd_record(int argc, const char **argv) argc 1851 tools/perf/builtin-kmem.c rec_argc = ARRAY_SIZE(record_args) + argc - 1; argc 1876 tools/perf/builtin-kmem.c for (j = 1; j < (unsigned int)argc; j++, i++) argc 1898 tools/perf/builtin-kmem.c int cmd_kmem(int argc, const char **argv) argc 1940 tools/perf/builtin-kmem.c argc = parse_options_subcommand(argc, argv, kmem_options, argc 1943 tools/perf/builtin-kmem.c if (!argc) argc 1955 tools/perf/builtin-kmem.c return __cmd_record(argc, argv); argc 1182 tools/perf/builtin-kvm.c kvm_events_record(struct perf_kvm_stat *kvm, int argc, const char **argv) argc 1209 tools/perf/builtin-kvm.c rec_argc = ARRAY_SIZE(record_args) + argc + 2 + argc 1227 tools/perf/builtin-kvm.c for (j = 1; j < (unsigned int)argc; j++, i++) argc 1255 tools/perf/builtin-kvm.c kvm_events_report(struct perf_kvm_stat *kvm, int argc, const char **argv) argc 1277 tools/perf/builtin-kvm.c if (argc) { argc 1278 tools/perf/builtin-kvm.c argc = parse_options(argc, argv, argc 1281 tools/perf/builtin-kvm.c if (argc) argc 1343 tools/perf/builtin-kvm.c int argc, const char **argv) argc 1408 tools/perf/builtin-kvm.c if (argc) { argc 1409 tools/perf/builtin-kvm.c argc = parse_options(argc, argv, live_options, argc 1411 tools/perf/builtin-kvm.c if (argc) argc 1488 tools/perf/builtin-kvm.c static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) argc 1499 tools/perf/builtin-kvm.c if (argc == 1) { argc 1505 tools/perf/builtin-kvm.c return kvm_events_record(&kvm, argc - 1, argv + 1); argc 1508 tools/perf/builtin-kvm.c return kvm_events_report(&kvm, argc - 1 , argv + 1); argc 1512 tools/perf/builtin-kvm.c return kvm_events_live(&kvm, argc - 1 , argv + 1); argc 1516 tools/perf/builtin-kvm.c return cmd_stat(argc, argv); argc 1520 tools/perf/builtin-kvm.c int __weak kvm_add_default_arch_event(int *argc __maybe_unused, argc 1526 tools/perf/builtin-kvm.c static int __cmd_record(const char *file_name, int argc, const char **argv) argc 1531 tools/perf/builtin-kvm.c ret = kvm_add_default_arch_event(&argc, argv); argc 1535 tools/perf/builtin-kvm.c rec_argc = argc + 2; argc 1540 tools/perf/builtin-kvm.c for (j = 1; j < argc; j++, i++) argc 1548 tools/perf/builtin-kvm.c static int __cmd_report(const char *file_name, int argc, const char **argv) argc 1553 tools/perf/builtin-kvm.c rec_argc = argc + 2; argc 1558 tools/perf/builtin-kvm.c for (j = 1; j < argc; j++, i++) argc 1567 tools/perf/builtin-kvm.c __cmd_buildid_list(const char *file_name, int argc, const char **argv) argc 1572 tools/perf/builtin-kvm.c rec_argc = argc + 2; argc 1577 tools/perf/builtin-kvm.c for (j = 1; j < argc; j++, i++) argc 1585 tools/perf/builtin-kvm.c int cmd_kvm(int argc, const char **argv) argc 1618 tools/perf/builtin-kvm.c argc = parse_options_subcommand(argc, argv, kvm_options, kvm_subcommands, kvm_usage, argc 1620 tools/perf/builtin-kvm.c if (!argc) argc 1636 tools/perf/builtin-kvm.c return __cmd_record(file_name, argc, argv); argc 1638 tools/perf/builtin-kvm.c return __cmd_report(file_name, argc, argv); argc 1640 tools/perf/builtin-kvm.c return cmd_diff(argc, argv); argc 1642 tools/perf/builtin-kvm.c return cmd_top(argc, argv); argc 1644 tools/perf/builtin-kvm.c return __cmd_buildid_list(file_name, argc, argv); argc 1647 tools/perf/builtin-kvm.c return kvm_cmd_stat(file_name, argc, argv); argc 24 tools/perf/builtin-list.c int cmd_list(int argc, const char **argv) argc 48 tools/perf/builtin-list.c argc = parse_options(argc, argv, list_options, list_usage, argc 56 tools/perf/builtin-list.c if (argc == 0) { argc 62 tools/perf/builtin-list.c for (i = 0; i < argc; ++i) { argc 911 tools/perf/builtin-lock.c static int __cmd_record(int argc, const char **argv) argc 928 tools/perf/builtin-lock.c rec_argc = ARRAY_SIZE(record_args) + argc - 1; argc 944 tools/perf/builtin-lock.c for (j = 1; j < (unsigned int)argc; j++, i++) argc 954 tools/perf/builtin-lock.c int cmd_lock(int argc, const char **argv) argc 999 tools/perf/builtin-lock.c argc = parse_options_subcommand(argc, argv, lock_options, lock_subcommands, argc 1001 tools/perf/builtin-lock.c if (!argc) argc 1005 tools/perf/builtin-lock.c return __cmd_record(argc, argv); argc 1008 tools/perf/builtin-lock.c if (argc) { argc 1009 tools/perf/builtin-lock.c argc = parse_options(argc, argv, argc 1011 tools/perf/builtin-lock.c if (argc) argc 1017 tools/perf/builtin-lock.c return cmd_script(argc, argv); argc 1019 tools/perf/builtin-lock.c if (argc) { argc 1020 tools/perf/builtin-lock.c argc = parse_options(argc, argv, argc 1022 tools/perf/builtin-lock.c if (argc) argc 71 tools/perf/builtin-mem.c static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) argc 89 tools/perf/builtin-mem.c argc = parse_options(argc, argv, options, record_mem_usage, argc 92 tools/perf/builtin-mem.c rec_argc = argc + 9; /* max number of arguments */ argc 134 tools/perf/builtin-mem.c for (j = 0; j < argc; j++, i++) argc 279 tools/perf/builtin-mem.c static int report_events(int argc, const char **argv, struct perf_mem *mem) argc 287 tools/perf/builtin-mem.c rep_argc = argc + 3; argc 311 tools/perf/builtin-mem.c for (j = 1; j < argc; j++, i++) argc 388 tools/perf/builtin-mem.c int cmd_mem(int argc, const char **argv) argc 440 tools/perf/builtin-mem.c argc = parse_options_subcommand(argc, argv, mem_options, mem_subcommands, argc 443 tools/perf/builtin-mem.c if (!argc || !(strncmp(argv[0], "rec", 3) || mem.operation)) argc 454 tools/perf/builtin-mem.c return __cmd_record(argc, argv, &mem); argc 456 tools/perf/builtin-mem.c return report_events(argc, argv, &mem); argc 132 tools/perf/builtin-probe.c static int parse_probe_event_argv(int argc, const char **argv) argc 141 tools/perf/builtin-probe.c if (found_target && argc == 1) argc 146 tools/perf/builtin-probe.c for (i = 0; i < argc; i++) { argc 156 tools/perf/builtin-probe.c for (i = 0; i < argc; i++) { argc 491 tools/perf/builtin-probe.c __cmd_probe(int argc, const char **argv) argc 603 tools/perf/builtin-probe.c argc = parse_options(argc, argv, options, probe_usage, argc 605 tools/perf/builtin-probe.c if (argc > 0) { argc 614 tools/perf/builtin-probe.c ret = parse_probe_event_argv(argc, argv); argc 722 tools/perf/builtin-probe.c int cmd_probe(int argc, const char **argv) argc 728 tools/perf/builtin-probe.c ret = __cmd_probe(argc, argv); argc 1335 tools/perf/builtin-record.c static int __cmd_record(struct record *rec, int argc, const char **argv) argc 1340 tools/perf/builtin-record.c const bool forks = argc > 0; argc 2270 tools/perf/builtin-record.c int cmd_record(int argc, const char **argv) argc 2310 tools/perf/builtin-record.c argc = parse_options(argc, argv, record_options, record_usage, argc 2316 tools/perf/builtin-record.c if (!argc && target__none(&rec->opts.target)) argc 2474 tools/perf/builtin-record.c err = __cmd_record(&record, argc, argv); argc 1026 tools/perf/builtin-report.c int cmd_report(int argc, const char **argv) argc 1229 tools/perf/builtin-report.c argc = parse_options(argc, argv, options, report_usage, 0); argc 1230 tools/perf/builtin-report.c if (argc) { argc 1235 tools/perf/builtin-report.c if (argc > 1) argc 3307 tools/perf/builtin-sched.c static int __cmd_record(int argc, const char **argv) argc 3328 tools/perf/builtin-sched.c rec_argc = ARRAY_SIZE(record_args) + argc - 1; argc 3337 tools/perf/builtin-sched.c for (j = 1; j < (unsigned int)argc; j++, i++) argc 3345 tools/perf/builtin-sched.c int cmd_sched(int argc, const char **argv) argc 3477 tools/perf/builtin-sched.c argc = parse_options_subcommand(argc, argv, sched_options, sched_subcommands, argc 3479 tools/perf/builtin-sched.c if (!argc) argc 3486 tools/perf/builtin-sched.c return cmd_script(argc, argv); argc 3489 tools/perf/builtin-sched.c return __cmd_record(argc, argv); argc 3492 tools/perf/builtin-sched.c if (argc > 1) { argc 3493 tools/perf/builtin-sched.c argc = parse_options(argc, argv, latency_options, latency_usage, 0); argc 3494 tools/perf/builtin-sched.c if (argc) argc 3500 tools/perf/builtin-sched.c if (argc) { argc 3501 tools/perf/builtin-sched.c argc = parse_options(argc, argv, map_options, map_usage, 0); argc 3502 tools/perf/builtin-sched.c if (argc) argc 3510 tools/perf/builtin-sched.c if (argc) { argc 3511 tools/perf/builtin-sched.c argc = parse_options(argc, argv, replay_options, replay_usage, 0); argc 3512 tools/perf/builtin-sched.c if (argc) argc 3517 tools/perf/builtin-sched.c if (argc) { argc 3518 tools/perf/builtin-sched.c argc = parse_options(argc, argv, timehist_options, argc 3520 tools/perf/builtin-sched.c if (argc) argc 3218 tools/perf/builtin-script.c static int have_cmd(int argc, const char **argv) argc 3220 tools/perf/builtin-script.c char **__argv = malloc(sizeof(const char *) * argc); argc 3227 tools/perf/builtin-script.c memcpy(__argv, argv, sizeof(const char *) * argc); argc 3228 tools/perf/builtin-script.c argc = parse_options(argc, (const char **)__argv, record_options, argc 3232 tools/perf/builtin-script.c system_wide = (argc == 0); argc 3400 tools/perf/builtin-script.c int cmd_script(int argc, const char **argv) argc 3576 tools/perf/builtin-script.c argc = parse_options_subcommand(argc, argv, options, script_subcommands, script_usage, argc 3592 tools/perf/builtin-script.c if (argc > 1 && !strncmp(argv[0], "rec", strlen("rec"))) { argc 3595 tools/perf/builtin-script.c return cmd_record(argc, argv); argc 3598 tools/perf/builtin-script.c if (argc > 1 && !strncmp(argv[0], "rep", strlen("rep"))) { argc 3615 tools/perf/builtin-script.c if (argc && !script_name && !rec_script_path && !rep_script_path) { argc 3630 tools/perf/builtin-script.c rep_args = argc - 1; argc 3635 tools/perf/builtin-script.c rec_args = (argc - 1) - rep_args; argc 3664 tools/perf/builtin-script.c if (have_cmd(argc - rep_args, &argv[rep_args]) != 0) { argc 3670 tools/perf/builtin-script.c __argv = malloc((argc + 6) * sizeof(const char *)); argc 3684 tools/perf/builtin-script.c for (i = rep_args + 1; i < argc; i++) argc 3696 tools/perf/builtin-script.c __argv = malloc((argc + 4) * sizeof(const char *)); argc 3728 tools/perf/builtin-script.c if (have_cmd(argc - 1, &argv[1]) != 0) { argc 3734 tools/perf/builtin-script.c __argv = malloc((argc + 2) * sizeof(const char *)); argc 3745 tools/perf/builtin-script.c for (i = 2; i < argc; i++) argc 3854 tools/perf/builtin-script.c err = scripting_ops->start_script(script_name, argc, argv); argc 94 tools/perf/builtin-stat.c static void print_counters(struct timespec *ts, int argc, const char **argv); argc 423 tools/perf/builtin-stat.c static int __run_perf_stat(int argc, const char **argv, int run_idx) argc 434 tools/perf/builtin-stat.c const bool forks = (argc > 0); argc 625 tools/perf/builtin-stat.c static int run_perf_stat(int argc, const char **argv, int run_idx) argc 638 tools/perf/builtin-stat.c ret = __run_perf_stat(argc, argv, run_idx); argc 651 tools/perf/builtin-stat.c static void print_counters(struct timespec *ts, int argc, const char **argv) argc 658 tools/perf/builtin-stat.c ts, argc, argv); argc 1423 tools/perf/builtin-stat.c static int __cmd_record(int argc, const char **argv) argc 1428 tools/perf/builtin-stat.c argc = parse_options(argc, argv, stat_options, stat_record_usage, argc 1450 tools/perf/builtin-stat.c return argc; argc 1460 tools/perf/builtin-stat.c int argc = session->header.env.nr_cmdline; argc 1474 tools/perf/builtin-stat.c print_counters(ts, argc, argv); argc 1608 tools/perf/builtin-stat.c static int __cmd_report(int argc, const char **argv) argc 1626 tools/perf/builtin-stat.c argc = parse_options(argc, argv, options, stat_report_usage, 0); argc 1683 tools/perf/builtin-stat.c int cmd_stat(int argc, const char **argv) argc 1708 tools/perf/builtin-stat.c argc = parse_options_subcommand(argc, argv, stat_options, stat_subcommands, argc 1721 tools/perf/builtin-stat.c if (argc && !strncmp(argv[0], "rec", 3)) { argc 1722 tools/perf/builtin-stat.c argc = __cmd_record(argc, argv); argc 1723 tools/perf/builtin-stat.c if (argc < 0) argc 1725 tools/perf/builtin-stat.c } else if (argc && !strncmp(argv[0], "rep", 3)) argc 1726 tools/perf/builtin-stat.c return __cmd_report(argc, argv); argc 1804 tools/perf/builtin-stat.c setup_system_wide(argc); argc 1959 tools/perf/builtin-stat.c status = run_perf_stat(argc, argv, run_idx); argc 1961 tools/perf/builtin-stat.c print_counters(NULL, argc, argv); argc 1967 tools/perf/builtin-stat.c print_counters(NULL, argc, argv); argc 1641 tools/perf/builtin-timechart.c static int timechart__io_record(int argc, const char **argv) argc 1720 tools/perf/builtin-timechart.c argc; argc 1769 tools/perf/builtin-timechart.c for (i = 0; i < (unsigned int)argc; i++) argc 1776 tools/perf/builtin-timechart.c static int timechart__record(struct timechart *tchart, int argc, const char **argv) argc 1838 tools/perf/builtin-timechart.c rec_argc = record_elems + argc; argc 1860 tools/perf/builtin-timechart.c for (j = 0; j < (unsigned int)argc; j++) argc 1916 tools/perf/builtin-timechart.c int cmd_timechart(int argc, const char **argv) argc 1979 tools/perf/builtin-timechart.c argc = parse_options_subcommand(argc, argv, timechart_options, timechart_subcommands, argc 1987 tools/perf/builtin-timechart.c if (argc && !strncmp(argv[0], "rec", 3)) { argc 1988 tools/perf/builtin-timechart.c argc = parse_options(argc, argv, timechart_record_options, argc 1998 tools/perf/builtin-timechart.c return timechart__io_record(argc, argv); argc 2000 tools/perf/builtin-timechart.c return timechart__record(&tchart, argc, argv); argc 2001 tools/perf/builtin-timechart.c } else if (argc) argc 1392 tools/perf/builtin-top.c int cmd_top(int argc, const char **argv) argc 1564 tools/perf/builtin-top.c argc = parse_options(argc, argv, options, top_usage, 0); argc 1565 tools/perf/builtin-top.c if (argc) argc 2569 tools/perf/builtin-trace.c static int trace__record(struct trace *trace, int argc, const char **argv) argc 2589 tools/perf/builtin-trace.c majpf_args_nr + minpf_args_nr + argc; argc 2623 tools/perf/builtin-trace.c for (i = 0; i < (unsigned int)argc; i++) argc 3266 tools/perf/builtin-trace.c static int trace__run(struct trace *trace, int argc, const char **argv) argc 3272 tools/perf/builtin-trace.c const bool forks = argc > 0; argc 4069 tools/perf/builtin-trace.c int cmd_trace(int argc, const char **argv) argc 4210 tools/perf/builtin-trace.c argc = parse_options_subcommand(argc, argv, trace_options, trace_subcommands, argc 4379 tools/perf/builtin-trace.c if ((argc >= 1) && (strcmp(argv[0], "record") == 0)) argc 4380 tools/perf/builtin-trace.c return trace__record(&trace, argc-1, &argv[1]); argc 4417 tools/perf/builtin-trace.c if (!argc && target__none(&trace.opts.target)) argc 4423 tools/perf/builtin-trace.c err = trace__run(&trace, argc, argv); argc 86 tools/perf/builtin-version.c int cmd_version(int argc, const char **argv) argc 88 tools/perf/builtin-version.c argc = parse_options(argc, argv, version_options, version_usage, argc 11 tools/perf/builtin.h int cmd_annotate(int argc, const char **argv); argc 12 tools/perf/builtin.h int cmd_bench(int argc, const char **argv); argc 13 tools/perf/builtin.h int cmd_buildid_cache(int argc, const char **argv); argc 14 tools/perf/builtin.h int cmd_buildid_list(int argc, const char **argv); argc 15 tools/perf/builtin.h int cmd_config(int argc, const char **argv); argc 16 tools/perf/builtin.h int cmd_c2c(int argc, const char **argv); argc 17 tools/perf/builtin.h int cmd_diff(int argc, const char **argv); argc 18 tools/perf/builtin.h int cmd_evlist(int argc, const char **argv); argc 19 tools/perf/builtin.h int cmd_help(int argc, const char **argv); argc 20 tools/perf/builtin.h int cmd_sched(int argc, const char **argv); argc 21 tools/perf/builtin.h int cmd_kallsyms(int argc, const char **argv); argc 22 tools/perf/builtin.h int cmd_list(int argc, const char **argv); argc 23 tools/perf/builtin.h int cmd_record(int argc, const char **argv); argc 24 tools/perf/builtin.h int cmd_report(int argc, const char **argv); argc 25 tools/perf/builtin.h int cmd_stat(int argc, const char **argv); argc 26 tools/perf/builtin.h int cmd_timechart(int argc, const char **argv); argc 27 tools/perf/builtin.h int cmd_top(int argc, const char **argv); argc 28 tools/perf/builtin.h int cmd_script(int argc, const char **argv); argc 29 tools/perf/builtin.h int cmd_version(int argc, const char **argv); argc 30 tools/perf/builtin.h int cmd_probe(int argc, const char **argv); argc 31 tools/perf/builtin.h int cmd_kmem(int argc, const char **argv); argc 32 tools/perf/builtin.h int cmd_lock(int argc, const char **argv); argc 33 tools/perf/builtin.h int cmd_kvm(int argc, const char **argv); argc 34 tools/perf/builtin.h int cmd_test(int argc, const char **argv); argc 35 tools/perf/builtin.h int cmd_trace(int argc, const char **argv); argc 36 tools/perf/builtin.h int cmd_inject(int argc, const char **argv); argc 37 tools/perf/builtin.h int cmd_mem(int argc, const char **argv); argc 38 tools/perf/builtin.h int cmd_data(int argc, const char **argv); argc 39 tools/perf/builtin.h int cmd_ftrace(int argc, const char **argv); argc 13 tools/perf/lib/tests/test-cpumap.c int main(int argc, char **argv) argc 184 tools/perf/lib/tests/test-evlist.c int main(int argc, char **argv) argc 123 tools/perf/lib/tests/test-evsel.c int main(int argc, char **argv) argc 13 tools/perf/lib/tests/test-threadmap.c int main(int argc, char **argv) argc 170 tools/perf/perf.c static int handle_options(const char ***argv, int *argc, int *envchanged) argc 174 tools/perf/perf.c while (*argc > 0) { argc 228 tools/perf/perf.c if (*argc < 2) { argc 236 tools/perf/perf.c (*argc)--; argc 238 tools/perf/perf.c if (*argc < 2) { argc 246 tools/perf/perf.c (*argc)--; argc 271 tools/perf/perf.c if (*argc < 2) { argc 279 tools/perf/perf.c (*argc)--; argc 286 tools/perf/perf.c (*argc)--; argc 295 tools/perf/perf.c static int run_builtin(struct cmd_struct *p, int argc, const char **argv) argc 311 tools/perf/perf.c perf_env__set_cmdline(&perf_env, argc, argv); argc 312 tools/perf/perf.c status = p->fn(argc, argv); argc 349 tools/perf/perf.c static void handle_internal_command(int argc, const char **argv) argc 355 tools/perf/perf.c if (argc > 1 && !strcmp(argv[1], "--help")) { argc 364 tools/perf/perf.c exit(run_builtin(p, argc, argv)); argc 439 tools/perf/perf.c int main(int argc, const char **argv) argc 480 tools/perf/perf.c handle_internal_command(argc, argv); argc 492 tools/perf/perf.c return cmd_trace(argc, argv); argc 501 tools/perf/perf.c argc--; argc 502 tools/perf/perf.c handle_options(&argv, &argc, NULL); argc 505 tools/perf/perf.c if (argc > 0) { argc 538 tools/perf/perf.c run_argv(&argc, &argv); argc 1069 tools/perf/pmu-events/jevents.c int main(int argc, char *argv[]) argc 1081 tools/perf/pmu-events/jevents.c if (argc < 4) { argc 1090 tools/perf/pmu-events/jevents.c if (argc > 4) argc 313 tools/perf/tests/builtin-test.c static bool perf_test__matches(struct test *test, int curr, int argc, const char *argv[]) argc 317 tools/perf/tests/builtin-test.c if (argc == 0) argc 320 tools/perf/tests/builtin-test.c for (i = 0; i < argc; ++i) { argc 524 tools/perf/tests/builtin-test.c static int run_shell_tests(int argc, const char *argv[], int i, int width) argc 549 tools/perf/tests/builtin-test.c if (!perf_test__matches(&test, curr, argc, argv)) argc 561 tools/perf/tests/builtin-test.c static int __cmd_test(int argc, const char *argv[], struct intlist *skiplist) argc 578 tools/perf/tests/builtin-test.c if (!perf_test__matches(t, curr, argc, argv)) argc 633 tools/perf/tests/builtin-test.c return run_shell_tests(argc, argv, i, width); argc 636 tools/perf/tests/builtin-test.c static int perf_test__list_shell(int argc, const char **argv, int i) argc 657 tools/perf/tests/builtin-test.c if (!perf_test__matches(&t, curr, argc, argv)) argc 667 tools/perf/tests/builtin-test.c static int perf_test__list(int argc, const char **argv) argc 676 tools/perf/tests/builtin-test.c if (!perf_test__matches(t, curr, argc, argv) || argc 692 tools/perf/tests/builtin-test.c perf_test__list_shell(argc, argv, i); argc 697 tools/perf/tests/builtin-test.c int cmd_test(int argc, const char **argv) argc 719 tools/perf/tests/builtin-test.c argc = parse_options_subcommand(argc, argv, test_options, test_subcommands, test_usage, 0); argc 720 tools/perf/tests/builtin-test.c if (argc >= 1 && !strcmp(argv[0], "list")) argc 721 tools/perf/tests/builtin-test.c return perf_test__list(argc - 1, argv + 1); argc 738 tools/perf/tests/builtin-test.c return __cmd_test(argc, argv, skiplist); argc 82 tools/perf/ui/browsers/header.c static int ui__list_menu(int argc, char * const argv[]) argc 89 tools/perf/ui/browsers/header.c .nr_entries = argc, argc 97 tools/perf/ui/browsers/header.c int i, argc = 0; argc 108 tools/perf/ui/browsers/header.c for (pos = ptr, argc = 0; (pos = strchr(pos, '\n')) != NULL; pos++) argc 109 tools/perf/ui/browsers/header.c argc++; argc 111 tools/perf/ui/browsers/header.c argv = calloc(argc + 1, sizeof(*argv)); argc 121 tools/perf/ui/browsers/header.c BUG_ON(i != argc + 1); argc 123 tools/perf/ui/browsers/header.c ui__list_menu(argc, argv); argc 58 tools/perf/ui/tui/util.c int ui__popup_menu(int argc, char * const argv[]) argc 65 tools/perf/ui/tui/util.c .nr_entries = argc, argc 8 tools/perf/ui/util.h int ui__popup_menu(int argc, char * const argv[]); argc 203 tools/perf/util/env.c int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]) argc 208 tools/perf/util/env.c env->cmdline_argv = calloc(argc, sizeof(char *)); argc 216 tools/perf/util/env.c for (i = 0; i < argc ; i++) { argc 222 tools/perf/util/env.c env->nr_cmdline = argc; argc 105 tools/perf/util/env.h int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); argc 525 tools/perf/util/genelf.c int main(int argc, char **argv) argc 529 tools/perf/util/genelf.c while ((c = getopt(argc, argv, "o:h")) != -1) { argc 128 tools/perf/util/header.h int perf_header__set_cmdline(int argc, const char **argv); argc 151 tools/perf/util/kvm-stat.h extern int kvm_add_default_arch_event(int *argc, const char **argv); argc 1665 tools/perf/util/probe-event.c int argc, i, ret = 0; argc 1667 tools/perf/util/probe-event.c argv = argv_split(cmd, &argc); argc 1672 tools/perf/util/probe-event.c if (argc - 1 > MAX_PROBE_ARGS) { argc 1673 tools/perf/util/probe-event.c semantic_error("Too many probe arguments (%d).\n", argc - 1); argc 1683 tools/perf/util/probe-event.c pev->nargs = argc - 1; argc 1736 tools/perf/util/probe-event.c int ret, i, argc; argc 1740 tools/perf/util/probe-event.c argv = argv_split(cmd, &argc); argc 1745 tools/perf/util/probe-event.c if (argc < 2) { argc 1810 tools/perf/util/probe-event.c argc -= 1; argc 1833 tools/perf/util/probe-event.c tev->nargs = argc - 2; argc 477 tools/perf/util/scripting-engines/trace-event-perl.c static int perl_start_script(const char *script, int argc, const char **argv) argc 482 tools/perf/util/scripting-engines/trace-event-perl.c command_line = malloc((argc + 2) * sizeof(const char *)); argc 485 tools/perf/util/scripting-engines/trace-event-perl.c for (i = 2; i < argc + 2; i++) argc 491 tools/perf/util/scripting-engines/trace-event-perl.c if (perl_parse(my_perl, xs_init, argc + 2, (char **)command_line, argc 1587 tools/perf/util/scripting-engines/trace-event-python.c static int python_start_script(const char *script, int argc, const char **argv) argc 1606 tools/perf/util/scripting-engines/trace-event-python.c command_line = malloc((argc + 1) * sizeof(const char *)); argc 1608 tools/perf/util/scripting-engines/trace-event-python.c for (i = 1; i < argc + 1; i++) argc 1612 tools/perf/util/scripting-engines/trace-event-python.c command_line = malloc((argc + 1) * sizeof(wchar_t *)); argc 1614 tools/perf/util/scripting-engines/trace-event-python.c for (i = 1; i < argc + 1; i++) argc 1622 tools/perf/util/scripting-engines/trace-event-python.c PySys_SetArgv(argc + 1, (char **)command_line); argc 1624 tools/perf/util/scripting-engines/trace-event-python.c PySys_SetArgv(argc + 1, command_line); argc 1655 tools/perf/util/scripting-engines/trace-event-python.c _free_command_line(command_line, argc + 1); argc 1660 tools/perf/util/scripting-engines/trace-event-python.c _free_command_line(command_line, argc + 1); argc 1011 tools/perf/util/stat-display.c int argc, const char **argv) argc 1027 tools/perf/util/stat-display.c for (i = 1; argv && (i < argc); i++) argc 1164 tools/perf/util/stat-display.c int argc, const char **argv) argc 1174 tools/perf/util/stat-display.c print_header(config, _target, argc, argv); argc 220 tools/perf/util/stat.h int argc, const char **argv); argc 46 tools/perf/util/trace-event-scripting.c int argc __maybe_unused, argc 110 tools/perf/util/trace-event-scripting.c int argc __maybe_unused, argc 74 tools/perf/util/trace-event.h int (*start_script) (const char *script, int argc, const char **argv); argc 53 tools/power/acpi/common/getopt.c int acpi_getopt_argument(int argc, char **argv) argc 62 tools/power/acpi/common/getopt.c } else if (++acpi_gbl_optind >= argc) { argc 88 tools/power/acpi/common/getopt.c int acpi_getopt(int argc, char **argv, char *opts) argc 94 tools/power/acpi/common/getopt.c if (acpi_gbl_optind >= argc || argc 129 tools/power/acpi/common/getopt.c } else if (++acpi_gbl_optind >= argc) { argc 149 tools/power/acpi/common/getopt.c } else if (++acpi_gbl_optind >= argc) { argc 379 tools/power/acpi/tools/acpidbg/acpidbg.c int main(int argc, char **argv) argc 386 tools/power/acpi/tools/acpidbg/acpidbg.c while ((ch = getopt(argc, argv, "b:f:h")) != -1) { argc 38 tools/power/acpi/tools/acpidump/apmain.c static int ap_do_options(int argc, char **argv); argc 130 tools/power/acpi/tools/acpidump/apmain.c static int ap_do_options(int argc, char **argv) argc 138 tools/power/acpi/tools/acpidump/apmain.c acpi_getopt(argc, argv, AP_SUPPORTED_OPTIONS)) != ACPI_OPT_END) argc 288 tools/power/acpi/tools/acpidump/apmain.c int ACPI_SYSTEM_XFACE main(int argc, char *argv[]) argc 290 tools/power/acpi/tools/acpidump/apmain.c int ACPI_SYSTEM_XFACE acpi_main(int argc, char *argv[]) argc 305 tools/power/acpi/tools/acpidump/apmain.c status = ap_do_options(argc, argv); argc 53 tools/power/acpi/tools/ec/ec_access.c void parse_opts(int argc, char *argv[]) argc 57 tools/power/acpi/tools/ec/ec_access.c while ((c = getopt(argc, argv, "rs:b:w:v:h")) != -1) { argc 206 tools/power/acpi/tools/ec/ec_access.c int main(int argc, char *argv[]) argc 211 tools/power/acpi/tools/ec/ec_access.c parse_opts(argc, argv); argc 63 tools/power/cpupower/bench/main.c int main(int argc, char **argv) argc 75 tools/power/cpupower/bench/main.c c = getopt_long (argc, argv, "hg:o:s:l:vc:p:f:n:r:x:y:", argc 94 tools/power/cpupower/debug/i386/centrino-decode.c int main (int argc, char **argv) argc 98 tools/power/cpupower/debug/i386/centrino-decode.c if (argc < 2) argc 149 tools/power/cpupower/debug/i386/dump_psb.c main(int argc, char *argv[]) argc 158 tools/power/cpupower/debug/i386/dump_psb.c ret = getopt_long(argc, argv, "hr:n:", info_opts, NULL); argc 68 tools/power/cpupower/debug/i386/powernow-k8-decode.c int main (int argc, char *argv[]) argc 74 tools/power/cpupower/debug/i386/powernow-k8-decode.c if (argc < 2) argc 5 tools/power/cpupower/utils/builtin.h extern int cmd_set(int argc, const char **argv); argc 6 tools/power/cpupower/utils/builtin.h extern int cmd_info(int argc, const char **argv); argc 7 tools/power/cpupower/utils/builtin.h extern int cmd_freq_set(int argc, const char **argv); argc 8 tools/power/cpupower/utils/builtin.h extern int cmd_freq_info(int argc, const char **argv); argc 9 tools/power/cpupower/utils/builtin.h extern int cmd_idle_set(int argc, const char **argv); argc 10 tools/power/cpupower/utils/builtin.h extern int cmd_idle_info(int argc, const char **argv); argc 11 tools/power/cpupower/utils/builtin.h extern int cmd_monitor(int argc, const char **argv); argc 525 tools/power/cpupower/utils/cpufreq-info.c int cmd_freq_info(int argc, char **argv) argc 535 tools/power/cpupower/utils/cpufreq-info.c ret = getopt_long(argc, argv, "oefwldpgrasmybn", info_opts, argc 192 tools/power/cpupower/utils/cpufreq-set.c int cmd_freq_set(int argc, char **argv) argc 210 tools/power/cpupower/utils/cpufreq-set.c ret = getopt_long(argc, argv, "d:u:g:f:r", set_opts, NULL); argc 136 tools/power/cpupower/utils/cpuidle-info.c int cmd_idle_info(int argc, char **argv) argc 144 tools/power/cpupower/utils/cpuidle-info.c ret = getopt_long(argc, argv, "os", info_opts, NULL); argc 25 tools/power/cpupower/utils/cpuidle-set.c int cmd_idle_set(int argc, char **argv) argc 35 tools/power/cpupower/utils/cpuidle-set.c ret = getopt_long(argc, argv, "d:e:ED:", info_opts, NULL); argc 28 tools/power/cpupower/utils/cpupower-info.c int cmd_info(int argc, char **argv) argc 46 tools/power/cpupower/utils/cpupower-info.c while ((ret = getopt_long(argc, argv, "b", set_opts, NULL)) != -1) { argc 29 tools/power/cpupower/utils/cpupower-set.c int cmd_set(int argc, char **argv) argc 49 tools/power/cpupower/utils/cpupower-set.c while ((ret = getopt_long(argc, argv, "b:", argc 25 tools/power/cpupower/utils/cpupower.c static int cmd_help(int argc, const char **argv); argc 103 tools/power/cpupower/utils/cpupower.c static int cmd_help(int argc, const char **argv) argc 105 tools/power/cpupower/utils/cpupower.c if (argc > 1) { argc 120 tools/power/cpupower/utils/cpupower.c static void handle_options(int *argc, const char ***argv) argc 124 tools/power/cpupower/utils/cpupower.c if (*argc < 1) argc 127 tools/power/cpupower/utils/cpupower.c for (x = 0; x < *argc && ((*argv)[x])[0] == '-'; x++) { argc 133 tools/power/cpupower/utils/cpupower.c if (*argc < 2) { argc 168 tools/power/cpupower/utils/cpupower.c *argc -= new_argc; argc 172 tools/power/cpupower/utils/cpupower.c int main(int argc, const char *argv[]) argc 182 tools/power/cpupower/utils/cpupower.c argc--; argc 185 tools/power/cpupower/utils/cpupower.c handle_options(&argc, &argv); argc 189 tools/power/cpupower/utils/cpupower.c if (argc < 1) { argc 198 tools/power/cpupower/utils/cpupower.c if (argc > 1 && !strcmp(argv[1], "--help")) { argc 230 tools/power/cpupower/utils/cpupower.c ret = p->main(argc, argv); argc 352 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c static void cmdline(int argc, char *argv[]) argc 357 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c while ((opt = getopt(argc, argv, "+lci:m:")) != -1) { argc 387 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c int cmd_monitor(int argc, char **argv) argc 393 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c cmdline(argc, argv); argc 443 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c if (argc - optind) argc 1404 tools/power/x86/intel-speed-select/isst-config.c static void parse_cmd_args(int argc, int start, char **argv) argc 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", argc 1550 tools/power/x86/intel-speed-select/isst-config.c void process_command(int argc, char **argv) argc 1576 tools/power/x86/intel-speed-select/isst-config.c parse_cmd_args(argc, optind + 1, argv); argc 1628 tools/power/x86/intel-speed-select/isst-config.c static void cmdline(int argc, char **argv) argc 1646 tools/power/x86/intel-speed-select/isst-config.c while ((opt = getopt_long_only(argc, argv, "+c:df:hio:v", long_options, argc 1684 tools/power/x86/intel-speed-select/isst-config.c if (optind > (argc - 2)) { argc 1698 tools/power/x86/intel-speed-select/isst-config.c process_command(argc, argv); argc 1704 tools/power/x86/intel-speed-select/isst-config.c int main(int argc, char **argv) argc 1707 tools/power/x86/intel-speed-select/isst-config.c cmdline(argc, argv); argc 5661 tools/power/x86/turbostat/turbostat.c void cmdline(int argc, char **argv) argc 5688 tools/power/x86/turbostat/turbostat.c while ((opt = getopt_long_only(argc, argv, "+C:c:Dde:hi:Jn:o:qST:v", argc 5783 tools/power/x86/turbostat/turbostat.c int main(int argc, char **argv) argc 5786 tools/power/x86/turbostat/turbostat.c cmdline(argc, argv); argc 5809 tools/power/x86/turbostat/turbostat.c if (argc - optind) argc 520 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void cmdline(int argc, char **argv) argc 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:", argc 616 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (argc == optind + 1) argc 619 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (argc > optind + 1) { argc 1374 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int main(int argc, char **argv) argc 1382 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c cmdline(argc, argv); argc 106 tools/spi/spidev_fdx.c int main(int argc, char **argv) argc 114 tools/spi/spidev_fdx.c while ((c = getopt(argc, argv, "hm:r:v")) != EOF) { argc 139 tools/spi/spidev_fdx.c if ((optind + 1) != argc) argc 190 tools/spi/spidev_test.c static void parse_opts(int argc, char *argv[]) argc 217 tools/spi/spidev_test.c c = getopt_long(argc, argv, "D:s:d:b:i:o:lHOLC3NR24p:vS:I:", argc 401 tools/spi/spidev_test.c int main(int argc, char *argv[]) argc 406 tools/spi/spidev_test.c parse_opts(argc, argv); argc 284 tools/testing/radix-tree/main.c int main(int argc, char **argv) argc 290 tools/testing/radix-tree/main.c while ((opt = getopt(argc, argv, "ls:v")) != -1) { argc 23 tools/testing/selftests/android/ion/ionapp_export.c void print_usage(int argc, char *argv[]) argc 29 tools/testing/selftests/android/ion/ionapp_export.c int main(int argc, char *argv[]) argc 38 tools/testing/selftests/android/ion/ionapp_export.c if (argc < 2) { argc 39 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argc 47 tools/testing/selftests/android/ion/ionapp_export.c while ((opt = getopt(argc, argv, "hi:s:")) != -1) { argc 50 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argc 71 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argc 79 tools/testing/selftests/android/ion/ionapp_export.c print_usage(argc, argv); argc 58 tools/testing/selftests/bpf/flow_dissector_load.c static void parse_opts(int argc, char **argv) argc 64 tools/testing/selftests/bpf/flow_dissector_load.c while ((c = getopt(argc, argv, "adp:s:")) != -1) { argc 101 tools/testing/selftests/bpf/flow_dissector_load.c int main(int argc, char **argv) argc 103 tools/testing/selftests/bpf/flow_dissector_load.c parse_opts(argc, argv); argc 48 tools/testing/selftests/bpf/get_cgroup_id_user.c int main(int argc, char **argv) argc 698 tools/testing/selftests/bpf/test_align.c int main(int argc, char **argv) argc 702 tools/testing/selftests/bpf/test_align.c if (argc == 3) { argc 703 tools/testing/selftests/bpf/test_align.c unsigned int l = atoi(argv[argc - 2]); argc 704 tools/testing/selftests/bpf/test_align.c unsigned int u = atoi(argv[argc - 1]); argc 710 tools/testing/selftests/bpf/test_align.c } else if (argc == 2) { argc 711 tools/testing/selftests/bpf/test_align.c unsigned int t = atoi(argv[argc - 1]); argc 6896 tools/testing/selftests/bpf/test_btf.c static int parse_args(int argc, char **argv) argc 6901 tools/testing/selftests/bpf/test_btf.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 6987 tools/testing/selftests/bpf/test_btf.c int main(int argc, char **argv) argc 6991 tools/testing/selftests/bpf/test_btf.c err = parse_args(argc, argv); argc 16 tools/testing/selftests/bpf/test_cgroup_storage.c int main(int argc, char **argv) argc 23 tools/testing/selftests/bpf/test_dev_cgroup.c int main(int argc, char **argv) argc 622 tools/testing/selftests/bpf/test_flow_dissector.c static void parse_opts(int argc, char **argv) argc 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) { argc 775 tools/testing/selftests/bpf/test_flow_dissector.c int main(int argc, char **argv) argc 777 tools/testing/selftests/bpf/test_flow_dissector.c parse_opts(argc, argv); argc 370 tools/testing/selftests/bpf/test_hashmap.c int main(int argc, char **argv) argc 111 tools/testing/selftests/bpf/test_libbpf_open.c int main(int argc, char **argv) argc 121 tools/testing/selftests/bpf/test_libbpf_open.c while ((opt = getopt_long(argc, argv, "hDq", argc 136 tools/testing/selftests/bpf/test_libbpf_open.c if (optind >= argc) { argc 48 tools/testing/selftests/bpf/test_lirc_mode2_user.c int main(int argc, char **argv) argc 56 tools/testing/selftests/bpf/test_lirc_mode2_user.c if (argc != 3) { argc 870 tools/testing/selftests/bpf/test_lru_map.c int main(int argc, char **argv) argc 34 tools/testing/selftests/bpf/test_netcnt.c int main(int argc, char **argv) argc 528 tools/testing/selftests/bpf/test_progs.c int main(int argc, char **argv) argc 537 tools/testing/selftests/bpf/test_progs.c err = argp_parse(&argp, argc, argv, 0, NULL, &env); argc 230 tools/testing/selftests/bpf/test_section_names.c int main(int argc, char **argv) argc 740 tools/testing/selftests/bpf/test_select_reuseport.c int main(int argc, const char **argv) argc 153 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c int main(int argc, char **argv) argc 158 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c if (argc < 3) { argc 462 tools/testing/selftests/bpf/test_sock.c int main(int argc, char **argv) argc 1611 tools/testing/selftests/bpf/test_sock_addr.c int main(int argc, char **argv) argc 1616 tools/testing/selftests/bpf/test_sock_addr.c if (argc < 2) { argc 412 tools/testing/selftests/bpf/test_sock_fields.c int main(int argc, char **argv) argc 189 tools/testing/selftests/bpf/test_socket_cookie.c int main(int argc, char **argv) argc 1734 tools/testing/selftests/bpf/test_sockmap.c int main(int argc, char **argv) argc 1742 tools/testing/selftests/bpf/test_sockmap.c if (argc < 2) argc 1745 tools/testing/selftests/bpf/test_sockmap.c while ((opt = getopt_long(argc, argv, ":dhvc:r:i:l:t:p:q:", argc 1821 tools/testing/selftests/bpf/test_sockmap.c if (argc <= 3 && cg_fd) argc 1594 tools/testing/selftests/bpf/test_sysctl.c int main(int argc, char **argv) argc 202 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c int main(int argc, char **argv) argc 212 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c if (argc < 2) { argc 90 tools/testing/selftests/bpf/test_tcpbpf_user.c int main(int argc, char **argv) argc 70 tools/testing/selftests/bpf/test_tcpnotify_user.c int main(int argc, char **argv) argc 1135 tools/testing/selftests/bpf/test_verifier.c int main(int argc, char **argv) argc 1141 tools/testing/selftests/bpf/test_verifier.c if (argc > 1 && strcmp(argv[1], "-v") == 0) { argc 1144 tools/testing/selftests/bpf/test_verifier.c argc--; argc 1147 tools/testing/selftests/bpf/test_verifier.c if (argc == 3) { argc 1155 tools/testing/selftests/bpf/test_verifier.c } else if (argc == 2) { argc 135 tools/testing/selftests/bpf/test_verifier_log.c int main(int argc, char **argv) argc 20 tools/testing/selftests/bpf/urandom_read.c int main(int argc, char *argv[]) argc 28 tools/testing/selftests/bpf/urandom_read.c if (argc == 2) argc 87 tools/testing/selftests/bpf/xdping.c int main(int argc, char **argv) argc 107 tools/testing/selftests/bpf/xdping.c while ((opt = getopt(argc, argv, optstr)) != -1) { argc 147 tools/testing/selftests/bpf/xdping.c if (!server && optind == argc) { argc 387 tools/testing/selftests/breakpoints/breakpoint_test.c int main(int argc, char **argv) argc 199 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c int main(int argc, char **argv) argc 162 tools/testing/selftests/breakpoints/step_after_suspend_test.c int main(int argc, char **argv) argc 174 tools/testing/selftests/breakpoints/step_after_suspend_test.c while ((opt = getopt(argc, argv, "n")) != -1) { argc 429 tools/testing/selftests/capabilities/test_execve.c int main(int argc, char **argv) argc 36 tools/testing/selftests/capabilities/validate_cap.c int main(int argc, char **argv) argc 45 tools/testing/selftests/capabilities/validate_cap.c if (argc != 5) argc 372 tools/testing/selftests/cgroup/test_core.c int main(int argc, char *argv[]) argc 882 tools/testing/selftests/cgroup/test_freezer.c int main(int argc, char *argv[]) argc 1193 tools/testing/selftests/cgroup/test_memcontrol.c int main(int argc, char **argv) argc 23 tools/testing/selftests/drivers/dma-buf/udmabuf.c int main(int argc, char *argv[]) argc 12 tools/testing/selftests/efivarfs/create-read.c int main(int argc, char **argv) argc 18 tools/testing/selftests/efivarfs/create-read.c if (argc < 2) { argc 68 tools/testing/selftests/efivarfs/open-unlink.c int main(int argc, char **argv) argc 74 tools/testing/selftests/efivarfs/open-unlink.c if (argc < 2) { argc 389 tools/testing/selftests/exec/execveat.c int main(int argc, char **argv) argc 395 tools/testing/selftests/exec/execveat.c if (argc >= 2) { argc 401 tools/testing/selftests/exec/execveat.c for (ii = 0; ii < argc; ii++) argc 413 tools/testing/selftests/exec/execveat.c rc = atoi(argv[argc - 1]); argc 270 tools/testing/selftests/filesystems/binderfs/binderfs_test.c int main(int argc, char *argv[]) argc 280 tools/testing/selftests/filesystems/devpts_pts.c int main(int argc, char *argv[]) argc 359 tools/testing/selftests/futex/functional/futex_requeue_pi.c int main(int argc, char *argv[]) argc 363 tools/testing/selftests/futex/functional/futex_requeue_pi.c while ((c = getopt(argc, argv, "bchlot:v:")) != -1) { argc 54 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c int main(int argc, char *argv[]) argc 60 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c while ((c = getopt(argc, argv, "chv:")) != -1) { argc 118 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c int main(int argc, char *argv[]) argc 125 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c while ((c = getopt(argc, argv, "chv:")) != -1) { argc 72 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c int main(int argc, char **argv) argc 79 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c while ((c = getopt(argc, argv, "chv:")) != -1) { argc 40 tools/testing/selftests/futex/functional/futex_wait_timeout.c int main(int argc, char *argv[]) argc 47 tools/testing/selftests/futex/functional/futex_wait_timeout.c while ((c = getopt(argc, argv, "cht:v:")) != -1) { argc 66 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c int main(int argc, char **argv) argc 72 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c while ((c = getopt(argc, argv, "chv:")) != -1) { argc 39 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c int main(int argc, char *argv[]) argc 46 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c while ((c = getopt(argc, argv, "cht:v:")) != -1) { argc 270 tools/testing/selftests/gpio/gpio-mockup-chardev.c int main(int argc, char *argv[]) argc 279 tools/testing/selftests/gpio/gpio-mockup-chardev.c if (argc < 3) { argc 19 tools/testing/selftests/intel_pstate/aperf.c int main(int argc, char **argv) { argc 29 tools/testing/selftests/intel_pstate/aperf.c if (argc != 2) { argc 14 tools/testing/selftests/intel_pstate/msr.c int main(int argc, char **argv) { argc 19 tools/testing/selftests/intel_pstate/msr.c if (argc != 2) argc 195 tools/testing/selftests/ipc/msgque.c int main(int argc, char **argv) argc 94 tools/testing/selftests/ir/ir_loopback.c int main(int argc, char **argv) argc 102 tools/testing/selftests/ir/ir_loopback.c if (argc != 3) argc 30 tools/testing/selftests/kcmp/kcmp_test.c int main(int argc, char **argv) argc 342 tools/testing/selftests/kselftest_harness.h int main(int argc, char **argv) { \ argc 343 tools/testing/selftests/kselftest_harness.h return test_harness_run(argc, argv); \ argc 758 tools/testing/selftests/kselftest_harness.h static int test_harness_run(int __attribute__((unused)) argc, argc 428 tools/testing/selftests/kvm/dirty_log_test.c int main(int argc, char *argv[]) argc 466 tools/testing/selftests/kvm/dirty_log_test.c while ((opt = getopt(argc, argv, "hi:I:p:m:")) != -1) { argc 42 tools/testing/selftests/kvm/kvm_create_max_vcpus.c int main(int argc, char *argv[]) argc 32 tools/testing/selftests/kvm/s390x/memop.c int main(int argc, char *argv[]) argc 66 tools/testing/selftests/kvm/s390x/sync_regs_test.c int main(int argc, char *argv[]) argc 64 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c int main(int argc, char *argv[]) argc 72 tools/testing/selftests/kvm/x86_64/evmcs_test.c int main(int argc, char *argv[]) argc 133 tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c int main(int argc, char *argv[]) argc 81 tools/testing/selftests/kvm/x86_64/platform_info_test.c int main(int argc, char *argv[]) argc 27 tools/testing/selftests/kvm/x86_64/set_sregs_test.c int main(int argc, char *argv[]) argc 88 tools/testing/selftests/kvm/x86_64/smm_test.c int main(int argc, char *argv[]) argc 120 tools/testing/selftests/kvm/x86_64/state_test.c int main(int argc, char *argv[]) argc 80 tools/testing/selftests/kvm/x86_64/sync_regs_test.c int main(int argc, char *argv[]) argc 53 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c int main(int argc, char *argv[]) argc 69 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c int main(int argc, char *argv[]) argc 223 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c int main(int argc, char *argv[]) argc 128 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c int main(int argc, char *argv[]) argc 39 tools/testing/selftests/media_tests/media_device_open.c int main(int argc, char **argv) argc 48 tools/testing/selftests/media_tests/media_device_open.c if (argc < 2) { argc 54 tools/testing/selftests/media_tests/media_device_open.c while ((opt = getopt(argc, argv, "d:")) != -1) { argc 44 tools/testing/selftests/media_tests/media_device_test.c int main(int argc, char **argv) argc 53 tools/testing/selftests/media_tests/media_device_test.c if (argc < 2) { argc 59 tools/testing/selftests/media_tests/media_device_test.c while ((opt = getopt(argc, argv, "d:")) != -1) { argc 40 tools/testing/selftests/media_tests/video_device_test.c int main(int argc, char **argv) argc 50 tools/testing/selftests/media_tests/video_device_test.c if (argc < 2) { argc 56 tools/testing/selftests/media_tests/video_device_test.c while ((opt = getopt(argc, argv, "d:")) != -1) { argc 62 tools/testing/selftests/membarrier/membarrier_test_multi_thread.c int main(int argc, char **argv) argc 12 tools/testing/selftests/membarrier/membarrier_test_single_thread.c int main(int argc, char **argv) argc 108 tools/testing/selftests/memfd/fuse_mnt.c int main(int argc, char *argv[]) argc 110 tools/testing/selftests/memfd/fuse_mnt.c return fuse_main(argc, argv, &memfd_ops, NULL); argc 227 tools/testing/selftests/memfd/fuse_test.c int main(int argc, char **argv) argc 235 tools/testing/selftests/memfd/fuse_test.c if (argc < 2) { argc 240 tools/testing/selftests/memfd/fuse_test.c if (argc >= 3) { argc 995 tools/testing/selftests/memfd/memfd_test.c int main(int argc, char **argv) argc 999 tools/testing/selftests/memfd/memfd_test.c if (argc == 2) { argc 319 tools/testing/selftests/mount/unprivileged-remount-test.c int main(int argc, char **argv) argc 239 tools/testing/selftests/mqueue/mq_open_tests.c int main(int argc, char *argv[]) argc 243 tools/testing/selftests/mqueue/mq_open_tests.c if (argc != 2) { argc 538 tools/testing/selftests/mqueue/mq_perf_tests.c int main(int argc, char *argv[]) argc 563 tools/testing/selftests/mqueue/mq_perf_tests.c popt_context = poptGetContext(NULL, argc, (const char **)argv, argc 431 tools/testing/selftests/net/ip_defrag.c static void parse_opts(int argc, char **argv) argc 435 tools/testing/selftests/net/ip_defrag.c while ((c = getopt(argc, argv, "46opv")) != -1) { argc 458 tools/testing/selftests/net/ip_defrag.c int main(int argc, char **argv) argc 460 tools/testing/selftests/net/ip_defrag.c parse_opts(argc, argv); argc 164 tools/testing/selftests/net/ipv6_flowlabel.c static void parse_opts(int argc, char **argv) argc 168 tools/testing/selftests/net/ipv6_flowlabel.c while ((c = getopt(argc, argv, "l:")) != -1) { argc 179 tools/testing/selftests/net/ipv6_flowlabel.c int main(int argc, char **argv) argc 189 tools/testing/selftests/net/ipv6_flowlabel.c parse_opts(argc, argv); argc 165 tools/testing/selftests/net/ipv6_flowlabel_mgr.c static void parse_opts(int argc, char **argv) argc 169 tools/testing/selftests/net/ipv6_flowlabel_mgr.c while ((c = getopt(argc, argv, "lv")) != -1) { argc 183 tools/testing/selftests/net/ipv6_flowlabel_mgr.c int main(int argc, char **argv) argc 187 tools/testing/selftests/net/ipv6_flowlabel_mgr.c parse_opts(argc, argv); argc 700 tools/testing/selftests/net/msg_zerocopy.c static void parse_opts(int argc, char **argv) argc 712 tools/testing/selftests/net/msg_zerocopy.c while ((c = getopt(argc, argv, "46c:C:D:i:mp:rs:S:t:vz")) != -1) { argc 767 tools/testing/selftests/net/msg_zerocopy.c cfg_test = argv[argc - 1]; argc 782 tools/testing/selftests/net/msg_zerocopy.c if (optind != argc - 1) argc 786 tools/testing/selftests/net/msg_zerocopy.c int main(int argc, char **argv) argc 790 tools/testing/selftests/net/msg_zerocopy.c parse_opts(argc, argv); argc 792 tools/testing/selftests/net/msg_zerocopy.c cfg_test = argv[argc - 1]; argc 1566 tools/testing/selftests/net/nettest.c int main(int argc, char *argv[]) argc 1585 tools/testing/selftests/net/nettest.c while ((rc = getopt(argc, argv, GETOPT_STR)) != -1) { argc 414 tools/testing/selftests/net/psock_fanout.c int main(int argc, char **argv) argc 308 tools/testing/selftests/net/psock_snd.c static void parse_opts(int argc, char **argv) argc 312 tools/testing/selftests/net/psock_snd.c while ((c = getopt(argc, argv, "bcCdgl:qt:vV")) != -1) { argc 384 tools/testing/selftests/net/psock_snd.c int main(int argc, char **argv) argc 386 tools/testing/selftests/net/psock_snd.c parse_opts(argc, argv); argc 307 tools/testing/selftests/net/so_txtime.c static void parse_opts(int argc, char **argv) argc 311 tools/testing/selftests/net/so_txtime.c while ((c = getopt(argc, argv, "46c:")) != -1) { argc 333 tools/testing/selftests/net/so_txtime.c if (argc - optind != 2) argc 343 tools/testing/selftests/net/so_txtime.c int main(int argc, char **argv) argc 345 tools/testing/selftests/net/so_txtime.c parse_opts(argc, argv); argc 296 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void parse_opts(int argc, char **argv) argc 300 tools/testing/selftests/net/tcp_fastopen_backup_key.c while ((c = getopt(argc, argv, "46sr")) != -1) { argc 321 tools/testing/selftests/net/tcp_fastopen_backup_key.c int main(int argc, char **argv) argc 323 tools/testing/selftests/net/tcp_fastopen_backup_key.c parse_opts(argc, argv); argc 96 tools/testing/selftests/net/tcp_inq.c int main(int argc, char *argv[]) argc 108 tools/testing/selftests/net/tcp_inq.c while ((c = getopt(argc, argv, "46p:")) != -1) { argc 301 tools/testing/selftests/net/tcp_mmap.c int main(int argc, char *argv[]) argc 312 tools/testing/selftests/net/tcp_mmap.c while ((c = getopt(argc, argv, "46p:svr:w:H:zxkP:M:")) != -1) { argc 158 tools/testing/selftests/net/txring_overwrite.c int main(int argc, char **argv) argc 641 tools/testing/selftests/net/udpgso.c static void parse_opts(int argc, char **argv) argc 645 tools/testing/selftests/net/udpgso.c while ((c = getopt(argc, argv, "46cCmst:")) != -1) { argc 674 tools/testing/selftests/net/udpgso.c int main(int argc, char **argv) argc 676 tools/testing/selftests/net/udpgso.c parse_opts(argc, argv); argc 291 tools/testing/selftests/net/udpgso_bench_rx.c static void parse_opts(int argc, char **argv) argc 297 tools/testing/selftests/net/udpgso_bench_rx.c while ((c = getopt(argc, argv, "4b:C:Gl:n:p:rR:S:tv")) != -1) { argc 341 tools/testing/selftests/net/udpgso_bench_rx.c if (optind != argc) argc 394 tools/testing/selftests/net/udpgso_bench_rx.c int main(int argc, char **argv) argc 396 tools/testing/selftests/net/udpgso_bench_rx.c parse_opts(argc, argv); argc 420 tools/testing/selftests/net/udpgso_bench_tx.c static void parse_opts(int argc, char **argv) argc 425 tools/testing/selftests/net/udpgso_bench_tx.c while ((c = getopt(argc, argv, "46acC:D:Hl:mM:p:s:PS:tTuvz")) != -1) { argc 495 tools/testing/selftests/net/udpgso_bench_tx.c if (optind != argc) argc 609 tools/testing/selftests/net/udpgso_bench_tx.c int main(int argc, char **argv) argc 615 tools/testing/selftests/net/udpgso_bench_tx.c parse_opts(argc, argv); argc 86 tools/testing/selftests/networking/timestamping/hwtstamp_config.c int main(int argc, char **argv) argc 93 tools/testing/selftests/networking/timestamping/hwtstamp_config.c if ((argc != 2 && argc != 4) || (strlen(argv[1]) >= IFNAMSIZ)) { argc 98 tools/testing/selftests/networking/timestamping/hwtstamp_config.c if (argc == 4) { argc 117 tools/testing/selftests/networking/timestamping/hwtstamp_config.c if (ioctl(sock, (argc == 2) ? SIOCGHWTSTAMP : SIOCSHWTSTAMP, &ifr)) { argc 326 tools/testing/selftests/networking/timestamping/rxtimestamp.c int main(int argc, char **argv) argc 335 tools/testing/selftests/networking/timestamping/rxtimestamp.c while ((opt = getopt_long(argc, argv, "", long_options, argc 295 tools/testing/selftests/networking/timestamping/timestamping.c int main(int argc, char **argv) argc 317 tools/testing/selftests/networking/timestamping/timestamping.c if (argc < 2) argc 321 tools/testing/selftests/networking/timestamping/timestamping.c for (i = 2; i < argc; i++) { argc 570 tools/testing/selftests/networking/timestamping/txtimestamp.c static void parse_opt(int argc, char **argv) argc 575 tools/testing/selftests/networking/timestamping/txtimestamp.c while ((c = getopt(argc, argv, "46c:CDFhIl:Lnp:PrRuv:V:x")) != -1) { argc 657 tools/testing/selftests/networking/timestamping/txtimestamp.c if (optind != argc - 1) argc 751 tools/testing/selftests/networking/timestamping/txtimestamp.c int main(int argc, char **argv) argc 753 tools/testing/selftests/networking/timestamping/txtimestamp.c if (argc == 1) argc 756 tools/testing/selftests/networking/timestamping/txtimestamp.c parse_opt(argc, argv); argc 757 tools/testing/selftests/networking/timestamping/txtimestamp.c resolve_hostname(argv[argc - 1]); argc 26 tools/testing/selftests/nsfs/owner.c int main(int argc, char *argvp[]) argc 41 tools/testing/selftests/nsfs/pidns.c int main(int argc, char *argv[]) argc 122 tools/testing/selftests/pidfd/pidfd_open_test.c int main(int argc, char **argv) argc 27 tools/testing/selftests/pidfd/pidfd_poll_test.c int main(int argc, char **argv) argc 35 tools/testing/selftests/pidfd/pidfd_poll_test.c if (argc > 2) argc 38 tools/testing/selftests/pidfd/pidfd_poll_test.c if (argc == 2) { argc 521 tools/testing/selftests/pidfd/pidfd_test.c int main(int argc, char **argv) argc 262 tools/testing/selftests/pidfd/pidfd_wait.c int main(int argc, char **argv) argc 519 tools/testing/selftests/powerpc/alignment/alignment_handler.c int main(int argc, char *argv[]) argc 526 tools/testing/selftests/powerpc/alignment/alignment_handler.c while ((option = getopt(argc, argv, "d")) != -1) { argc 64 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c int main(int argc, char *argv[]) argc 404 tools/testing/selftests/powerpc/benchmarks/context_switch.c int main(int argc, char *argv[]) argc 415 tools/testing/selftests/powerpc/benchmarks/context_switch.c c = getopt_long(argc, argv, "", options, &option_index); argc 457 tools/testing/selftests/powerpc/benchmarks/context_switch.c if (((argc - optind) != 2)) { argc 229 tools/testing/selftests/powerpc/benchmarks/fork.c int main(int argc, char *argv[]) argc 236 tools/testing/selftests/powerpc/benchmarks/fork.c c = getopt_long(argc, argv, "", options, &option_index); argc 290 tools/testing/selftests/powerpc/benchmarks/fork.c if (((argc - optind) != 1)) { argc 60 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c int main(int argc, char *argv[]) argc 66 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c c = getopt_long(argc, argv, "", options, &option_index); argc 121 tools/testing/selftests/powerpc/dscr/dscr_default_test.c int main(int argc, char *argv[]) argc 65 tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c int main(int argc, char *argv[]) argc 92 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c int main(int argc, char *argv[]) argc 94 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c if (argc == 3 && !strcmp(argv[1], "exec")) { argc 99 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c } else if (argc != 1) { argc 81 tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c int main(int argc, char *argv[]) argc 95 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c int main(int argc, char *argv[]) argc 74 tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c int main(int argc, char *argv[]) argc 55 tools/testing/selftests/powerpc/dscr/dscr_user_test.c int main(int argc, char *argv[]) argc 106 tools/testing/selftests/powerpc/math/fpu_preempt.c int main(int argc, char *argv[]) argc 128 tools/testing/selftests/powerpc/math/fpu_signal.c int main(int argc, char *argv[]) argc 82 tools/testing/selftests/powerpc/math/fpu_syscall.c int main(int argc, char *argv[]) argc 105 tools/testing/selftests/powerpc/math/vmx_preempt.c int main(int argc, char *argv[]) argc 149 tools/testing/selftests/powerpc/math/vmx_signal.c int main(int argc, char *argv[]) argc 83 tools/testing/selftests/powerpc/math/vmx_syscall.c int main(int argc, char *argv[]) argc 140 tools/testing/selftests/powerpc/math/vsx_preempt.c int main(int argc, char *argv[]) argc 222 tools/testing/selftests/powerpc/mm/subpage_prot.c int main(int argc, char *argv[]) argc 230 tools/testing/selftests/powerpc/mm/subpage_prot.c if (argc > 1) argc 613 tools/testing/selftests/powerpc/mm/tlbie_test.c int main(int argc, char *argv[]) argc 626 tools/testing/selftests/powerpc/mm/tlbie_test.c while ((c = getopt(argc, argv, "r:hn:l:t:")) != -1) { argc 459 tools/testing/selftests/powerpc/ptrace/core-pkey.c int main(int argc, char *argv[]) argc 188 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c int main(int argc, char *argv[], char **envp) argc 116 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c int main(int argc, char *argv[]) argc 339 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c int main(int argc, char **argv, char **envp) argc 328 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c int main(int argc, char *argv[]) argc 128 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c int main(int argc, char *argv[]) argc 151 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c int main(int argc, char *argv[]) argc 162 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c int main(int argc, char *argv[]) argc 167 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c int main(int argc, char *argv[]) argc 177 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c int main(int argc, char *argv[]) argc 160 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c int main(int argc, char *argv[]) argc 153 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c int main(int argc, char *argv[]) argc 160 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c int main(int argc, char *argv[]) argc 110 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c int main(int argc, char *argv[]) argc 137 tools/testing/selftests/powerpc/security/rfi_flush.c int main(int argc, char *argv[]) argc 288 tools/testing/selftests/powerpc/signal/sigfuz.c int main(int argc, char **argv) argc 292 tools/testing/selftests/powerpc/signal/sigfuz.c while ((opt = getopt(argc, argv, "bamxt:fi:h")) != -1) { argc 58 tools/testing/selftests/powerpc/tm/tm-exec.c int main(int argc, char *argv[]) argc 62 tools/testing/selftests/powerpc/tm/tm-exec.c if (argc > 1 && strcmp(argv[1], "--child") == 0) argc 39 tools/testing/selftests/powerpc/tm/tm-fork.c int main(int argc, char *argv[]) argc 174 tools/testing/selftests/powerpc/tm/tm-poison.c int main(int argc, char *argv[]) argc 97 tools/testing/selftests/powerpc/tm/tm-resched-dscr.c int main(int argc, const char *argv[]) argc 181 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c int main(int argc, char **argv) argc 46 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c int main(int argc, char **argv) argc 75 tools/testing/selftests/powerpc/tm/tm-tar.c int main(int argc, char *argv[]) argc 78 tools/testing/selftests/powerpc/tm/tm-tar.c if (argc > 1) { argc 138 tools/testing/selftests/powerpc/tm/tm-tmspr.c int main(int argc, char *argv[]) argc 140 tools/testing/selftests/powerpc/tm/tm-tmspr.c if (argc > 1) { argc 328 tools/testing/selftests/powerpc/tm/tm-trap.c int main(int argc, char **argv) argc 403 tools/testing/selftests/powerpc/tm/tm-unavailable.c int main(int argc, char **argv) argc 115 tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c int main(int argc, char **argv) argc 408 tools/testing/selftests/powerpc/vphn/test-vphn.c int main(int argc, char **argv) argc 144 tools/testing/selftests/ptp/testptp.c int main(int argc, char *argv[]) argc 183 tools/testing/selftests/ptp/testptp.c while (EOF != (c = getopt(argc, argv, "cd:e:f:ghi:k:lL:p:P:sSt:T:z"))) { argc 152 tools/testing/selftests/ptrace/peeksiginfo.c int main(int argc, char *argv[]) argc 53 tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/test.c int main(int argc, char *argv[]) argc 292 tools/testing/selftests/rseq/basic_percpu_ops_test.c int main(int argc, char **argv) argc 38 tools/testing/selftests/rseq/basic_test.c int main(int argc, char **argv) argc 1134 tools/testing/selftests/rseq/param_test.c static void show_usage(int argc, char **argv) argc 1163 tools/testing/selftests/rseq/param_test.c int main(int argc, char **argv) argc 1167 tools/testing/selftests/rseq/param_test.c for (i = 1; i < argc; i++) { argc 1180 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1181 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1188 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1189 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1194 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1200 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1201 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1206 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1221 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1222 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1227 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1233 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1234 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1239 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1245 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1246 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1251 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1257 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1260 tools/testing/selftests/rseq/param_test.c if (argc < i + 2) { argc 1261 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1273 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 1285 tools/testing/selftests/rseq/param_test.c show_usage(argc, argv); argc 323 tools/testing/selftests/rtc/rtctest.c int main(int argc, char **argv) argc 325 tools/testing/selftests/rtc/rtctest.c switch (argc) { argc 336 tools/testing/selftests/rtc/rtctest.c return test_harness_run(argc, argv); argc 21 tools/testing/selftests/rtc/setdate.c int main(int argc, char **argv) argc 28 tools/testing/selftests/rtc/setdate.c switch (argc) { argc 284 tools/testing/selftests/safesetid/safesetid-test.c int main(int argc, char **argv) argc 60 tools/testing/selftests/seccomp/seccomp_benchmark.c int main(int argc, char *argv[]) argc 73 tools/testing/selftests/seccomp/seccomp_benchmark.c if (argc > 1) argc 683 tools/testing/selftests/sparc64/drivers/adi-test.c int main(int argc, char *argv[]) argc 5 tools/testing/selftests/splice/default_file_splice_read.c int main(int argc, char **argv) argc 168 tools/testing/selftests/timers/adjtick.c int main(int argv, char **argc) argc 58 tools/testing/selftests/timers/change_skew.c int main(int argv, char **argc) argc 122 tools/testing/selftests/timers/clocksource-switch.c int main(int argv, char **argc) argc 238 tools/testing/selftests/timers/freq-step.c int main(int argc, char **argv) argc 153 tools/testing/selftests/timers/inconsistency-check.c int main(int argc, char *argv[]) argc 162 tools/testing/selftests/timers/inconsistency-check.c while ((opt = getopt(argc, argv, "t:c:")) != -1) { argc 175 tools/testing/selftests/timers/leap-a-day.c int main(int argc, char **argv) argc 189 tools/testing/selftests/timers/leap-a-day.c while ((opt = getopt(argc, argv, "sti:")) != -1) { argc 100 tools/testing/selftests/timers/mqueue-lat.c int main(int argc, char **argv) argc 131 tools/testing/selftests/timers/nanosleep.c int main(int argc, char **argv) argc 144 tools/testing/selftests/timers/nsleep-lat.c int main(int argc, char **argv) argc 191 tools/testing/selftests/timers/posix_timers.c int main(int argc, char **argv) argc 92 tools/testing/selftests/timers/raw_skew.c int main(int argv, char **argc) argc 28 tools/testing/selftests/timers/rtcpie.c int main(int argc, char **argv) argc 35 tools/testing/selftests/timers/rtcpie.c switch (argc) { argc 74 tools/testing/selftests/timers/set-2038.c int main(int argc, char *argv[]) argc 81 tools/testing/selftests/timers/set-2038.c while ((opt = getopt(argc, argv, "d")) != -1) { argc 50 tools/testing/selftests/timers/set-tai.c int main(int argc, char **argv) argc 58 tools/testing/selftests/timers/set-tz.c int main(int argc, char **argv) argc 41 tools/testing/selftests/timers/skew_consistency.c int main(int argv, char **argc) argc 120 tools/testing/selftests/timers/threadtest.c int main(int argc, char **argv) argc 135 tools/testing/selftests/timers/threadtest.c while ((opt = getopt(argc, argv, "t:n:i")) != -1) { argc 321 tools/testing/selftests/timers/valid-adjtimex.c int main(int argc, char **argv) argc 78 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c long argc = (long)*stack; argc 79 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c stack += argc + 2; argc 37 tools/testing/selftests/vDSO/vdso_test.c int main(int argc, char **argv) argc 160 tools/testing/selftests/vm/compaction_test.c int main(int argc, char **argv) argc 31 tools/testing/selftests/vm/gup_benchmark.c int main(int argc, char **argv) argc 40 tools/testing/selftests/vm/gup_benchmark.c while ((opt = getopt(argc, argv, "m:r:n:f:tTLUwSH")) != -1) { argc 69 tools/testing/selftests/vm/map_hugetlb.c int main(int argc, char **argv) argc 77 tools/testing/selftests/vm/map_hugetlb.c if (argc > 1) argc 79 tools/testing/selftests/vm/map_hugetlb.c if (argc > 2) { argc 75 tools/testing/selftests/vm/map_populate.c int main(int argc, char **argv) argc 262 tools/testing/selftests/vm/mlock-random-test.c int main(int argc, char **argv) argc 510 tools/testing/selftests/vm/mlock2-tests.c int main(int argc, char **argv) argc 42 tools/testing/selftests/vm/on-fault-limit.c int main(int argc, char **argv) argc 58 tools/testing/selftests/vm/transhuge-stress.c int main(int argc, char **argv) argc 73 tools/testing/selftests/vm/transhuge-stress.c if (argc == 1) argc 1292 tools/testing/selftests/vm/userfaultfd.c int main(int argc, char **argv) argc 1294 tools/testing/selftests/vm/userfaultfd.c if (argc < 4) argc 1319 tools/testing/selftests/vm/userfaultfd.c if (argc < 5) argc 278 tools/testing/selftests/vm/va_128TBswitch.c int main(int argc, char **argv) argc 286 tools/testing/selftests/vm/va_128TBswitch.c if (argc == 2 && !strcmp(argv[1], "--run-hugetlb")) argc 97 tools/testing/selftests/vm/virtual_address_range.c int main(int argc, char *argv[]) argc 94 tools/testing/selftests/watchdog/watchdog-test.c int main(int argc, char *argv[]) argc 106 tools/testing/selftests/watchdog/watchdog-test.c while ((c = getopt_long(argc, argv, sopts, lopts, NULL)) != -1) { argc 136 tools/testing/selftests/watchdog/watchdog-test.c while ((c = getopt_long(argc, argv, sopts, lopts, NULL)) != -1) { argc 910 tools/testing/selftests/x86/ldt_gdt.c int main(int argc, char **argv) argc 912 tools/testing/selftests/x86/ldt_gdt.c if (argc == 1 && !strcmp(argv[0], "ldt_gdt_test_exec")) argc 54 tools/testing/selftests/x86/test_FCMOV.c int main(int argc, char **argv, char **envp) argc 299 tools/testing/selftests/x86/test_FCOMI.c int main(int argc, char **argv, char **envp) argc 118 tools/testing/selftests/x86/test_FISTTP.c int main(int argc, char **argv, char **envp) argc 57 tools/testing/selftests/x86/test_mremap_vdso.c int main(int argc, char **argv, char **envp) argc 28 tools/testing/selftests/x86/test_syscall_vdso.c int main(int argc, char **argv, char **envp) argc 376 tools/testing/selftests/x86/test_syscall_vdso.c int main(int argc, char **argv, char **envp) argc 323 tools/testing/selftests/x86/test_vdso.c int main(int argc, char **argv) argc 553 tools/testing/selftests/x86/test_vsyscall.c int main(int argc, char **argv) argc 601 tools/testing/vsock/vsock_diag_test.c int main(int argc, char **argv) argc 612 tools/testing/vsock/vsock_diag_test.c int opt = getopt_long(argc, argv, optstring, longopts, NULL); argc 223 tools/thermal/tmon/tmon.c int main(int argc, char **argv) argc 235 tools/thermal/tmon/tmon.c while ((c = getopt_long(argc, argv, "c:dlht:T:vgz:", opts, &id2)) != -1) { argc 234 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c int main(int argc, char *argv[]) argc 251 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (argc != 2) { argc 204 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c int main(int argc, char *argv[]) argc 222 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (argc != 2) { argc 659 tools/usb/ffs-test.c int main(int argc, char **argv) argc 664 tools/usb/ffs-test.c legacy_descriptors = argc > 2 && !strcmp(argv[1], "-l"); argc 363 tools/usb/testusb.c int main (int argc, char **argv) argc 393 tools/usb/testusb.c while ((c = getopt (argc, argv, "D:aA:c:g:hlns:t:v:")) != EOF) argc 453 tools/usb/testusb.c if (optind != argc) argc 20 tools/usb/usbip/src/usbip.c static int usbip_help(int argc, char *argv[]); argc 21 tools/usb/usbip/src/usbip.c static int usbip_version(int argc, char *argv[]); argc 36 tools/usb/usbip/src/usbip.c int (*fn)(int argc, char *argv[]); argc 93 tools/usb/usbip/src/usbip.c static int usbip_help(int argc, char *argv[]) argc 99 tools/usb/usbip/src/usbip.c if (argc > 1 && argv++) { argc 118 tools/usb/usbip/src/usbip.c static int usbip_version(int argc, char *argv[]) argc 120 tools/usb/usbip/src/usbip.c (void) argc; argc 127 tools/usb/usbip/src/usbip.c static int run_command(const struct command *cmd, int argc, char *argv[]) argc 130 tools/usb/usbip/src/usbip.c return cmd->fn(argc, argv); argc 133 tools/usb/usbip/src/usbip.c int main(int argc, char *argv[]) argc 149 tools/usb/usbip/src/usbip.c opt = getopt_long(argc, argv, "+dlt:", opts, NULL); argc 179 tools/usb/usbip/src/usbip.c argc -= optind; argc 182 tools/usb/usbip/src/usbip.c rc = run_command(&cmds[i], argc, argv); argc 15 tools/usb/usbip/src/usbip.h int usbip_attach(int argc, char *argv[]); argc 16 tools/usb/usbip/src/usbip.h int usbip_detach(int argc, char *argv[]); argc 17 tools/usb/usbip/src/usbip.h int usbip_list(int argc, char *argv[]); argc 18 tools/usb/usbip/src/usbip.h int usbip_bind(int argc, char *argv[]); argc 19 tools/usb/usbip/src/usbip.h int usbip_unbind(int argc, char *argv[]); argc 20 tools/usb/usbip/src/usbip.h int usbip_port_show(int argc, char *argv[]); argc 201 tools/usb/usbip/src/usbip_attach.c int usbip_attach(int argc, char *argv[]) argc 215 tools/usb/usbip/src/usbip_attach.c opt = getopt_long(argc, argv, "d:r:b:", opts, NULL); argc 182 tools/usb/usbip/src/usbip_bind.c int usbip_bind(int argc, char *argv[]) argc 193 tools/usb/usbip/src/usbip_bind.c opt = getopt_long(argc, argv, "b:", opts, NULL); argc 96 tools/usb/usbip/src/usbip_detach.c int usbip_detach(int argc, char *argv[]) argc 106 tools/usb/usbip/src/usbip_detach.c opt = getopt_long(argc, argv, "p:", opts, NULL); argc 325 tools/usb/usbip/src/usbip_list.c int usbip_list(int argc, char *argv[]) argc 343 tools/usb/usbip/src/usbip_list.c opt = getopt_long(argc, argv, "pr:ld", opts, NULL); argc 47 tools/usb/usbip/src/usbip_port.c int usbip_port_show(__attribute__((unused)) int argc, argc 100 tools/usb/usbip/src/usbip_unbind.c int usbip_unbind(int argc, char *argv[]) argc 111 tools/usb/usbip/src/usbip_unbind.c opt = getopt_long(argc, argv, "b:", opts, NULL); argc 586 tools/usb/usbip/src/usbipd.c int main(int argc, char *argv[]) argc 623 tools/usb/usbip/src/usbipd.c opt = getopt_long(argc, argv, "46DdeP::t:hv", longopts, NULL); argc 292 tools/virtio/ringtest/main.c int main(int argc, char **argv) argc 308 tools/virtio/ringtest/main.c int o = getopt_long(argc, argv, optstring, longopts, NULL); argc 375 tools/virtio/ringtest/main.c if (optind < argc) { argc 185 tools/virtio/virtio-trace/trace-agent.c static void *parse_args(int argc, char *argv[], struct agent_info *s) argc 190 tools/virtio/virtio-trace/trace-agent.c while ((cmd = getopt(argc, argv, "hos:")) != -1) { argc 256 tools/virtio/virtio-trace/trace-agent.c int main(int argc, char *argv[]) argc 261 tools/virtio/virtio-trace/trace-agent.c parse_args(argc, argv, s); argc 261 tools/virtio/virtio_test.c int main(int argc, char **argv) argc 270 tools/virtio/virtio_test.c o = getopt_long(argc, argv, optstring, longopts, NULL); argc 437 tools/virtio/vringh_test.c int main(int argc, char *argv[]) argc 1254 tools/vm/page-types.c int main(int argc, char *argv[]) argc 1260 tools/vm/page-types.c while ((c = getopt_long(argc, argv, argc 87 tools/vm/page_owner_sort.c int main(int argc, char **argv) argc 95 tools/vm/page_owner_sort.c if (argc < 3) { argc 1381 tools/vm/slabinfo.c int main(int argc, char *argv[]) argc 1389 tools/vm/slabinfo.c while ((c = getopt_long(argc, argv, "aABd::DefhilLnN:oPrsStTUvXz1", argc 1485 tools/vm/slabinfo.c if (argc > optind) argc 521 usr/gen_init_cpio.c int main (int argc, char *argv[]) argc 532 usr/gen_init_cpio.c int opt = getopt(argc, argv, "t:h"); argc 554 usr/gen_init_cpio.c if (argc - optind != 1) {