Searched refs:argc (Results 1 - 9 of 9) sorted by relevance

/fs/
H A Dbinfmt_em86.c68 bprm->argc++;
72 bprm->argc++;
76 bprm->argc++;
H A Dbinfmt_script.c76 bprm->argc++;
80 bprm->argc++;
84 bprm->argc++;
H A Dbinfmt_som.c71 int argc = bprm->argc; local
82 sp += argc + 1;
87 __put_user(argc, ++sp);
92 while (argc-- > 0) {
H A Dbinfmt_aout.c152 int argc = bprm->argc; local
171 sp -= argc+1;
177 put_user(argc,--sp);
179 while (argc-->0) {
H A Dbinfmt_flat.c129 int argc = bprm->argc; local
134 sp -= (envc + argc + 2) + 1 + (flat_argvp_envp_on_stack() ? 2 : 0);
137 envp = argv + (argc + 1);
144 put_user(argc, sp);
146 while (argc-->0) {
814 * segment (including bss) but not argv/argc/environ.
888 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */
H A Dexec.c467 static int copy_strings(int argc, struct user_arg_ptr argv, argument
475 while (argc-- > 0) {
481 str = get_user_arg_ptr(argv, argc);
558 int copy_strings_kernel(int argc, const char *const *__argv, argument
568 r = copy_strings(argc, argv, bprm);
1332 if (!bprm->argc)
1356 bprm->argc--;
1515 bprm->argc = count(argv, MAX_ARG_STRINGS);
1516 if ((retval = bprm->argc) < 0)
1536 retval = copy_strings(bprm->argc, arg
[all...]
H A Dbinfmt_elf.c141 int argc = bprm->argc; local
258 items = (argc + 1) + (envc + 1) + 1;
278 /* Now, let's put argc (and argv, envp if appropriate) on the stack */
279 if (__put_user(argc, sp++))
282 envp = argv + argc + 1;
286 while (argc-- > 0) {
H A Dbinfmt_misc.c170 bprm->argc++;
176 bprm->argc ++;
H A Dbinfmt_elf_fdpic.c584 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */
585 sp -= 1 * sizeof(unsigned long); /* argc */
656 csp -= (bprm->argc + 1) * sizeof(elf_caddr_t);
659 /* stack argc */
661 __put_user(bprm->argc, (unsigned long __user *) csp);
674 for (loop = bprm->argc; loop > 0; loop--) {

Completed in 217 milliseconds