Searched refs:argc (Results 1 – 10 of 10) sorted by relevance
/fs/ |
D | binfmt_em86.c | 73 bprm->argc++; in load_em86() 77 bprm->argc++; in load_em86() 81 bprm->argc++; in load_em86()
|
D | binfmt_script.c | 123 bprm->argc++; in load_script() 128 bprm->argc++; in load_script() 133 bprm->argc++; in load_script()
|
D | binfmt_aout.c | 64 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()
|
D | coredump.c | 192 size_t **argv, int *argc) in format_corename() argument 212 (*argv)[(*argc)++] = 0; in format_corename() 233 (*argv)[(*argc)++] = cn->used; in format_corename() 576 int argc = 0; in do_coredump() local 623 ispipe = format_corename(&cn, &cprm, &argv, &argc); in do_coredump() 669 helper_argv = kmalloc_array(argc + 1, sizeof(*helper_argv), in do_coredump() 676 for (argi = 0; argi < argc; argi++) in do_coredump()
|
D | exec.c | 456 bprm->argc = count(argv, MAX_ARG_STRINGS); in prepare_arg_pages() 457 if (bprm->argc < 0) in prepare_arg_pages() 458 return bprm->argc; in prepare_arg_pages() 486 ptr_size = (bprm->argc + bprm->envc) * sizeof(void *); in prepare_arg_pages() 500 static int copy_strings(int argc, struct user_arg_ptr argv, in copy_strings() argument 508 while (argc-- > 0) { in copy_strings() 514 str = get_user_arg_ptr(argv, argc); in copy_strings() 595 int copy_strings_kernel(int argc, const char *const *__argv, in copy_strings_kernel() argument 605 r = copy_strings(argc, argv, bprm); in copy_strings_kernel() 1603 if (!bprm->argc) in remove_arg_zero() [all …]
|
D | binfmt_flat.c | 133 sp -= bprm->argc + 1; in create_flat_tables() 141 __put_user(bprm->argc, sp++); in create_flat_tables() 145 envp = (unsigned long)(sp + 2 + bprm->argc + 1); in create_flat_tables() 151 for (i = bprm->argc; i > 0; i--) { in create_flat_tables() 943 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ in load_flat_binary()
|
D | binfmt_misc.c | 196 bprm->argc++; in load_misc_binary() 202 bprm->argc++; in load_misc_binary()
|
D | binfmt_elf.c | 168 int argc = bprm->argc; in create_elf_tables() local 286 items = (argc + 1) + (envc + 1) + 1; in create_elf_tables() 307 if (__put_user(argc, sp++)) in create_elf_tables() 312 while (argc-- > 0) { in create_elf_tables()
|
D | binfmt_elf_fdpic.c | 598 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ in create_elf_fdpic_tables() 673 csp -= (bprm->argc + 1) * sizeof(elf_caddr_t); in create_elf_fdpic_tables() 678 __put_user(bprm->argc, (unsigned long __user *) csp); in create_elf_fdpic_tables() 691 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
|
/fs/unicode/ |
D | mkutf8data.c | 3347 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()
|