Lines Matching defs: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,
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)
517 MSDOS_I(inode)->i_pos = 0;
589 struct msdos_dir_entry *de, loff_t i_pos)
595 inode = fat_iget(sb, i_pos);
611 fat_attach(inode, i_pos);
755 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;