rootrefs 2748 fs/btrfs/ioctl.c struct btrfs_ioctl_get_subvol_rootref_args *rootrefs; rootrefs 2764 fs/btrfs/ioctl.c rootrefs = memdup_user(argp, sizeof(*rootrefs)); rootrefs 2765 fs/btrfs/ioctl.c if (IS_ERR(rootrefs)) { rootrefs 2767 fs/btrfs/ioctl.c return PTR_ERR(rootrefs); rootrefs 2776 fs/btrfs/ioctl.c key.offset = rootrefs->min_treeid; rootrefs 2808 fs/btrfs/ioctl.c rootrefs->rootref[found].treeid = key.offset; rootrefs 2809 fs/btrfs/ioctl.c rootrefs->rootref[found].dirid = rootrefs 2824 fs/btrfs/ioctl.c rootrefs->num_items = found; rootrefs 2827 fs/btrfs/ioctl.c rootrefs->min_treeid = rootrefs 2828 fs/btrfs/ioctl.c rootrefs->rootref[found - 1].treeid + 1; rootrefs 2829 fs/btrfs/ioctl.c if (copy_to_user(argp, rootrefs, sizeof(*rootrefs))) rootrefs 2833 fs/btrfs/ioctl.c kfree(rootrefs);