Lines Matching defs:fs_info

63 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info,  in qgroup_rsv_add()
71 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release()
89 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup()
99 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup()
165 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb()
184 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb()
219 static void __del_qgroup_rb(struct btrfs_fs_info *fs_info, in __del_qgroup_rb()
243 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb()
292 static int add_relation_rb(struct btrfs_fs_info *fs_info, u64 memberid, u64 parentid) in add_relation_rb()
304 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb()
328 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, in btrfs_verify_qgroup_counts()
342 static void qgroup_mark_inconsistent(struct btrfs_fs_info *fs_info) in qgroup_mark_inconsistent()
353 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info) in btrfs_read_qgroup_config()
549 bool btrfs_check_quota_leak(struct btrfs_fs_info *fs_info) in btrfs_check_quota_leak()
586 void btrfs_free_qgroup_config(struct btrfs_fs_info *fs_info) in btrfs_free_qgroup_config()
822 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_info_item() local
867 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_status_item() local
953 int btrfs_quota_enable(struct btrfs_fs_info *fs_info) in btrfs_quota_enable()
1229 int btrfs_quota_disable(struct btrfs_fs_info *fs_info) in btrfs_quota_disable()
1339 static void qgroup_dirty(struct btrfs_fs_info *fs_info, in qgroup_dirty()
1378 static int __qgroup_excl_accounting(struct btrfs_fs_info *fs_info, in __qgroup_excl_accounting()
1455 static int quick_update_accounting(struct btrfs_fs_info *fs_info, in quick_update_accounting()
1484 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_add_qgroup_relation() local
1550 struct btrfs_fs_info *fs_info = trans->fs_info; in __del_qgroup_relation() local
1615 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_del_qgroup_relation() local
1627 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_qgroup() local
1673 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_qgroup() local
1733 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_limit_qgroup() local
1807 int btrfs_qgroup_trace_extent_nolock(struct btrfs_fs_info *fs_info, in btrfs_qgroup_trace_extent_nolock()
1898 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_extent() local
1928 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_leaf_items() local
2081 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_trace_extent_swap() local
2205 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_trace_new_subtree_blocks() local
2307 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_trace_subtree_swap() local
2359 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_subtree() local
2486 static int qgroup_update_refcnt(struct btrfs_fs_info *fs_info, in qgroup_update_refcnt()
2575 static int qgroup_update_counters(struct btrfs_fs_info *fs_info, in qgroup_update_counters()
2697 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_account_extent() local
2786 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_account_extents() local
2881 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_qgroups() local
2936 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_inherit() local
3156 struct btrfs_fs_info *fs_info = root->fs_info; in qgroup_reserve() local
3214 void btrfs_qgroup_free_refroot(struct btrfs_fs_info *fs_info, in btrfs_qgroup_free_refroot()
3298 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_rescan_leaf() local
3385 static bool rescan_should_stop(struct btrfs_fs_info *fs_info) in rescan_should_stop()
3395 struct btrfs_fs_info *fs_info = container_of(work, struct btrfs_fs_info, in btrfs_qgroup_rescan_worker() local
3502 qgroup_rescan_init(struct btrfs_fs_info *fs_info, u64 progress_objectid, in qgroup_rescan_init()
3563 qgroup_rescan_zero_tracking(struct btrfs_fs_info *fs_info) in qgroup_rescan_zero_tracking()
3582 btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info) in btrfs_qgroup_rescan()
3625 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info, in btrfs_qgroup_wait_for_completion()
3652 btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info) in btrfs_qgroup_rescan_resume()
4043 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_reserve_meta() local
4085 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_free_meta_all_pertrans() local
4101 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_qgroup_free_meta() local
4119 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta()
4155 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_convert_reserved_meta() local
4259 struct btrfs_fs_info *fs_info = subvol_root->fs_info; in btrfs_qgroup_add_swapped_blocks() local
4365 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_trace_subtree_after_cow() local