aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r--fs/ubifs/debug.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
index e6493cac193d..6b5fe7ba0296 100644
--- a/fs/ubifs/debug.h
+++ b/fs/ubifs/debug.h
@@ -50,7 +50,9 @@ typedef int (*dbg_znode_callback)(struct ubifs_info *c,
50 * @new_ihead_offs: used by debugging to check @c->ihead_offs 50 * @new_ihead_offs: used by debugging to check @c->ihead_offs
51 * 51 *
52 * @saved_lst: saved lprops statistics (used by 'dbg_save_space_info()') 52 * @saved_lst: saved lprops statistics (used by 'dbg_save_space_info()')
53 * @saved_free: saved free space (used by 'dbg_save_space_info()') 53 * @saved_bi: saved budgeting information
54 * @saved_free: saved amount of free space
55 * @saved_idx_gc_cnt: saved value of @c->idx_gc_cnt
54 * 56 *
55 * dfs_dir_name: name of debugfs directory containing this file-system's files 57 * dfs_dir_name: name of debugfs directory containing this file-system's files
56 * dfs_dir: direntry object of the file-system debugfs directory 58 * dfs_dir: direntry object of the file-system debugfs directory
@@ -76,7 +78,9 @@ struct ubifs_debug_info {
76 int new_ihead_offs; 78 int new_ihead_offs;
77 79
78 struct ubifs_lp_stats saved_lst; 80 struct ubifs_lp_stats saved_lst;
81 struct ubifs_budg_info saved_bi;
79 long long saved_free; 82 long long saved_free;
83 int saved_idx_gc_cnt;
80 84
81 char dfs_dir_name[100]; 85 char dfs_dir_name[100];
82 struct dentry *dfs_dir; 86 struct dentry *dfs_dir;
@@ -262,7 +266,7 @@ void dbg_dump_lpt_node(const struct ubifs_info *c, void *node, int lnum,
262 int offs); 266 int offs);
263void dbg_dump_budget_req(const struct ubifs_budget_req *req); 267void dbg_dump_budget_req(const struct ubifs_budget_req *req);
264void dbg_dump_lstats(const struct ubifs_lp_stats *lst); 268void dbg_dump_lstats(const struct ubifs_lp_stats *lst);
265void dbg_dump_budg(struct ubifs_info *c); 269void dbg_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi);
266void dbg_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp); 270void dbg_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp);
267void dbg_dump_lprops(struct ubifs_info *c); 271void dbg_dump_lprops(struct ubifs_info *c);
268void dbg_dump_lpt_info(struct ubifs_info *c); 272void dbg_dump_lpt_info(struct ubifs_info *c);
@@ -420,7 +424,9 @@ static inline void
420dbg_dump_budget_req(const struct ubifs_budget_req *req) { return; } 424dbg_dump_budget_req(const struct ubifs_budget_req *req) { return; }
421static inline void 425static inline void
422dbg_dump_lstats(const struct ubifs_lp_stats *lst) { return; } 426dbg_dump_lstats(const struct ubifs_lp_stats *lst) { return; }
423static inline void dbg_dump_budg(struct ubifs_info *c) { return; } 427static inline void
428dbg_dump_budg(struct ubifs_info *c,
429 const struct ubifs_budg_info *bi) { return; }
424static inline void dbg_dump_lprop(const struct ubifs_info *c, 430static inline void dbg_dump_lprop(const struct ubifs_info *c,
425 const struct ubifs_lprops *lp) { return; } 431 const struct ubifs_lprops *lp) { return; }
426static inline void dbg_dump_lprops(struct ubifs_info *c) { return; } 432static inline void dbg_dump_lprops(struct ubifs_info *c) { return; }