Lines Matching refs:i_pos
141 fat_fs_error(sb, "corrupted file size (i_pos %lld, %lld)",
142 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private);
170 "invalid FAT chain (i_pos %lld, last_block %llu)",
171 MSDOS_I(inode)->i_pos,
389 static inline unsigned long fat_hash(loff_t i_pos)
391 return hash_32(i_pos, FAT_HASH_BITS);
404 void fat_attach(struct inode *inode, loff_t i_pos)
410 + fat_hash(i_pos);
413 MSDOS_I(inode)->i_pos = i_pos;
437 MSDOS_I(inode)->i_pos = 0;
449 struct inode *fat_iget(struct super_block *sb, loff_t i_pos)
452 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos);
459 if (i->i_pos != i_pos)
520 MSDOS_I(inode)->i_pos = 0;
591 struct msdos_dir_entry *de, loff_t i_pos)
597 inode = fat_iget(sb, i_pos);
613 fat_attach(inode, i_pos);
757 ei->i_pos = 0;
852 loff_t i_pos;
860 i_pos = fat_i_pos_read(sbi, inode);
861 if (!i_pos)
864 fat_get_blknr_offset(sbi, i_pos, &blocknr, &offset);
868 "for updating (i_pos %lld)", i_pos);
872 if (i_pos != MSDOS_I(inode)->i_pos) {
1387 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO;