Lines Matching defs:i_pos
140 fat_fs_error(sb, "corrupted file size (i_pos %lld, %lld)",
141 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private);
169 "invalid FAT chain (i_pos %lld, last_block %llu)",
170 MSDOS_I(inode)->i_pos,
386 static inline unsigned long fat_hash(loff_t i_pos)
388 return hash_32(i_pos, FAT_HASH_BITS);
401 void fat_attach(struct inode *inode, loff_t i_pos)
407 + fat_hash(i_pos);
410 MSDOS_I(inode)->i_pos = i_pos;
434 MSDOS_I(inode)->i_pos = 0;
446 struct inode *fat_iget(struct super_block *sb, loff_t i_pos)
449 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos);
456 if (i->i_pos != i_pos)
518 MSDOS_I(inode)->i_pos = 0;
594 struct msdos_dir_entry *de, loff_t i_pos)
600 inode = fat_iget(sb, i_pos);
616 fat_attach(inode, i_pos);
760 ei->i_pos = 0;
860 loff_t i_pos;
868 i_pos = fat_i_pos_read(sbi, inode);
869 if (!i_pos)
872 fat_get_blknr_offset(sbi, i_pos, &blocknr, &offset);
876 "for updating (i_pos %lld)", i_pos);
880 if (i_pos != MSDOS_I(inode)->i_pos) {
1322 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO;