Lines Matching refs:i_pos
135 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
164 MSDOS_I(inode)->i_pos, in __fat_get_block()
383 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
385 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
398 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
404 + fat_hash(i_pos); in fat_attach()
407 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
431 MSDOS_I(inode)->i_pos = 0; in fat_detach()
443 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument
446 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget()
453 if (i->i_pos != i_pos) in fat_iget()
514 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
585 struct msdos_dir_entry *de, loff_t i_pos) in fat_build_inode() argument
591 inode = fat_iget(sb, i_pos); in fat_build_inode()
607 fat_attach(inode, i_pos); in fat_build_inode()
751 ei->i_pos = 0; in fat_alloc_inode()
853 loff_t i_pos; in __fat_write_inode() local
861 i_pos = fat_i_pos_read(sbi, inode); in __fat_write_inode()
862 if (!i_pos) in __fat_write_inode()
865 fat_get_blknr_offset(sbi, i_pos, &blocknr, &offset); in __fat_write_inode()
869 "for updating (i_pos %lld)", i_pos); in __fat_write_inode()
873 if (i_pos != MSDOS_I(inode)->i_pos) { in __fat_write_inode()
1388 MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; in fat_read_root()