Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/
Dioctl.c3520 struct btrfs_ioctl_space_args space_args; in btrfs_ioctl_space_info() local
3538 if (copy_from_user(&space_args, in btrfs_ioctl_space_info()
3540 sizeof(space_args))) in btrfs_ioctl_space_info()
3571 if (space_args.space_slots == 0) { in btrfs_ioctl_space_info()
3572 space_args.total_spaces = slot_count; in btrfs_ioctl_space_info()
3576 slot_count = min_t(u64, space_args.space_slots, slot_count); in btrfs_ioctl_space_info()
3586 space_args.total_spaces = 0; in btrfs_ioctl_space_info()
3616 space_args.total_spaces++; in btrfs_ioctl_space_info()
3637 space_args.total_spaces++; in btrfs_ioctl_space_info()
3648 if (ret == 0 && copy_to_user(arg, &space_args, sizeof(space_args))) in btrfs_ioctl_space_info()