Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 8 of 8) sorted by relevance

/fs/
Dbinfmt_em86.c71 bprm->argc++; in load_em86()
75 bprm->argc++; in load_em86()
79 bprm->argc++; in load_em86()
Dbinfmt_script.c123 bprm->argc++; in load_script()
127 bprm->argc++; in load_script()
131 bprm->argc++; in load_script()
Dbinfmt_aout.c149 int argc = bprm->argc; in create_aout_tables() local
168 sp -= argc+1; in create_aout_tables()
174 put_user(argc,--sp); in create_aout_tables()
176 while (argc-->0) { in create_aout_tables()
Dbinfmt_flat.c128 int argc = bprm->argc; in create_flat_tables() local
133 sp -= (envc + argc + 2) + 1 + (flat_argvp_envp_on_stack() ? 2 : 0); in create_flat_tables()
136 envp = argv + (argc + 1); in create_flat_tables()
143 put_user(argc, sp); in create_flat_tables()
145 while (argc-->0) { in create_flat_tables()
871 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ in load_flat_binary()
Dexec.c228 ptr_size = (bprm->argc + bprm->envc) * sizeof(void *); in get_arg_page()
487 static int copy_strings(int argc, struct user_arg_ptr argv, in copy_strings() argument
495 while (argc-- > 0) { in copy_strings()
501 str = get_user_arg_ptr(argv, argc); in copy_strings()
578 int copy_strings_kernel(int argc, const char *const *__argv, in copy_strings_kernel() argument
588 r = copy_strings(argc, argv, bprm); in copy_strings_kernel()
1419 if (!bprm->argc) in remove_arg_zero()
1443 bprm->argc--; in remove_arg_zero()
1614 bprm->argc = count(argv, MAX_ARG_STRINGS); in do_execveat_common()
1615 if ((retval = bprm->argc) < 0) in do_execveat_common()
[all …]
Dbinfmt_elf.c155 int argc = bprm->argc; in create_elf_tables() local
275 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
296 if (__put_user(argc, sp++)) in create_elf_tables()
299 envp = argv + argc + 1; in create_elf_tables()
303 while (argc-- > 0) { in create_elf_tables()
Dbinfmt_misc.c191 bprm->argc++; in load_misc_binary()
197 bprm->argc++; in load_misc_binary()
Dbinfmt_elf_fdpic.c593 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ in create_elf_fdpic_tables()
668 csp -= (bprm->argc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
673 __put_user(bprm->argc, (unsigned long __user *) csp); in create_elf_fdpic_tables()
686 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()