Lines Matching refs:argv
373 static int count(char __user * __user * argv, int max) in count() argument
377 if (argv != NULL) { in count()
381 if (get_user(p, argv)) in count()
385 argv++; in count()
399 static int copy_strings(int argc, char __user * __user * argv, in copy_strings() argument
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()
1269 extern void qemu_trace_execve(int argc, char __user * __user * argv);
1276 char __user *__user *argv, in do_execve() argument
1319 bprm->argc = count(argv, MAX_ARG_STRINGS); in do_execve()
1340 retval = copy_strings(bprm->argc, argv, bprm); in do_execve()
1346 qemu_trace_execve(bprm->argc, argv); in do_execve()