Lines Matching refs:old_subvol_id
1300 static int copy_quota_hierarchy(int fd, uint64_t old_subvol_id, uint64_t new_subvol_id) { in copy_quota_hierarchy() argument
1311 n_old_qgroups = btrfs_qgroup_find_parents(fd, old_subvol_id, &old_qgroups); in copy_quota_hierarchy()
1315 r = btrfs_subvol_get_parent(fd, old_subvol_id, &old_parent_id); in copy_quota_hierarchy()
1334 if (id == old_subvol_id) { in copy_quota_hierarchy()
1393 uint64_t old_subvol_id, in subvol_snapshot_children() argument
1430 if (old_subvol_id == 0) { in subvol_snapshot_children()
1431 r = btrfs_subvol_get_id_fd(old_fd, &old_subvol_id); in subvol_snapshot_children()
1441 (void) copy_quota_hierarchy(new_fd, old_subvol_id, new_subvol_id); in subvol_snapshot_children()
1446 (void) copy_subtree_quota_limits(new_fd, old_subvol_id, new_subvol_id); in subvol_snapshot_children()
1451 args.key.min_offset = args.key.max_offset = old_subvol_id; in subvol_snapshot_children()
1476 if (sh->offset != old_subvol_id) in subvol_snapshot_children()
1490 .treeid = old_subvol_id, in subvol_snapshot_children()
1564 (void) copy_subtree_quota_limits(new_fd, old_subvol_id, new_subvol_id); in subvol_snapshot_children()