Searched refs:fi_args (Results 1 – 1 of 1) sorted by relevance
3675 struct btrfs_ioctl_fs_info_args *fi_args; in btrfs_ioctl_fs_info() local3681 fi_args = memdup_user(arg, sizeof(*fi_args)); in btrfs_ioctl_fs_info()3682 if (IS_ERR(fi_args)) in btrfs_ioctl_fs_info()3683 return PTR_ERR(fi_args); in btrfs_ioctl_fs_info()3685 flags_in = fi_args->flags; in btrfs_ioctl_fs_info()3686 memset(fi_args, 0, sizeof(*fi_args)); in btrfs_ioctl_fs_info()3689 fi_args->num_devices = fs_devices->num_devices; in btrfs_ioctl_fs_info()3692 if (device->devid > fi_args->max_id) in btrfs_ioctl_fs_info()3693 fi_args->max_id = device->devid; in btrfs_ioctl_fs_info()3697 memcpy(&fi_args->fsid, fs_devices->fsid, sizeof(fi_args->fsid)); in btrfs_ioctl_fs_info()[all …]