Lines Matching refs:ubifs_info
43 static int dbg_check_orphans(struct ubifs_info *c);
45 static struct ubifs_orphan *orphan_add(struct ubifs_info *c, ino_t inum,
96 static struct ubifs_orphan *lookup_orphan(struct ubifs_info *c, ino_t inum)
115 static void __orphan_drop(struct ubifs_info *c, struct ubifs_orphan *o)
129 static void orphan_delete(struct ubifs_info *c, struct ubifs_orphan *orph)
155 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum)
207 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum)
238 int ubifs_orphan_start_commit(struct ubifs_info *c)
272 static int avail_orphs(struct ubifs_info *c)
292 static int tot_avail_orphs(struct ubifs_info *c)
312 static int do_write_orph_node(struct ubifs_info *c, int len, int atomic)
343 static int write_orph_node(struct ubifs_info *c, int atomic)
406 static int write_orph_nodes(struct ubifs_info *c, int atomic)
439 static int consolidate(struct ubifs_info *c)
484 static int commit_orphans(struct ubifs_info *c)
510 static void erase_deleted(struct ubifs_info *c)
537 int ubifs_orphan_end_commit(struct ubifs_info *c)
559 int ubifs_clear_orphans(struct ubifs_info *c)
582 static int insert_dead_orphan(struct ubifs_info *c, ino_t inum)
630 static int do_kill_orphans(struct ubifs_info *c, struct ubifs_scan_leb *sleb,
754 static int kill_orphans(struct ubifs_info *c)
816 int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only)
854 static bool dbg_find_orphan(struct ubifs_info *c, ino_t inum)
919 static int dbg_orphan_check(struct ubifs_info *c, struct ubifs_zbranch *zbr,
975 static int dbg_scan_orphans(struct ubifs_info *c, struct check_info *ci)
1009 static int dbg_check_orphans(struct ubifs_info *c)