Lines Matching refs:i_pos
142 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
171 MSDOS_I(inode)->i_pos, in __fat_get_block()
389 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
391 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
404 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
410 + fat_hash(i_pos); in fat_attach()
413 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
437 MSDOS_I(inode)->i_pos = 0; in fat_detach()
449 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument
452 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget()
459 if (i->i_pos != i_pos) in fat_iget()
520 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
591 struct msdos_dir_entry *de, loff_t i_pos) in fat_build_inode() argument
597 inode = fat_iget(sb, i_pos); in fat_build_inode()
613 fat_attach(inode, i_pos); in fat_build_inode()
757 ei->i_pos = 0; in fat_alloc_inode()
852 loff_t i_pos; in __fat_write_inode() local
860 i_pos = fat_i_pos_read(sbi, inode); in __fat_write_inode()
861 if (!i_pos) in __fat_write_inode()
864 fat_get_blknr_offset(sbi, i_pos, &blocknr, &offset); in __fat_write_inode()
868 "for updating (i_pos %lld)", i_pos); in __fat_write_inode()
872 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
1387 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()