Lines Matching refs:ubifs_info
15 typedef int (*dbg_leaf_callback)(struct ubifs_info *c,
17 typedef int (*dbg_znode_callback)(struct ubifs_info *c,
139 void ubifs_assert_failed(struct ubifs_info *c, const char *expr,
144 ubifs_assert_failed((struct ubifs_info *)c, #expr, __FILE__, \
204 static inline int dbg_is_chk_gen(const struct ubifs_info *c) in dbg_is_chk_gen()
208 static inline int dbg_is_chk_index(const struct ubifs_info *c) in dbg_is_chk_index()
212 static inline int dbg_is_chk_orph(const struct ubifs_info *c) in dbg_is_chk_orph()
216 static inline int dbg_is_chk_lprops(const struct ubifs_info *c) in dbg_is_chk_lprops()
220 static inline int dbg_is_chk_fs(const struct ubifs_info *c) in dbg_is_chk_fs()
224 static inline int dbg_is_tst_rcvry(const struct ubifs_info *c) in dbg_is_tst_rcvry()
228 static inline int dbg_is_power_cut(const struct ubifs_info *c) in dbg_is_power_cut()
233 int ubifs_debugging_init(struct ubifs_info *c);
234 void ubifs_debugging_exit(struct ubifs_info *c);
240 const char *dbg_get_key_dump(const struct ubifs_info *c,
242 const char *dbg_snprintf_key(const struct ubifs_info *c,
244 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode);
245 void ubifs_dump_node(const struct ubifs_info *c, const void *node,
249 void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi);
250 void ubifs_dump_lprop(const struct ubifs_info *c,
252 void ubifs_dump_lprops(struct ubifs_info *c);
253 void ubifs_dump_lpt_info(struct ubifs_info *c);
254 void ubifs_dump_leb(const struct ubifs_info *c, int lnum);
255 void ubifs_dump_znode(const struct ubifs_info *c,
257 void ubifs_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap,
259 void ubifs_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode,
261 void ubifs_dump_tnc(struct ubifs_info *c);
262 void ubifs_dump_index(struct ubifs_info *c);
263 void ubifs_dump_lpt_lebs(const struct ubifs_info *c);
265 int dbg_walk_index(struct ubifs_info *c, dbg_leaf_callback leaf_cb,
269 void dbg_save_space_info(struct ubifs_info *c);
270 int dbg_check_space_info(struct ubifs_info *c);
271 int dbg_check_lprops(struct ubifs_info *c);
272 int dbg_old_index_check_init(struct ubifs_info *c, struct ubifs_zbranch *zroot);
273 int dbg_check_old_index(struct ubifs_info *c, struct ubifs_zbranch *zroot);
274 int dbg_check_cats(struct ubifs_info *c);
275 int dbg_check_ltab(struct ubifs_info *c);
276 int dbg_chk_lpt_free_spc(struct ubifs_info *c);
277 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len);
278 int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode);
279 int dbg_check_dir(struct ubifs_info *c, const struct inode *dir);
280 int dbg_check_tnc(struct ubifs_info *c, int extra);
281 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
282 int dbg_check_filesystem(struct ubifs_info *c);
283 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat,
285 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
287 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode,
289 int dbg_check_data_nodes_order(struct ubifs_info *c, struct list_head *head);
290 int dbg_check_nondata_nodes_order(struct ubifs_info *c, struct list_head *head);
292 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
294 int dbg_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len);
295 int dbg_leb_unmap(struct ubifs_info *c, int lnum);
296 int dbg_leb_map(struct ubifs_info *c, int lnum);
301 void dbg_debugfs_init_fs(struct ubifs_info *c);
302 void dbg_debugfs_exit_fs(struct ubifs_info *c);