Lines Matching defs:trans

71 static s64 bch2_count_inode_sectors(struct btree_trans *trans, u64 inum,  in bch2_count_inode_sectors()
88 static s64 bch2_count_subdirs(struct btree_trans *trans, u64 inum, in bch2_count_subdirs()
106 static int subvol_lookup(struct btree_trans *trans, u32 subvol, in subvol_lookup()
117 static int lookup_first_inode(struct btree_trans *trans, u64 inode_nr, in lookup_first_inode()
140 static int lookup_inode(struct btree_trans *trans, u64 inode_nr, u32 snapshot, in lookup_inode()
161 static int lookup_dirent_in_snapshot(struct btree_trans *trans, in lookup_dirent_in_snapshot()
180 static int __remove_dirent(struct btree_trans *trans, struct bpos pos) in __remove_dirent()
207 static int lookup_lostfound(struct btree_trans *trans, u32 snapshot, in lookup_lostfound()
338 static int maybe_delete_dirent(struct btree_trans *trans, struct bpos d_pos, u32 snapshot) in maybe_delete_dirent()
369 static int reattach_inode(struct btree_trans *trans, struct bch_inode_unpacked *inode) in reattach_inode()
485 static int remove_backpointer(struct btree_trans *trans, in remove_backpointer()
504 static int reattach_subvol(struct btree_trans *trans, struct bkey_s_c_subvolume s) in reattach_subvol()
526 static int reconstruct_subvol(struct btree_trans *trans, u32 snapshotid, u32 subvolid, u64 inum) in reconstruct_subvol()
605 static int reconstruct_inode(struct btree_trans *trans, enum btree_id btree, u32 snapshot, u64 inum) in reconstruct_inode()
808 static int get_inodes_all_snapshots(struct btree_trans *trans, in get_inodes_all_snapshots()
886 static struct inode_walker_entry *walk_inode(struct btree_trans *trans, in walk_inode()
901 static int get_visible_inodes(struct btree_trans *trans, in get_visible_inodes()
932 static int dirent_has_target(struct btree_trans *trans, struct bkey_s_c_dirent d) in dirent_has_target()
960 static int hash_pick_winner(struct btree_trans *trans, in hash_pick_winner()
990 static int fsck_update_backpointers(struct btree_trans *trans, in fsck_update_backpointers()
1022 static int fsck_rename_dirent(struct btree_trans *trans, in fsck_rename_dirent()
1062 static int hash_check_key(struct btree_trans *trans, in hash_check_key()
1169 static struct bkey_s_c_dirent dirent_get_by_pos(struct btree_trans *trans, in dirent_get_by_pos()
1176 static struct bkey_s_c_dirent inode_get_dirent(struct btree_trans *trans, in inode_get_dirent()
1191 static int check_inode_deleted_list(struct btree_trans *trans, struct bpos p) in check_inode_deleted_list()
1200 static int check_inode_dirent_inode(struct btree_trans *trans, in check_inode_dirent_inode()
1243 static int get_snapshot_root_inode(struct btree_trans *trans, in get_snapshot_root_inode()
1269 static int check_inode(struct btree_trans *trans, in check_inode()
1478 static int find_oldest_inode_needs_reattach(struct btree_trans *trans, in find_oldest_inode_needs_reattach()
1517 static int check_unreachable_inode(struct btree_trans *trans, in check_unreachable_inode()
1583 static int check_key_has_inode(struct btree_trans *trans, in check_key_has_inode()
1634 static int check_i_sectors_notnested(struct btree_trans *trans, struct inode_walker *w) in check_i_sectors_notnested()
1671 static int check_i_sectors(struct btree_trans *trans, struct inode_walker *w) in check_i_sectors()
1738 static int overlapping_extents_found(struct btree_trans *trans, in overlapping_extents_found()
1854 static int check_overlapping_extents(struct btree_trans *trans, in check_overlapping_extents()
1895 static int check_extent_overbig(struct btree_trans *trans, struct btree_iter *iter, in check_extent_overbig()
1917 static int check_extent(struct btree_trans *trans, struct btree_iter *iter, in check_extent()
2075 static int check_subdir_count_notnested(struct btree_trans *trans, struct inode_walker *w) in check_subdir_count_notnested()
2112 static int check_subdir_count(struct btree_trans *trans, struct inode_walker *w) in check_subdir_count()
2120 static int check_dirent_inode_dirent(struct btree_trans *trans, in check_dirent_inode_dirent()
2234 static int check_dirent_target(struct btree_trans *trans, in check_dirent_target()
2283 static int find_snapshot_subvol(struct btree_trans *trans, u32 snapshot, u32 *subvolid) in find_snapshot_subvol()
2308 static int check_dirent_to_subvol(struct btree_trans *trans, struct btree_iter *iter, in check_dirent_to_subvol()
2436 static int check_dirent(struct btree_trans *trans, struct btree_iter *iter, in check_dirent()
2566 static int check_xattr(struct btree_trans *trans, struct btree_iter *iter, in check_xattr()
2625 static int check_root_trans(struct btree_trans *trans) in check_root_trans()
2701 static int check_subvol_path(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c k) in check_subvol_path()
2786 static int check_path(struct btree_trans *trans, pathbuf *p, struct bkey_s_c inode_k) in check_path()
3060 static int check_nlinks_update_inode(struct btree_trans *trans, struct btree_iter *iter, in check_nlinks_update_inode()
3156 static int fix_reflink_p_key(struct btree_trans *trans, struct btree_iter *iter, in fix_reflink_p_key()