Lines Matching refs:target_stfs

10610             struct target_statfs *target_stfs;  in _syscall2()  local
10612 if (!lock_user_struct(VERIFY_WRITE, target_stfs, arg2, 0)) in _syscall2()
10614 __put_user(stfs.f_type, &target_stfs->f_type); in _syscall2()
10615 __put_user(stfs.f_bsize, &target_stfs->f_bsize); in _syscall2()
10616 __put_user(stfs.f_blocks, &target_stfs->f_blocks); in _syscall2()
10617 __put_user(stfs.f_bfree, &target_stfs->f_bfree); in _syscall2()
10618 __put_user(stfs.f_bavail, &target_stfs->f_bavail); in _syscall2()
10619 __put_user(stfs.f_files, &target_stfs->f_files); in _syscall2()
10620 __put_user(stfs.f_ffree, &target_stfs->f_ffree); in _syscall2()
10621 __put_user(stfs.f_fsid.__val[0], &target_stfs->f_fsid.val[0]); in _syscall2()
10622 __put_user(stfs.f_fsid.__val[1], &target_stfs->f_fsid.val[1]); in _syscall2()
10623 __put_user(stfs.f_namelen, &target_stfs->f_namelen); in _syscall2()
10624 __put_user(stfs.f_frsize, &target_stfs->f_frsize); in _syscall2()
10626 __put_user(stfs.f_flags, &target_stfs->f_flags); in _syscall2()
10628 __put_user(0, &target_stfs->f_flags); in _syscall2()
10630 memset(target_stfs->f_spare, 0, sizeof(target_stfs->f_spare)); in _syscall2()
10631 unlock_user_struct(target_stfs, arg2, 1); in _syscall2()
10649 struct target_statfs64 *target_stfs; in _syscall2() local
10651 if (!lock_user_struct(VERIFY_WRITE, target_stfs, arg3, 0)) in _syscall2()
10653 __put_user(stfs.f_type, &target_stfs->f_type); in _syscall2()
10654 __put_user(stfs.f_bsize, &target_stfs->f_bsize); in _syscall2()
10655 __put_user(stfs.f_blocks, &target_stfs->f_blocks); in _syscall2()
10656 __put_user(stfs.f_bfree, &target_stfs->f_bfree); in _syscall2()
10657 __put_user(stfs.f_bavail, &target_stfs->f_bavail); in _syscall2()
10658 __put_user(stfs.f_files, &target_stfs->f_files); in _syscall2()
10659 __put_user(stfs.f_ffree, &target_stfs->f_ffree); in _syscall2()
10660 __put_user(stfs.f_fsid.__val[0], &target_stfs->f_fsid.val[0]); in _syscall2()
10661 __put_user(stfs.f_fsid.__val[1], &target_stfs->f_fsid.val[1]); in _syscall2()
10662 __put_user(stfs.f_namelen, &target_stfs->f_namelen); in _syscall2()
10663 __put_user(stfs.f_frsize, &target_stfs->f_frsize); in _syscall2()
10665 __put_user(stfs.f_flags, &target_stfs->f_flags); in _syscall2()
10667 __put_user(0, &target_stfs->f_flags); in _syscall2()
10669 memset(target_stfs->f_spare, 0, sizeof(target_stfs->f_spare)); in _syscall2()
10670 unlock_user_struct(target_stfs, arg3, 1); in _syscall2()