Lines Matching refs:i_pos
141 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
170 MSDOS_I(inode)->i_pos, in __fat_get_block()
384 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
386 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
399 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
405 + fat_hash(i_pos); in fat_attach()
408 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
432 MSDOS_I(inode)->i_pos = 0; in fat_detach()
444 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument
447 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget()
454 if (i->i_pos != i_pos) in fat_iget()
516 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
592 struct msdos_dir_entry *de, loff_t i_pos) in fat_build_inode() argument
598 inode = fat_iget(sb, i_pos); in fat_build_inode()
614 fat_attach(inode, i_pos); in fat_build_inode()
758 ei->i_pos = 0; in fat_alloc_inode()
858 loff_t i_pos; in __fat_write_inode() local
866 i_pos = fat_i_pos_read(sbi, inode); in __fat_write_inode()
867 if (!i_pos) in __fat_write_inode()
870 fat_get_blknr_offset(sbi, i_pos, &blocknr, &offset); in __fat_write_inode()
874 "for updating (i_pos %lld)", i_pos); in __fat_write_inode()
878 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
1320 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()