Lines Matching defs:trans

73 static s64 bch2_count_inode_sectors(struct btree_trans *trans, u64 inum,  in bch2_count_inode_sectors()
90 static s64 bch2_count_subdirs(struct btree_trans *trans, u64 inum, in bch2_count_subdirs()
108 static int subvol_lookup(struct btree_trans *trans, u32 subvol, in subvol_lookup()
119 static int lookup_first_inode(struct btree_trans *trans, u64 inode_nr, in lookup_first_inode()
142 static int lookup_inode(struct btree_trans *trans, u64 inode_nr, u32 snapshot, in lookup_inode()
163 static int lookup_dirent_in_snapshot(struct btree_trans *trans, in lookup_dirent_in_snapshot()
182 static int __remove_dirent(struct btree_trans *trans, struct bpos pos) in __remove_dirent()
212 static int find_snapshot_tree_subvol(struct btree_trans *trans, in find_snapshot_tree_subvol()
239 static int lookup_lostfound(struct btree_trans *trans, u32 snapshot, in lookup_lostfound()
383 static int maybe_delete_dirent(struct btree_trans *trans, struct bpos d_pos, u32 snapshot) in maybe_delete_dirent()
414 static int reattach_inode(struct btree_trans *trans, struct bch_inode_unpacked *inode) in reattach_inode()
532 static struct bkey_s_c_dirent dirent_get_by_pos(struct btree_trans *trans, in dirent_get_by_pos()
539 static int remove_backpointer(struct btree_trans *trans, in remove_backpointer()
556 static int reattach_subvol(struct btree_trans *trans, struct bkey_s_c_subvolume s) in reattach_subvol()
578 static int reconstruct_subvol(struct btree_trans *trans, u32 snapshotid, u32 subvolid, u64 inum) in reconstruct_subvol()
657 static int reconstruct_inode(struct btree_trans *trans, enum btree_id btree, u32 snapshot, u64 inum) in reconstruct_inode()
862 static int get_inodes_all_snapshots(struct btree_trans *trans, in get_inodes_all_snapshots()
941 static struct inode_walker_entry *walk_inode(struct btree_trans *trans, in walk_inode()
956 static int get_visible_inodes(struct btree_trans *trans, in get_visible_inodes()
996 int bch2_fsck_update_backpointers(struct btree_trans *trans, in bch2_fsck_update_backpointers()
1028 static struct bkey_s_c_dirent inode_get_dirent(struct btree_trans *trans, in inode_get_dirent()
1043 static int check_inode_deleted_list(struct btree_trans *trans, struct bpos p) in check_inode_deleted_list()
1052 static int check_inode_dirent_inode(struct btree_trans *trans, in check_inode_dirent_inode()
1095 static int get_snapshot_root_inode(struct btree_trans *trans, in get_snapshot_root_inode()
1121 static int check_inode(struct btree_trans *trans, in check_inode()
1343 static int find_oldest_inode_needs_reattach(struct btree_trans *trans, in find_oldest_inode_needs_reattach()
1384 static int check_unreachable_inode(struct btree_trans *trans, in check_unreachable_inode()
1452 static int check_key_has_inode(struct btree_trans *trans, in check_key_has_inode()
1503 static int check_i_sectors_notnested(struct btree_trans *trans, struct inode_walker *w) in check_i_sectors_notnested()
1540 static int check_i_sectors(struct btree_trans *trans, struct inode_walker *w) in check_i_sectors()
1607 static int overlapping_extents_found(struct btree_trans *trans, in overlapping_extents_found()
1723 static int check_overlapping_extents(struct btree_trans *trans, in check_overlapping_extents()
1764 static int check_extent_overbig(struct btree_trans *trans, struct btree_iter *iter, in check_extent_overbig()
1786 static int check_extent(struct btree_trans *trans, struct btree_iter *iter, in check_extent()
1944 static int check_subdir_count_notnested(struct btree_trans *trans, struct inode_walker *w) in check_subdir_count_notnested()
1981 static int check_subdir_dirents_count(struct btree_trans *trans, struct inode_walker *w) in check_subdir_dirents_count()
1989 static int check_dirent_inode_dirent(struct btree_trans *trans, in check_dirent_inode_dirent()
2103 static int check_dirent_target(struct btree_trans *trans, in check_dirent_target()
2152 static int find_snapshot_subvol(struct btree_trans *trans, u32 snapshot, u32 *subvolid) in find_snapshot_subvol()
2177 static int check_dirent_to_subvol(struct btree_trans *trans, struct btree_iter *iter, in check_dirent_to_subvol()
2305 static int check_dirent(struct btree_trans *trans, struct btree_iter *iter, in check_dirent()
2461 static int check_xattr(struct btree_trans *trans, struct btree_iter *iter, in check_xattr()
2520 static int check_root_trans(struct btree_trans *trans) in check_root_trans()
2596 static int check_subvol_path(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c k) in check_subvol_path()
2672 static int bch2_bi_depth_renumber_one(struct btree_trans *trans, struct pathbuf_entry *p, in bch2_bi_depth_renumber_one()
2696 static int bch2_bi_depth_renumber(struct btree_trans *trans, pathbuf *path, u32 new_bi_depth) in bch2_bi_depth_renumber()
2723 static int check_path_loop(struct btree_trans *trans, struct bkey_s_c inode_k) in check_path_loop()
3013 static int check_nlinks_update_inode(struct btree_trans *trans, struct btree_iter *iter, in check_nlinks_update_inode()
3111 static int fix_reflink_p_key(struct btree_trans *trans, struct btree_iter *iter, in fix_reflink_p_key()