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()
391 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
393 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
406 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
412 + fat_hash(i_pos); in fat_attach()
415 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
439 MSDOS_I(inode)->i_pos = 0; in fat_detach()
451 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument
454 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget()
461 if (i->i_pos != i_pos) in fat_iget()
522 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
594 struct msdos_dir_entry *de, loff_t i_pos) in fat_build_inode() argument
600 inode = fat_iget(sb, i_pos); in fat_build_inode()
616 fat_attach(inode, i_pos); in fat_build_inode()
760 ei->i_pos = 0; in fat_alloc_inode()
857 loff_t i_pos; in __fat_write_inode() local
865 i_pos = fat_i_pos_read(sbi, inode); in __fat_write_inode()
866 if (!i_pos) in __fat_write_inode()
869 fat_get_blknr_offset(sbi, i_pos, &blocknr, &offset); in __fat_write_inode()
873 "for updating (i_pos %lld)", i_pos); in __fat_write_inode()
877 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
1392 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()