Searched refs:argc (Results 1 – 8 of 8) sorted by relevance
/fs/ |
D | binfmt_em86.c | 71 bprm->argc++; in load_em86() 75 bprm->argc++; in load_em86() 79 bprm->argc++; in load_em86()
|
D | binfmt_script.c | 123 bprm->argc++; in load_script() 127 bprm->argc++; in load_script() 131 bprm->argc++; in load_script()
|
D | binfmt_aout.c | 149 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()
|
D | binfmt_flat.c | 128 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()
|
D | exec.c | 228 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 …]
|
D | binfmt_elf.c | 155 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()
|
D | binfmt_misc.c | 191 bprm->argc++; in load_misc_binary() 197 bprm->argc++; in load_misc_binary()
|
D | binfmt_elf_fdpic.c | 593 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()
|