Searched refs:di_args (Results 1 – 1 of 1) sorted by relevance
2909 struct btrfs_ioctl_dev_info_args *di_args; in btrfs_ioctl_dev_info() local2913 di_args = memdup_user(arg, sizeof(*di_args)); in btrfs_ioctl_dev_info()2914 if (IS_ERR(di_args)) in btrfs_ioctl_dev_info()2915 return PTR_ERR(di_args); in btrfs_ioctl_dev_info()2917 args.devid = di_args->devid; in btrfs_ioctl_dev_info()2918 if (!btrfs_is_empty_uuid(di_args->uuid)) in btrfs_ioctl_dev_info()2919 args.uuid = di_args->uuid; in btrfs_ioctl_dev_info()2928 di_args->devid = dev->devid; in btrfs_ioctl_dev_info()2929 di_args->bytes_used = btrfs_device_get_bytes_used(dev); in btrfs_ioctl_dev_info()2930 di_args->total_bytes = btrfs_device_get_total_bytes(dev); in btrfs_ioctl_dev_info()[all …]