Searched refs:rootrefs (Results 1 – 1 of 1) sorted by relevance
2283 struct btrfs_ioctl_get_subvol_rootref_args *rootrefs; in btrfs_ioctl_get_subvol_rootref() local2297 rootrefs = memdup_user(argp, sizeof(*rootrefs)); in btrfs_ioctl_get_subvol_rootref()2298 if (IS_ERR(rootrefs)) { in btrfs_ioctl_get_subvol_rootref()2300 return PTR_ERR(rootrefs); in btrfs_ioctl_get_subvol_rootref()2306 key.offset = rootrefs->min_treeid; in btrfs_ioctl_get_subvol_rootref()2339 rootrefs->rootref[found].treeid = key.offset; in btrfs_ioctl_get_subvol_rootref()2340 rootrefs->rootref[found].dirid = in btrfs_ioctl_get_subvol_rootref()2357 rootrefs->num_items = found; in btrfs_ioctl_get_subvol_rootref()2360 rootrefs->min_treeid = in btrfs_ioctl_get_subvol_rootref()2361 rootrefs->rootref[found - 1].treeid + 1; in btrfs_ioctl_get_subvol_rootref()[all …]