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,
140 void ubifs_assert_failed(struct ubifs_info *c, const char *expr,
145 ubifs_assert_failed((struct ubifs_info *)c, #expr, __FILE__, \
205 static inline int dbg_is_chk_gen(const struct ubifs_info *c) in dbg_is_chk_gen()
209 static inline int dbg_is_chk_index(const struct ubifs_info *c) in dbg_is_chk_index()
213 static inline int dbg_is_chk_orph(const struct ubifs_info *c) in dbg_is_chk_orph()
217 static inline int dbg_is_chk_lprops(const struct ubifs_info *c) in dbg_is_chk_lprops()
221 static inline int dbg_is_chk_fs(const struct ubifs_info *c) in dbg_is_chk_fs()
225 static inline int dbg_is_tst_rcvry(const struct ubifs_info *c) in dbg_is_tst_rcvry()
229 static inline int dbg_is_power_cut(const struct ubifs_info *c) in dbg_is_power_cut()
234 int ubifs_debugging_init(struct ubifs_info *c);
235 void ubifs_debugging_exit(struct ubifs_info *c);
241 const char *dbg_get_key_dump(const struct ubifs_info *c,
243 const char *dbg_snprintf_key(const struct ubifs_info *c,
245 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode);
246 void ubifs_dump_node(const struct ubifs_info *c, const void *node,
250 void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi);
251 void ubifs_dump_lprop(const struct ubifs_info *c,
253 void ubifs_dump_lprops(struct ubifs_info *c);
254 void ubifs_dump_lpt_info(struct ubifs_info *c);
255 void ubifs_dump_leb(const struct ubifs_info *c, int lnum);
256 void ubifs_dump_znode(const struct ubifs_info *c,
258 void ubifs_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap,
260 void ubifs_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode,
262 void ubifs_dump_tnc(struct ubifs_info *c);
263 void ubifs_dump_index(struct ubifs_info *c);
264 void ubifs_dump_lpt_lebs(const struct ubifs_info *c);
266 int dbg_walk_index(struct ubifs_info *c, dbg_leaf_callback leaf_cb,
270 void dbg_save_space_info(struct ubifs_info *c);
271 int dbg_check_space_info(struct ubifs_info *c);
272 int dbg_check_lprops(struct ubifs_info *c);
273 int dbg_old_index_check_init(struct ubifs_info *c, struct ubifs_zbranch *zroot);
274 int dbg_check_old_index(struct ubifs_info *c, struct ubifs_zbranch *zroot);
275 int dbg_check_cats(struct ubifs_info *c);
276 int dbg_check_ltab(struct ubifs_info *c);
277 int dbg_chk_lpt_free_spc(struct ubifs_info *c);
278 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len);
279 int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode);
280 int dbg_check_dir(struct ubifs_info *c, const struct inode *dir);
281 int dbg_check_tnc(struct ubifs_info *c, int extra);
282 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
283 int dbg_check_filesystem(struct ubifs_info *c);
284 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat,
286 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode,
288 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode,
290 int dbg_check_data_nodes_order(struct ubifs_info *c, struct list_head *head);
291 int dbg_check_nondata_nodes_order(struct ubifs_info *c, struct list_head *head);
293 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
295 int dbg_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len);
296 int dbg_leb_unmap(struct ubifs_info *c, int lnum);
297 int dbg_leb_map(struct ubifs_info *c, int lnum);
302 void dbg_debugfs_init_fs(struct ubifs_info *c);
303 void dbg_debugfs_exit_fs(struct ubifs_info *c);