Lines Matching refs:F2FS_I
185 if (F2FS_I(dir)->i_flags & F2FS_NOCOMP_FL) { in set_compress_new_inode()
186 F2FS_I(inode)->i_flags |= F2FS_NOCOMP_FL; in set_compress_new_inode()
188 } else if (F2FS_I(dir)->i_flags & F2FS_COMPR_FL) { in set_compress_new_inode()
247 F2FS_I(inode)->i_crtime = inode->i_mtime; in f2fs_new_inode()
251 F2FS_I(inode)->i_current_depth = 1; in f2fs_new_inode()
260 (F2FS_I(dir)->i_flags & F2FS_PROJINHERIT_FL)) in f2fs_new_inode()
261 F2FS_I(inode)->i_projid = F2FS_I(dir)->i_projid; in f2fs_new_inode()
263 F2FS_I(inode)->i_projid = make_kprojid(&init_user_ns, in f2fs_new_inode()
281 F2FS_I(inode)->i_extra_isize = F2FS_TOTAL_EXTRA_ATTR_SIZE; in f2fs_new_inode()
299 F2FS_I(inode)->i_inline_xattr_size = xattr_size; in f2fs_new_inode()
301 F2FS_I(inode)->i_flags = in f2fs_new_inode()
302 f2fs_mask_flags(mode, F2FS_I(dir)->i_flags & F2FS_FL_INHERITED); in f2fs_new_inode()
305 F2FS_I(inode)->i_flags |= F2FS_INDEX_FL; in f2fs_new_inode()
307 if (F2FS_I(inode)->i_flags & F2FS_PROJINHERIT_FL) in f2fs_new_inode()
413 (!projid_eq(F2FS_I(dir)->i_projid, in f2fs_link()
414 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_link()
974 (!projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_rename()
975 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename()
1056 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()
1060 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()
1081 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()
1087 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()
1163 !projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_cross_rename()
1164 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename()
1166 !projid_eq(F2FS_I(old_dir)->i_projid, in f2fs_cross_rename()
1167 F2FS_I(new_dentry->d_inode)->i_projid))) in f2fs_cross_rename()
1246 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()
1252 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()
1256 f2fs_down_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()
1258 f2fs_up_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()
1265 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()
1271 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()
1275 f2fs_down_write(&F2FS_I(new_dir)->i_sem); in f2fs_cross_rename()
1277 f2fs_up_write(&F2FS_I(new_dir)->i_sem); in f2fs_cross_rename()