Searched refs:fi_args (Results 1 – 1 of 1) sorted by relevance
3362 struct btrfs_ioctl_fs_info_args *fi_args; in btrfs_ioctl_fs_info() local3368 fi_args = memdup_user(arg, sizeof(*fi_args)); in btrfs_ioctl_fs_info()3369 if (IS_ERR(fi_args)) in btrfs_ioctl_fs_info()3370 return PTR_ERR(fi_args); in btrfs_ioctl_fs_info()3372 flags_in = fi_args->flags; in btrfs_ioctl_fs_info()3373 memset(fi_args, 0, sizeof(*fi_args)); in btrfs_ioctl_fs_info()3376 fi_args->num_devices = fs_devices->num_devices; in btrfs_ioctl_fs_info()3379 if (device->devid > fi_args->max_id) in btrfs_ioctl_fs_info()3380 fi_args->max_id = device->devid; in btrfs_ioctl_fs_info()3384 memcpy(&fi_args->fsid, fs_devices->fsid, sizeof(fi_args->fsid)); in btrfs_ioctl_fs_info()[all …]