Lines Matching refs:ei

315 	struct exfat_inode_info *ei = EXFAT_I(inode);  in exfat_find_empty_entry()  local
320 if (ei->hint_femp.eidx != EXFAT_HINT_NONE) { in exfat_find_empty_entry()
321 hint_femp = ei->hint_femp; in exfat_find_empty_entry()
322 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_find_empty_entry()
382 &(ei->dir), ei->entry + 1, &bh, &sector); in exfat_find_empty_entry()
391 if (exfat_update_dir_chksum(inode, &(ei->dir), in exfat_find_empty_entry()
392 ei->entry)) in exfat_find_empty_entry()
419 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_resolve_path() local
446 exfat_chain_set(p_dir, ei->start_clu, in __exfat_resolve_path()
447 EXFAT_B_TO_CLU(i_size_read(inode), sbi), ei->flags); in __exfat_resolve_path()
596 struct exfat_inode_info *ei = EXFAT_I(dir); in exfat_find() local
615 if (ei->version != (inode_peek_iversion_raw(dir) & 0xffffffff)) { in exfat_find()
616 ei->hint_stat.clu = cdir.dir; in exfat_find()
617 ei->hint_stat.eidx = 0; in exfat_find()
618 ei->version = (inode_peek_iversion_raw(dir) & 0xffffffff); in exfat_find()
619 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_find()
623 dentry = exfat_find_dir_entry(sb, ei, &cdir, &uni_name, in exfat_find()
673 if (ei->start_clu == EXFAT_FREE_CLUSTER) { in exfat_find()
676 i_size_read(dir), ei->dir.dir, ei->entry); in exfat_find()
780 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_unlink() local
786 exfat_chain_dup(&cdir, &ei->dir); in exfat_unlink()
787 entry = ei->entry; in exfat_unlink()
788 if (ei->dir.dir == DIR_DELETED) { in exfat_unlink()
816 ei->dir.dir = DIR_DELETED; in exfat_unlink()
933 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_rmdir() local
940 exfat_chain_dup(&cdir, &ei->dir); in exfat_rmdir()
941 entry = ei->entry; in exfat_rmdir()
943 if (ei->dir.dir == DIR_DELETED) { in exfat_rmdir()
949 exfat_chain_set(&clu_to_free, ei->start_clu, in exfat_rmdir()
950 EXFAT_B_TO_CLU_ROUND_UP(i_size_read(inode), sbi), ei->flags); in exfat_rmdir()
981 ei->dir.dir = DIR_DELETED; in exfat_rmdir()
1005 struct exfat_inode_info *ei) in exfat_rename_file() argument
1043 ei->attr |= ATTR_ARCHIVE; in exfat_rename_file()
1072 ei->entry = newentry; in exfat_rename_file()
1076 ei->attr |= ATTR_ARCHIVE; in exfat_rename_file()
1093 struct exfat_uni_name *p_uniname, struct exfat_inode_info *ei) in exfat_move_file() argument
1126 ei->attr |= ATTR_ARCHIVE; in exfat_move_file()
1155 exfat_chain_set(&ei->dir, p_newdir->dir, p_newdir->size, in exfat_move_file()
1158 ei->entry = newentry; in exfat_move_file()
1162 static void exfat_update_parent_info(struct exfat_inode_info *ei, in exfat_update_parent_info() argument
1175 if (unlikely(parent_ei->flags != ei->dir.flags || in exfat_update_parent_info()
1176 parent_isize != EXFAT_CLU_TO_B(ei->dir.size, sbi) || in exfat_update_parent_info()
1177 parent_ei->start_clu != ei->dir.dir)) { in exfat_update_parent_info()
1178 exfat_chain_set(&ei->dir, parent_ei->start_clu, in exfat_update_parent_info()
1186 struct exfat_inode_info *ei, struct inode *new_parent_inode, in __exfat_rename() argument
1209 if (ei->dir.dir == DIR_DELETED) { in __exfat_rename()
1214 exfat_update_parent_info(ei, old_parent_inode); in __exfat_rename()
1216 exfat_chain_dup(&olddir, &ei->dir); in __exfat_rename()
1217 dentry = ei->entry; in __exfat_rename()
1273 &uni_name, ei); in __exfat_rename()
1276 &newdir, &uni_name, ei); in __exfat_rename()