Lines Matching defs:c

44 				      struct bch_fs *c,  in dirent_inode_mismatch_msg()
55 static int dirent_points_to_inode(struct bch_fs *c, in dirent_points_to_inode()
184 struct bch_fs *c = trans->c; in __remove_dirent() local
243 struct bch_fs *c = trans->c; in lookup_lostfound() local
416 struct bch_fs *c = trans->c; in reattach_inode() local
545 struct bch_fs *c = trans->c; in remove_backpointer() local
558 struct bch_fs *c = trans->c; in reattach_subvol() local
580 struct bch_fs *c = trans->c; in reconstruct_subvol() local
659 struct bch_fs *c = trans->c; in reconstruct_inode() local
711 static int snapshots_seen_add_inorder(struct bch_fs *c, struct snapshots_seen *s, u32 id) in snapshots_seen_add_inorder()
728 static int snapshots_seen_update(struct bch_fs *c, struct snapshots_seen *s, in snapshots_seen_update()
749 static bool key_visible_in_snapshot(struct bch_fs *c, struct snapshots_seen *seen, in key_visible_in_snapshot()
798 static bool ref_visible(struct bch_fs *c, struct snapshots_seen *s, in ref_visible()
806 static int ref_visible2(struct bch_fs *c, in ref_visible2()
850 static int add_inode(struct bch_fs *c, struct inode_walker *w, in add_inode()
865 struct bch_fs *c = trans->c; in get_inodes_all_snapshots() local
898 lookup_inode_for_snapshot(struct bch_fs *c, struct inode_walker *w, struct bkey_s_c k) in lookup_inode_for_snapshot()
961 struct bch_fs *c = trans->c; in get_visible_inodes() local
1056 struct bch_fs *c = trans->c; in check_inode_dirent_inode() local
1127 struct bch_fs *c = trans->c; in check_inode() local
1324 int bch2_check_inodes(struct bch_fs *c) in bch2_check_inodes()
1346 struct bch_fs *c = trans->c; in find_oldest_inode_needs_reattach() local
1426 int bch2_check_unreachable_inodes(struct bch_fs *c) in bch2_check_unreachable_inodes()
1458 struct bch_fs *c = trans->c; in check_key_has_inode() local
1505 struct bch_fs *c = trans->c; in check_i_sectors_notnested() local
1576 static int extent_ends_at(struct bch_fs *c, in extent_ends_at()
1614 struct bch_fs *c = trans->c; in overlapping_extents_found() local
1730 struct bch_fs *c = trans->c; in check_overlapping_extents() local
1767 struct bch_fs *c = trans->c; in check_extent_overbig() local
1793 struct bch_fs *c = trans->c; in check_extent() local
1896 int bch2_check_extents(struct bch_fs *c) in bch2_check_extents()
1925 int bch2_check_indirect_extents(struct bch_fs *c) in bch2_check_indirect_extents()
1946 struct bch_fs *c = trans->c; in check_subdir_count_notnested() local
1994 struct bch_fs *c = trans->c; in check_dirent_inode_dirent() local
2108 struct bch_fs *c = trans->c; in check_dirent_target() local
2180 struct bch_fs *c = trans->c; in check_dirent_to_subvol() local
2312 struct bch_fs *c = trans->c; in check_dirent() local
2438 int bch2_check_dirents(struct bch_fs *c) in bch2_check_dirents()
2466 struct bch_fs *c = trans->c; in check_xattr() local
2500 int bch2_check_xattrs(struct bch_fs *c) in bch2_check_xattrs()
2522 struct bch_fs *c = trans->c; in check_root_trans() local
2578 int bch2_check_root(struct bch_fs *c) in bch2_check_root()
2598 struct bch_fs *c = trans->c; in check_subvol_path() local
2654 int bch2_check_subvolume_structure(struct bch_fs *c) in bch2_check_subvolume_structure()
2725 struct bch_fs *c = trans->c; in check_path_loop() local
2835 int bch2_check_directory_structure(struct bch_fs *c) in bch2_check_directory_structure()
2867 static int add_nlink(struct bch_fs *c, struct nlink_table *t, in add_nlink()
2905 static void inc_link(struct bch_fs *c, struct snapshots_seen *s, in inc_link()
2933 static int check_nlinks_find_hardlinks(struct bch_fs *c, in check_nlinks_find_hardlinks()
2980 static int check_nlinks_walk_dirents(struct bch_fs *c, struct nlink_table *links, in check_nlinks_walk_dirents()
3057 static int check_nlinks_update_hardlinks(struct bch_fs *c, in check_nlinks_update_hardlinks()
3077 int bch2_check_nlinks(struct bch_fs *c) in bch2_check_nlinks()
3137 int bch2_fix_reflink_p(struct bch_fs *c) in bch2_fix_reflink_p()
3157 struct bch_fs *c; member
3170 struct bch_fs *c = thr->c; in bch2_fsck_offline_thread_fn() local
3282 struct bch_fs *c = thr->c; in bch2_fsck_online_thread_fn() local
3319 long bch2_ioctl_fsck_online(struct bch_fs *c, struct bch_ioctl_fsck_online arg) in bch2_ioctl_fsck_online()