Lines Matching refs:i_qgroups
2273 u64 *i_qgroups; in btrfs_qgroup_inherit() local
2312 i_qgroups = (u64 *)(inherit + 1); in btrfs_qgroup_inherit()
2316 srcgroup = find_qgroup_rb(fs_info, *i_qgroups); in btrfs_qgroup_inherit()
2324 *i_qgroups = 0ULL; in btrfs_qgroup_inherit()
2326 ++i_qgroups; in btrfs_qgroup_inherit()
2341 i_qgroups = (u64 *)(inherit + 1); in btrfs_qgroup_inherit()
2342 for (i = 0; i < inherit->num_qgroups; ++i, ++i_qgroups) { in btrfs_qgroup_inherit()
2343 if (*i_qgroups == 0) in btrfs_qgroup_inherit()
2346 *i_qgroups); in btrfs_qgroup_inherit()
2349 ret = add_qgroup_relation_item(trans, *i_qgroups, in btrfs_qgroup_inherit()
2408 i_qgroups = (u64 *)(inherit + 1); in btrfs_qgroup_inherit()
2410 if (*i_qgroups) { in btrfs_qgroup_inherit()
2411 ret = add_relation_rb(fs_info, objectid, *i_qgroups); in btrfs_qgroup_inherit()
2415 ++i_qgroups; in btrfs_qgroup_inherit()
2425 for (i = 0; i < inherit->num_ref_copies; ++i, i_qgroups += 2) { in btrfs_qgroup_inherit()
2429 if (!i_qgroups[0] || !i_qgroups[1]) in btrfs_qgroup_inherit()
2432 src = find_qgroup_rb(fs_info, i_qgroups[0]); in btrfs_qgroup_inherit()
2433 dst = find_qgroup_rb(fs_info, i_qgroups[1]); in btrfs_qgroup_inherit()
2446 for (i = 0; i < inherit->num_excl_copies; ++i, i_qgroups += 2) { in btrfs_qgroup_inherit()
2450 if (!i_qgroups[0] || !i_qgroups[1]) in btrfs_qgroup_inherit()
2453 src = find_qgroup_rb(fs_info, i_qgroups[0]); in btrfs_qgroup_inherit()
2454 dst = find_qgroup_rb(fs_info, i_qgroups[1]); in btrfs_qgroup_inherit()