/fs/nilfs2/ |
D | ioctl.c | 47 struct nilfs_argv *argv, int dir, in nilfs_ioctl_wrap_copy() argument 53 void __user *base = (void __user *)(unsigned long)argv->v_base; in nilfs_ioctl_wrap_copy() 59 if (argv->v_nmembs == 0) in nilfs_ioctl_wrap_copy() 62 if (argv->v_size > PAGE_SIZE) in nilfs_ioctl_wrap_copy() 70 if (argv->v_index > ~(__u64)0 - argv->v_nmembs) in nilfs_ioctl_wrap_copy() 76 maxmembs = PAGE_SIZE / argv->v_size; in nilfs_ioctl_wrap_copy() 80 pos = argv->v_index; in nilfs_ioctl_wrap_copy() 81 for (i = 0; i < argv->v_nmembs; i += n) { in nilfs_ioctl_wrap_copy() 82 n = (argv->v_nmembs - i < maxmembs) ? in nilfs_ioctl_wrap_copy() 83 argv->v_nmembs - i : maxmembs; in nilfs_ioctl_wrap_copy() [all …]
|
D | segment.c | 2418 int nilfs_clean_segments(struct super_block *sb, struct nilfs_argv *argv, in nilfs_clean_segments() argument 2435 err = nilfs_ioctl_prepare_clean_segments(nilfs, argv, kbufs); in nilfs_clean_segments() 2442 sci->sc_nfreesegs = argv[4].v_nmembs; in nilfs_clean_segments()
|
/fs/ |
D | exec.c | 401 static const char __user *get_user_arg_ptr(struct user_arg_ptr argv, int nr) in get_user_arg_ptr() argument 406 if (unlikely(argv.is_compat)) { in get_user_arg_ptr() 409 if (get_user(compat, argv.ptr.compat + nr)) in get_user_arg_ptr() 416 if (get_user(native, argv.ptr.native + nr)) in get_user_arg_ptr() 425 static int count(struct user_arg_ptr argv, int max) in count() argument 429 if (argv.ptr.native != NULL) { in count() 431 const char __user *p = get_user_arg_ptr(argv, i); in count() 452 struct user_arg_ptr argv, struct user_arg_ptr envp) in prepare_arg_pages() argument 456 bprm->argc = count(argv, MAX_ARG_STRINGS); in prepare_arg_pages() 500 static int copy_strings(int argc, struct user_arg_ptr argv, in copy_strings() argument [all …]
|
D | coredump.c | 192 size_t **argv, int *argc) in format_corename() argument 209 (*argv) = kmalloc_array(argvs, sizeof(**argv), GFP_KERNEL); in format_corename() 210 if (!(*argv)) in format_corename() 212 (*argv)[(*argc)++] = 0; in format_corename() 233 (*argv)[(*argc)++] = cn->used; in format_corename() 575 size_t *argv = NULL; in do_coredump() local 623 ispipe = format_corename(&cn, &cprm, &argv, &argc); in do_coredump() 677 helper_argv[argi] = cn.corename + argv[argi]; in do_coredump() 802 kfree(argv); in do_coredump()
|
D | binfmt_aout.c | 61 char __user * __user *argv; in create_aout_tables() local 84 argv = (char __user * __user *) sp; in create_aout_tables() 87 put_user((unsigned long) argv,--sp); in create_aout_tables() 93 put_user(p,argv++); in create_aout_tables() 98 put_user(NULL,argv); in create_aout_tables()
|
D | binfmt_flat.c | 143 unsigned long argv, envp; in create_flat_tables() local 144 argv = (unsigned long)(sp + 2); in create_flat_tables() 146 __put_user(argv, sp++); in create_flat_tables()
|
D | binfmt_elf_fdpic.c | 504 elf_caddr_t __user *argv, *envp; in create_elf_fdpic_tables() local 674 argv = (elf_caddr_t __user *) csp; in create_elf_fdpic_tables() 692 __put_user((elf_caddr_t) p, argv++); in create_elf_fdpic_tables() 698 __put_user(NULL, argv); in create_elf_fdpic_tables()
|
/fs/ocfs2/ |
D | stackglue.c | 421 char *argv[5], *envp[3]; in ocfs2_leave_group() local 423 argv[0] = ocfs2_hb_ctl_path; in ocfs2_leave_group() 424 argv[1] = "-K"; in ocfs2_leave_group() 425 argv[2] = "-u"; in ocfs2_leave_group() 426 argv[3] = (char *)group; in ocfs2_leave_group() 427 argv[4] = NULL; in ocfs2_leave_group() 434 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in ocfs2_leave_group() 439 ret, argv[0], argv[1], argv[2], argv[3]); in ocfs2_leave_group()
|
/fs/nfs/ |
D | cache_lib.c | 42 char *argv[] = { in nfs_cache_upcall() local 52 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); in nfs_cache_upcall()
|
/fs/nfsd/ |
D | nfs4layouts.c | 618 char *argv[8]; in nfsd4_cb_layout_fail() local 627 argv[0] = (char *)nfsd_recall_failed; in nfsd4_cb_layout_fail() 628 argv[1] = addr_str; in nfsd4_cb_layout_fail() 629 argv[2] = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail() 630 argv[3] = NULL; in nfsd4_cb_layout_fail() 632 error = call_usermodehelper(nfsd_recall_failed, argv, envp, in nfsd4_cb_layout_fail()
|
D | nfs4recover.c | 1813 char *argv[4]; in nfsd4_umh_cltrack_upcall() local 1830 argv[0] = (char *)cltrack_prog; in nfsd4_umh_cltrack_upcall() 1831 argv[1] = cmd; in nfsd4_umh_cltrack_upcall() 1832 argv[2] = arg; in nfsd4_umh_cltrack_upcall() 1833 argv[3] = NULL; in nfsd4_umh_cltrack_upcall() 1835 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_umh_cltrack_upcall()
|
/fs/unicode/ |
D | mkutf8data.c | 3347 int main(int argc, char *argv[]) in main() argument 3352 argv0 = argv[0]; in main() 3354 while ((opt = getopt(argc, argv, "a:c:d:f:hn:o:p:t:v")) != -1) { in main()
|