Home
last modified time | relevance | path

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

/fs/btrfs/
Dioctl.c3417 struct btrfs_ioctl_dev_info_args *di_args; in btrfs_ioctl_dev_info() local
3421 di_args = memdup_user(arg, sizeof(*di_args)); in btrfs_ioctl_dev_info()
3422 if (IS_ERR(di_args)) in btrfs_ioctl_dev_info()
3423 return PTR_ERR(di_args); in btrfs_ioctl_dev_info()
3425 args.devid = di_args->devid; in btrfs_ioctl_dev_info()
3426 if (!btrfs_is_empty_uuid(di_args->uuid)) in btrfs_ioctl_dev_info()
3427 args.uuid = di_args->uuid; in btrfs_ioctl_dev_info()
3436 di_args->devid = dev->devid; in btrfs_ioctl_dev_info()
3437 di_args->bytes_used = btrfs_device_get_bytes_used(dev); in btrfs_ioctl_dev_info()
3438 di_args->total_bytes = btrfs_device_get_total_bytes(dev); in btrfs_ioctl_dev_info()
[all …]