Lines Matching refs:bi_dir
27 return inode->bi_dir == d.k->p.inode && in inode_points_to_dirent()
300 lostfound->bi_dir = root_inode.bi_inum; in lookup_lostfound()
335 return !inode->bi_dir && !(inode->bi_flags & BCH_INODE_unlinked); in inode_should_reattach()
410 inode->bi_dir = lostfound.bi_inum; in reattach_inode()
469 child_inode.bi_dir = inode->bi_dir; in reattach_inode()
488 if (!inode->bi_dir) in remove_backpointer()
495 SPOS(inode->bi_dir, inode->bi_dir_offset, inode->bi_snapshot), 0, in remove_backpointer()
1188 return dirent_get_by_pos(trans, iter, SPOS(inode->bi_dir, inode->bi_dir_offset, *snapshot)); in inode_get_dirent()
1230 inode->bi_dir = 0; in check_inode_dirent_inode()
1311 if (u.bi_dir || u.bi_dir_offset) { in check_inode()
1317 if (fsck_err_on(u.bi_dir && (u.bi_flags & BCH_INODE_unlinked), in check_inode()
2133 if (!target->bi_dir && in check_dirent_inode_dirent()
2154 target->bi_dir = d.k->p.inode; in check_dirent_inode_dirent()
2169 SPOS(target->bi_dir, target->bi_dir_offset, target->bi_snapshot)); in check_dirent_inode_dirent()
2183 target->bi_dir, in check_dirent_inode_dirent()
2187 target->bi_dir = d.k->p.inode; in check_dirent_inode_dirent()
2836 SPOS(0, inode.bi_dir, snapshot), 0); in check_path()