Lines Matching refs:new_inode
22 struct bch_inode_unpacked *new_inode,
51 bch2_inode_init_late(new_inode, now, uid, gid, mode, rdev, dir_u);
54 new_inode->bi_flags |= BCH_INODE_unlinked;
56 ret = bch2_inode_create(trans, &inode_iter, new_inode, snapshot, cpu);
80 ret = bch2_inode_peek(trans, &inode_iter, new_inode, snapshot_src,
85 if (new_inode->bi_subvol != snapshot_src.subvol) {
95 if (uid && new_inode->bi_uid != uid) {
103 new_inum.inum = new_inode->bi_inum;
104 dir_target = new_inode->bi_inum;
109 ret = bch2_subvolume_create(trans, new_inode->bi_inum,
117 new_inode->bi_parent_subvol = dir.subvol;
118 new_inode->bi_subvol = new_subvol;
135 ret = bch2_set_acl_trans(trans, new_inum, new_inode,
142 ret = bch2_set_acl_trans(trans, new_inum, new_inode,
153 if (is_subdir_for_nlink(new_inode))
170 new_inode->bi_dir = dir_u->bi_inum;
171 new_inode->bi_dir_offset = dir_offset;
178 bch2_inode_write(trans, &inode_iter, new_inode);