Searched refs:fi_args (Results 1 – 1 of 1) sorted by relevance
2854 struct btrfs_ioctl_fs_info_args *fi_args; in btrfs_ioctl_fs_info() local2860 fi_args = memdup_user(arg, sizeof(*fi_args)); in btrfs_ioctl_fs_info()2861 if (IS_ERR(fi_args)) in btrfs_ioctl_fs_info()2862 return PTR_ERR(fi_args); in btrfs_ioctl_fs_info()2864 flags_in = fi_args->flags; in btrfs_ioctl_fs_info()2865 memset(fi_args, 0, sizeof(*fi_args)); in btrfs_ioctl_fs_info()2868 fi_args->num_devices = fs_devices->num_devices; in btrfs_ioctl_fs_info()2871 if (device->devid > fi_args->max_id) in btrfs_ioctl_fs_info()2872 fi_args->max_id = device->devid; in btrfs_ioctl_fs_info()2876 memcpy(&fi_args->fsid, fs_devices->fsid, sizeof(fi_args->fsid)); in btrfs_ioctl_fs_info()[all …]