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.h45
1 files changed, 25 insertions, 20 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
index a6b70f8aac9c..9820d6999f7e 100644
--- a/fs/ubifs/debug.h
+++ b/fs/ubifs/debug.h
@@ -270,6 +270,8 @@ const char *dbg_get_key_dump(const struct ubifs_info *c,
270 const union ubifs_key *key); 270 const union ubifs_key *key);
271void dbg_dump_inode(const struct ubifs_info *c, const struct inode *inode); 271void dbg_dump_inode(const struct ubifs_info *c, const struct inode *inode);
272void dbg_dump_node(const struct ubifs_info *c, const void *node); 272void dbg_dump_node(const struct ubifs_info *c, const void *node);
273void dbg_dump_lpt_node(const struct ubifs_info *c, void *node, int lnum,
274 int offs);
273void dbg_dump_budget_req(const struct ubifs_budget_req *req); 275void dbg_dump_budget_req(const struct ubifs_budget_req *req);
274void dbg_dump_lstats(const struct ubifs_lp_stats *lst); 276void dbg_dump_lstats(const struct ubifs_lp_stats *lst);
275void dbg_dump_budg(struct ubifs_info *c); 277void dbg_dump_budg(struct ubifs_info *c);
@@ -284,6 +286,7 @@ void dbg_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode,
284 struct ubifs_nnode *parent, int iip); 286 struct ubifs_nnode *parent, int iip);
285void dbg_dump_tnc(struct ubifs_info *c); 287void dbg_dump_tnc(struct ubifs_info *c);
286void dbg_dump_index(struct ubifs_info *c); 288void dbg_dump_index(struct ubifs_info *c);
289void dbg_dump_lpt_lebs(const struct ubifs_info *c);
287 290
288/* Checking helper functions */ 291/* Checking helper functions */
289typedef int (*dbg_leaf_callback)(struct ubifs_info *c, 292typedef int (*dbg_leaf_callback)(struct ubifs_info *c,
@@ -411,26 +414,28 @@ void dbg_debugfs_exit_fs(struct ubifs_info *c);
411#define DBGKEY(key) ((char *)(key)) 414#define DBGKEY(key) ((char *)(key))
412#define DBGKEY1(key) ((char *)(key)) 415#define DBGKEY1(key) ((char *)(key))
413 416
414#define ubifs_debugging_init(c) 0 417#define ubifs_debugging_init(c) 0
415#define ubifs_debugging_exit(c) ({}) 418#define ubifs_debugging_exit(c) ({})
416 419
417#define dbg_ntype(type) "" 420#define dbg_ntype(type) ""
418#define dbg_cstate(cmt_state) "" 421#define dbg_cstate(cmt_state) ""
419#define dbg_get_key_dump(c, key) ({}) 422#define dbg_get_key_dump(c, key) ({})
420#define dbg_dump_inode(c, inode) ({}) 423#define dbg_dump_inode(c, inode) ({})
421#define dbg_dump_node(c, node) ({}) 424#define dbg_dump_node(c, node) ({})
422#define dbg_dump_budget_req(req) ({}) 425#define dbg_dump_lpt_node(c, node, lnum, offs) ({})
423#define dbg_dump_lstats(lst) ({}) 426#define dbg_dump_budget_req(req) ({})
424#define dbg_dump_budg(c) ({}) 427#define dbg_dump_lstats(lst) ({})
425#define dbg_dump_lprop(c, lp) ({}) 428#define dbg_dump_budg(c) ({})
426#define dbg_dump_lprops(c) ({}) 429#define dbg_dump_lprop(c, lp) ({})
427#define dbg_dump_lpt_info(c) ({}) 430#define dbg_dump_lprops(c) ({})
428#define dbg_dump_leb(c, lnum) ({}) 431#define dbg_dump_lpt_info(c) ({})
429#define dbg_dump_znode(c, znode) ({}) 432#define dbg_dump_leb(c, lnum) ({})
430#define dbg_dump_heap(c, heap, cat) ({}) 433#define dbg_dump_znode(c, znode) ({})
431#define dbg_dump_pnode(c, pnode, parent, iip) ({}) 434#define dbg_dump_heap(c, heap, cat) ({})
432#define dbg_dump_tnc(c) ({}) 435#define dbg_dump_pnode(c, pnode, parent, iip) ({})
433#define dbg_dump_index(c) ({}) 436#define dbg_dump_tnc(c) ({})
437#define dbg_dump_index(c) ({})
438#define dbg_dump_lpt_lebs(c) ({})
434 439
435#define dbg_walk_index(c, leaf_cb, znode_cb, priv) 0 440#define dbg_walk_index(c, leaf_cb, znode_cb, priv) 0
436#define dbg_old_index_check_init(c, zroot) 0 441#define dbg_old_index_check_init(c, zroot) 0