Home
last modified time | relevance | path

Searched refs:bi_inum (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dfsck.c36 : le64_to_cpu(d.v->d_inum) == inode->bi_inum) in dirent_points_to_inode_nowarn()
300 lostfound->bi_dir = root_inode.bi_inum; in lookup_lostfound()
315 0, root_inode.bi_inum, snapshot, &root_hash_info, in lookup_lostfound()
318 lostfound->bi_inum, in lookup_lostfound()
331 if (inode->bi_inum == BCACHEFS_ROOT_INO && in inode_should_reattach()
388 snprintf(name_buf, sizeof(name_buf), "%llu", inode->bi_inum); in reattach_inode()
391 ret = lookup_lostfound(trans, dirent_snapshot, &lostfound, inode->bi_inum); in reattach_inode()
410 inode->bi_dir = lostfound.bi_inum; in reattach_inode()
413 inode->bi_parent_subvol, lostfound.bi_inum, in reattach_inode()
418 inode->bi_subvol ?: inode->bi_inum, in reattach_inode()
[all …]
Dfs-common.c104 new_inum.inum = new_inode->bi_inum; in bch2_create_trans()
105 dir_target = new_inode->bi_inum; in bch2_create_trans()
110 ret = bch2_subvolume_create(trans, new_inode->bi_inum, in bch2_create_trans()
171 new_inode->bi_dir = dir_u->bi_inum; in bch2_create_trans()
468 src_inode_u->bi_dir = dst_dir_u->bi_inum; in bch2_rename_trans()
472 dst_inode_u->bi_dir = src_dir_u->bi_inum; in bch2_rename_trans()
477 dst_inode_u->bi_dir == dst_dir_u->bi_inum && in bch2_rename_trans()
Dinode.c88 packed->inode.k.p.offset = inode->bi_inum; in bch2_inode_pack_inlined()
136 BUG_ON(unpacked.bi_inum != inode->bi_inum); in bch2_inode_pack_inlined()
241 unpacked->bi_inum = inode.k->p.offset; in bch2_inode_unpack_v3()
292 unpacked->bi_inum = inode.k->p.offset; in bch2_inode_unpack_slowpath()
310 unpacked->bi_inum = inode.k->p.offset; in bch2_inode_unpack_slowpath()
557 prt_printf(out, "inum: %llu:%u ", inode->bi_inum, inode->bi_snapshot); in bch2_inode_unpacked_to_text()
938 inode_u->bi_inum = k.k->p.offset; in bch2_inode_create()
1115 bi->bi_inum); in bch2_inode_nlink_dec()
1120 bch2_trans_inconsistent(trans, "inode %llu link count underflow", bi->bi_inum); in bch2_inode_nlink_dec()
1210 …ch_warn(c, "deleting inode %llu marked as unlinked, but also a subvolume root!?", inode_u.bi_inum); in __bch2_inode_rm_snapshot()
Dfs.c59 BUG_ON(bi->bi_inum != inode->v.i_ino); in bch2_inode_update_after_write()
61 bch2_assert_pos_locked(trans, BTREE_ID_inodes, POS(0, bi->bi_inum)); in bch2_inode_update_after_write()
536 inum.inum = inode_u.bi_inum; in __bch2_create()
935 BUG_ON(src_inode->v.i_ino != src_inode_u.bi_inum); in bch2_rename2()
937 dst_inode->v.i_ino != dst_inode_u.bi_inum); in bch2_rename2()
1637 POS(dir->ei_inode.bi_inum, 0), 0); in bch2_get_name()
1639 POS(dir->ei_inode.bi_inum, 0), 0); in bch2_get_name()
1654 if (inode_u.bi_dir == dir->ei_inode.bi_inum) { in bch2_get_name()
1682 if (k.k->p.inode > dir->ei_inode.bi_inum) in bch2_get_name()
1735 inode->ei_inode.bi_inum = inum.inum; in bch2_vfs_inode_init()
[all …]
Dinode.h81 u64 bi_inum; member
Dxattr.c309 u64 offset = 0, inum = inode->ei_inode.bi_inum; in bch2_xattr_list()
573 bch2_set_rebalance_needs_scan(c, inode->ei_inode.bi_inum); in bch2_xattr_bcachefs_set()
Dsubvolume.c102 inode.bi_inum, inode.bi_snapshot, in check_subvol()
Drecovery.c1097 root_inode.bi_inum = BCACHEFS_ROOT_INO; in bch2_fs_initialize()