/fs/nilfs2/ |
D | ioctl.c | 61 struct nilfs_argv *argv, int dir, in nilfs_ioctl_wrap_copy() argument 67 void __user *base = (void __user *)(unsigned long)argv->v_base; in nilfs_ioctl_wrap_copy() 73 if (argv->v_nmembs == 0) in nilfs_ioctl_wrap_copy() 76 if (argv->v_size > PAGE_SIZE) in nilfs_ioctl_wrap_copy() 84 if (argv->v_index > ~(__u64)0 - argv->v_nmembs) in nilfs_ioctl_wrap_copy() 90 maxmembs = PAGE_SIZE / argv->v_size; in nilfs_ioctl_wrap_copy() 94 pos = argv->v_index; in nilfs_ioctl_wrap_copy() 95 for (i = 0; i < argv->v_nmembs; i += n) { in nilfs_ioctl_wrap_copy() 96 n = (argv->v_nmembs - i < maxmembs) ? in nilfs_ioctl_wrap_copy() 97 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 | 432 static const char __user *get_user_arg_ptr(struct user_arg_ptr argv, int nr) in get_user_arg_ptr() argument 437 if (unlikely(argv.is_compat)) { in get_user_arg_ptr() 440 if (get_user(compat, argv.ptr.compat + nr)) in get_user_arg_ptr() 447 if (get_user(native, argv.ptr.native + nr)) in get_user_arg_ptr() 456 static int count(struct user_arg_ptr argv, int max) in count() argument 460 if (argv.ptr.native != NULL) { in count() 462 const char __user *p = get_user_arg_ptr(argv, i); in count() 487 static int copy_strings(int argc, struct user_arg_ptr argv, in copy_strings() argument 501 str = get_user_arg_ptr(argv, argc); in copy_strings() 583 struct user_arg_ptr argv = { in copy_strings_kernel() local [all …]
|
D | binfmt_aout.c | 146 char __user * __user *argv; in create_aout_tables() local 169 argv = (char __user * __user *) sp; in create_aout_tables() 172 put_user((unsigned long) argv,--sp); in create_aout_tables() 178 put_user(p,argv++); in create_aout_tables() 183 put_user(NULL,argv); in create_aout_tables()
|
D | binfmt_flat.c | 125 unsigned long *argv,*envp; in create_flat_tables() local 135 argv = sp + 1 + (flat_argvp_envp_on_stack() ? 2 : 0); in create_flat_tables() 136 envp = argv + (argc + 1); in create_flat_tables() 140 put_user((unsigned long) argv, sp + 1); in create_flat_tables() 146 put_user((unsigned long) p, argv++); in create_flat_tables() 151 put_user((unsigned long) NULL, argv); in create_flat_tables()
|
D | binfmt_elf.c | 157 elf_addr_t __user *argv; in create_elf_tables() local 298 argv = sp; in create_elf_tables() 299 envp = argv + argc + 1; in create_elf_tables() 305 if (__put_user((elf_addr_t)p, argv++)) in create_elf_tables() 312 if (__put_user(0, argv)) in create_elf_tables()
|
D | binfmt_elf_fdpic.c | 500 elf_caddr_t __user *argv, *envp; in create_elf_fdpic_tables() local 669 argv = (elf_caddr_t __user *) csp; in create_elf_fdpic_tables() 687 __put_user((elf_caddr_t) p, argv++); in create_elf_fdpic_tables() 693 __put_user(NULL, argv); in create_elf_fdpic_tables()
|
/fs/ocfs2/ |
D | stackglue.c | 429 char *argv[5], *envp[3]; in ocfs2_leave_group() local 431 argv[0] = ocfs2_hb_ctl_path; in ocfs2_leave_group() 432 argv[1] = "-K"; in ocfs2_leave_group() 433 argv[2] = "-u"; in ocfs2_leave_group() 434 argv[3] = (char *)group; in ocfs2_leave_group() 435 argv[4] = NULL; in ocfs2_leave_group() 442 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in ocfs2_leave_group() 447 ret, argv[0], argv[1], argv[2], argv[3]); in ocfs2_leave_group()
|
/fs/nfs/objlayout/ |
D | objlayout.c | 602 char *argv[8]; in __objlayout_upcall() local 614 argv[0] = (char *)osd_login_prog; in __objlayout_upcall() 615 argv[1] = "-u"; in __objlayout_upcall() 616 argv[2] = login->uri; in __objlayout_upcall() 617 argv[3] = "-o"; in __objlayout_upcall() 618 argv[4] = login->osdname; in __objlayout_upcall() 619 argv[5] = "-s"; in __objlayout_upcall() 620 argv[6] = login->systemid_hex; in __objlayout_upcall() 621 argv[7] = NULL; in __objlayout_upcall() 623 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in __objlayout_upcall()
|
/fs/nfs/ |
D | cache_lib.c | 41 char *argv[] = { in nfs_cache_upcall() local 51 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); in nfs_cache_upcall()
|
/fs/nfsd/ |
D | nfs4layouts.c | 589 char *argv[8]; in nfsd4_cb_layout_fail() local 600 argv[0] = "/sbin/nfsd-recall-failed"; in nfsd4_cb_layout_fail() 601 argv[1] = addr_str; in nfsd4_cb_layout_fail() 602 argv[2] = ls->ls_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail() 603 argv[3] = NULL; in nfsd4_cb_layout_fail() 605 error = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_cb_layout_fail()
|
D | nfs4recover.c | 1190 char *argv[4]; in nfsd4_umh_cltrack_upcall() local 1207 argv[0] = (char *)cltrack_prog; in nfsd4_umh_cltrack_upcall() 1208 argv[1] = cmd; in nfsd4_umh_cltrack_upcall() 1209 argv[2] = arg; in nfsd4_umh_cltrack_upcall() 1210 argv[3] = NULL; in nfsd4_umh_cltrack_upcall() 1212 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in nfsd4_umh_cltrack_upcall()
|