Home
last modified time | relevance | path

Searched refs:di_args (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dioctl.c3212 struct btrfs_ioctl_dev_info_args *di_args; in btrfs_ioctl_dev_info() local
3217 di_args = memdup_user(arg, sizeof(*di_args)); in btrfs_ioctl_dev_info()
3218 if (IS_ERR(di_args)) in btrfs_ioctl_dev_info()
3219 return PTR_ERR(di_args); in btrfs_ioctl_dev_info()
3221 if (!btrfs_is_empty_uuid(di_args->uuid)) in btrfs_ioctl_dev_info()
3222 s_uuid = di_args->uuid; in btrfs_ioctl_dev_info()
3225 dev = btrfs_find_device(fs_info->fs_devices, di_args->devid, s_uuid, in btrfs_ioctl_dev_info()
3233 di_args->devid = dev->devid; in btrfs_ioctl_dev_info()
3234 di_args->bytes_used = btrfs_device_get_bytes_used(dev); in btrfs_ioctl_dev_info()
3235 di_args->total_bytes = btrfs_device_get_total_bytes(dev); in btrfs_ioctl_dev_info()
[all …]