Home
last modified time | relevance | path

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

/fs/
Dbinfmt_em86.c69 bprm->argc++; in load_em86()
73 bprm->argc++; in load_em86()
77 bprm->argc++; in load_em86()
Dbinfmt_script.c112 bprm->argc++; in load_script()
119 bprm->argc++; in load_script()
124 bprm->argc++; in load_script()
Dbinfmt_aout.c64 int argc = bprm->argc; in create_aout_tables() local
83 sp -= argc+1; in create_aout_tables()
89 put_user(argc,--sp); in create_aout_tables()
91 while (argc-->0) { in create_aout_tables()
Dexec.c506 ptr_size = (max(bprm->argc, 1) + bprm->envc) * sizeof(void *); in bprm_stack_limits()
520 static int copy_strings(int argc, struct user_arg_ptr argv, in copy_strings() argument
528 while (argc-- > 0) { in copy_strings()
534 str = get_user_arg_ptr(argv, argc); in copy_strings()
656 static int copy_strings_kernel(int argc, const char *const *argv, in copy_strings_kernel() argument
659 while (argc-- > 0) { in copy_strings_kernel()
660 int ret = copy_string_kernel(argv[argc], bprm); in copy_strings_kernel()
1662 if (!bprm->argc) in remove_arg_zero()
1683 bprm->argc--; in remove_arg_zero()
1908 bprm->argc = retval; in do_execveat_common()
[all …]
Dcoredump.c198 size_t **argv, int *argc) in format_corename() argument
218 (*argv)[(*argc)++] = 0; in format_corename()
242 (*argv)[(*argc)++] = cn->used; in format_corename()
589 int argc = 0; in do_coredump() local
636 ispipe = format_corename(&cn, &cprm, &argv, &argc); in do_coredump()
682 helper_argv = kmalloc_array(argc + 1, sizeof(*helper_argv), in do_coredump()
689 for (argi = 0; argi < argc; argi++) in do_coredump()
Dbinfmt_flat.c133 sp -= bprm->argc + 1; in create_flat_tables()
141 if (put_user(bprm->argc, sp++)) in create_flat_tables()
146 envp = (unsigned long)(sp + 2 + bprm->argc + 1); in create_flat_tables()
152 for (i = bprm->argc; i > 0; i--) { in create_flat_tables()
977 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ in load_flat_binary()
Dbinfmt_misc.c169 bprm->argc++; in load_misc_binary()
175 bprm->argc++; in load_misc_binary()
Dbinfmt_elf_fdpic.c597 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ in create_elf_fdpic_tables()
674 csp -= (bprm->argc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables()
679 if (put_user(bprm->argc, (unsigned long __user *) csp)) in create_elf_fdpic_tables()
693 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
Dbinfmt_elf.c178 int argc = bprm->argc; in create_elf_tables() local
297 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables()
321 if (put_user(argc, sp++)) in create_elf_tables()
326 while (argc-- > 0) { in create_elf_tables()
/fs/unicode/
Dmkutf8data.c3347 int main(int argc, char *argv[]) in main() argument
3354 while ((opt = getopt(argc, argv, "a:c:d:f:hn:o:p:t:v")) != -1) { in main()