Searched refs:argc (Results 1 – 10 of 10) sorted by relevance
/fs/ |
D | binfmt_em86.c | 69 bprm->argc++; in load_em86() 73 bprm->argc++; in load_em86() 77 bprm->argc++; in load_em86()
|
D | binfmt_script.c | 76 bprm->argc++; in load_script() 80 bprm->argc++; in load_script() 84 bprm->argc++; in load_script()
|
D | binfmt_som.c | 71 int argc = bprm->argc; in create_som_tables() local 82 sp += argc + 1; in create_som_tables() 87 __put_user(argc, ++sp); in create_som_tables() 92 while (argc-- > 0) { in create_som_tables()
|
D | exec.c | 399 static int copy_strings(int argc, char __user * __user * argv, in copy_strings() argument 407 while (argc-- > 0) { in copy_strings() 412 if (get_user(str, argv+argc) || in copy_strings() 482 int copy_strings_kernel(int argc,char ** argv, struct linux_binprm *bprm) in copy_strings_kernel() argument 487 r = copy_strings(argc, (char __user * __user *)argv, bprm); in copy_strings_kernel() 1149 if (!bprm->argc) in remove_arg_zero() 1173 bprm->argc--; in remove_arg_zero() 1269 extern void qemu_trace_execve(int argc, char __user * __user * argv); 1319 bprm->argc = count(argv, MAX_ARG_STRINGS); in do_execve() 1320 if ((retval = bprm->argc) < 0) in do_execve() [all …]
|
D | binfmt_aout.c | 167 int argc = bprm->argc; in create_aout_tables() local 186 sp -= argc+1; in create_aout_tables() 192 put_user(argc,--sp); in create_aout_tables() 194 while (argc-->0) { in create_aout_tables()
|
D | binfmt_flat.c | 113 int argc = bprm->argc; in create_flat_tables() local 121 sp -= argc+1; in create_flat_tables() 130 put_user(argc,--sp); in create_flat_tables() 132 while (argc-->0) { in create_flat_tables() 855 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ in load_flat_binary()
|
D | binfmt_elf.c | 148 int argc = bprm->argc; in create_elf_tables() local 265 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables() 286 if (__put_user(argc, sp++)) in create_elf_tables() 289 envp = argv + argc + 1; in create_elf_tables() 293 while (argc-- > 0) { in create_elf_tables()
|
D | binfmt_misc.c | 171 bprm->argc++; in load_misc_binary() 177 bprm->argc ++; in load_misc_binary()
|
D | compat.c | 1292 static int compat_copy_strings(int argc, compat_uptr_t __user *argv, in compat_copy_strings() argument 1300 while (argc-- > 0) { in compat_copy_strings() 1305 if (get_user(str, argv+argc) || in compat_copy_strings() 1427 bprm->argc = compat_count(argv, MAX_ARG_STRINGS); in compat_do_execve() 1428 if ((retval = bprm->argc) < 0) in compat_do_execve() 1448 retval = compat_copy_strings(bprm->argc, argv, bprm); in compat_do_execve()
|
D | binfmt_elf_fdpic.c | 568 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ in create_elf_fdpic_tables() 640 csp -= (bprm->argc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables() 645 __put_user(bprm->argc, (unsigned long __user *) csp); in create_elf_fdpic_tables() 658 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
|