Lines Matching defs:fs_info
70 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add()
78 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release()
96 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup()
106 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup()
172 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb()
191 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb()
225 static void __del_qgroup_rb(struct btrfs_fs_info *fs_info, in __del_qgroup_rb()
249 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb()
262 static int add_relation_rb(struct btrfs_fs_info *fs_info, in add_relation_rb()
287 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb()
311 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, in btrfs_verify_qgroup_counts()
329 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info) in btrfs_read_qgroup_config()
525 bool btrfs_check_quota_leak(struct btrfs_fs_info *fs_info) in btrfs_check_quota_leak()
562 void btrfs_free_qgroup_config(struct btrfs_fs_info *fs_info) in btrfs_free_qgroup_config()
798 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_info_item() local
843 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_status_item() local
928 int btrfs_quota_enable(struct btrfs_fs_info *fs_info) in btrfs_quota_enable()
1163 int btrfs_quota_disable(struct btrfs_fs_info *fs_info) in btrfs_quota_disable()
1236 static void qgroup_dirty(struct btrfs_fs_info *fs_info, in qgroup_dirty()
1257 static int __qgroup_excl_accounting(struct btrfs_fs_info *fs_info, in __qgroup_excl_accounting()
1334 static int quick_update_accounting(struct btrfs_fs_info *fs_info, in quick_update_accounting()
1363 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_add_qgroup_relation() local
1429 struct btrfs_fs_info *fs_info = trans->fs_info; in __del_qgroup_relation() local
1494 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_del_qgroup_relation() local
1506 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_qgroup() local
1543 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_qgroup() local
1598 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_limit_qgroup() local
1672 int btrfs_qgroup_trace_extent_nolock(struct btrfs_fs_info *fs_info, in btrfs_qgroup_trace_extent_nolock()
1759 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_extent() local
1789 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_leaf_items() local
1943 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_trace_extent_swap() local
2068 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_trace_new_subtree_blocks() local
2170 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_trace_subtree_swap() local
2222 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_subtree() local
2326 static int qgroup_update_refcnt(struct btrfs_fs_info *fs_info, in qgroup_update_refcnt()
2415 static int qgroup_update_counters(struct btrfs_fs_info *fs_info, in qgroup_update_counters()
2537 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_account_extent() local
2627 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_account_extents() local
2703 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_qgroups() local
2752 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_inherit() local
2979 struct btrfs_fs_info *fs_info = root->fs_info; in qgroup_reserve() local
3059 void btrfs_qgroup_free_refroot(struct btrfs_fs_info *fs_info, in btrfs_qgroup_free_refroot()
3143 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_rescan_leaf() local
3224 static bool rescan_should_stop(struct btrfs_fs_info *fs_info) in rescan_should_stop()
3232 struct btrfs_fs_info *fs_info = container_of(work, struct btrfs_fs_info, in btrfs_qgroup_rescan_worker() local
3328 qgroup_rescan_init(struct btrfs_fs_info *fs_info, u64 progress_objectid, in qgroup_rescan_init()
3384 qgroup_rescan_zero_tracking(struct btrfs_fs_info *fs_info) in qgroup_rescan_zero_tracking()
3403 btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info) in btrfs_qgroup_rescan()
3445 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info, in btrfs_qgroup_wait_for_completion()
3472 btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info) in btrfs_qgroup_rescan_resume()
3854 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_reserve_meta() local
3895 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_free_meta_all_pertrans() local
3911 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_qgroup_free_meta() local
3929 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta()
3976 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_convert_reserved_meta() local
4078 struct btrfs_fs_info *fs_info = subvol_root->fs_info; in btrfs_qgroup_add_swapped_blocks() local
4185 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_trace_subtree_after_cow() local