Lines Matching defs:fs_info
68 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add()
76 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release()
94 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup()
104 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup()
170 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb()
189 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb()
247 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb()
260 static int add_relation_rb(struct btrfs_fs_info *fs_info, in add_relation_rb()
285 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb()
309 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, in btrfs_verify_qgroup_counts()
327 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info) in btrfs_read_qgroup_config()
514 void btrfs_free_qgroup_config(struct btrfs_fs_info *fs_info) in btrfs_free_qgroup_config()
747 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_info_item() local
792 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_status_item() local
879 int btrfs_quota_enable(struct btrfs_fs_info *fs_info) in btrfs_quota_enable()
1074 int btrfs_quota_disable(struct btrfs_fs_info *fs_info) in btrfs_quota_disable()
1138 static void qgroup_dirty(struct btrfs_fs_info *fs_info, in qgroup_dirty()
1159 static int __qgroup_excl_accounting(struct btrfs_fs_info *fs_info, in __qgroup_excl_accounting()
1236 static int quick_update_accounting(struct btrfs_fs_info *fs_info, in quick_update_accounting()
1265 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_add_qgroup_relation() local
1329 struct btrfs_fs_info *fs_info = trans->fs_info; in __del_qgroup_relation() local
1380 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_del_qgroup_relation() local
1392 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_qgroup() local
1426 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_qgroup() local
1474 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_limit_qgroup() local
1550 int btrfs_qgroup_trace_extent_nolock(struct btrfs_fs_info *fs_info, in btrfs_qgroup_trace_extent_nolock()
1579 int btrfs_qgroup_trace_extent_post(struct btrfs_fs_info *fs_info, in btrfs_qgroup_trace_extent_post()
1609 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_extent() local
1639 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_leaf_items() local
1743 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_subtree() local
1857 static int qgroup_update_refcnt(struct btrfs_fs_info *fs_info, in qgroup_update_refcnt()
1946 static int qgroup_update_counters(struct btrfs_fs_info *fs_info, in qgroup_update_counters()
2068 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_account_extent() local
2158 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_account_extents() local
2225 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_qgroups() local
2275 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_inherit() local
2484 static bool qgroup_check_limits(struct btrfs_fs_info *fs_info, in qgroup_check_limits()
2532 struct btrfs_fs_info *fs_info = root->fs_info; in qgroup_reserve() local
2614 void btrfs_qgroup_free_refroot(struct btrfs_fs_info *fs_info, in btrfs_qgroup_free_refroot()
2701 struct btrfs_fs_info *fs_info = trans->fs_info; in qgroup_rescan_leaf() local
2787 static bool rescan_should_stop(struct btrfs_fs_info *fs_info) in rescan_should_stop()
2795 struct btrfs_fs_info *fs_info = container_of(work, struct btrfs_fs_info, in btrfs_qgroup_rescan_worker() local
2891 qgroup_rescan_init(struct btrfs_fs_info *fs_info, u64 progress_objectid, in qgroup_rescan_init()
2954 qgroup_rescan_zero_tracking(struct btrfs_fs_info *fs_info) in qgroup_rescan_zero_tracking()
2973 btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info) in btrfs_qgroup_rescan()
3015 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info, in btrfs_qgroup_wait_for_completion()
3044 btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info) in btrfs_qgroup_rescan_resume()
3296 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_qgroup_reserve_meta() local
3322 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_free_meta_all_pertrans() local
3338 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_qgroup_free_meta() local
3355 static void qgroup_convert_meta(struct btrfs_fs_info *fs_info, u64 ref_root, in qgroup_convert_meta()
3403 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_convert_reserved_meta() local