• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fat/

Lines Matching defs:i_pos

75 		fat_fs_panic(sb, "corrupted file size (i_pos %lld, %lld)",
76 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private);
233 static inline unsigned long fat_hash(struct super_block *sb, loff_t i_pos)
235 unsigned long tmp = (unsigned long)i_pos | (unsigned long) sb;
240 void fat_attach(struct inode *inode, loff_t i_pos)
246 MSDOS_I(inode)->i_pos = i_pos;
248 sbi->inode_hashtable + fat_hash(sb, i_pos));
258 MSDOS_I(inode)->i_pos = 0;
265 struct inode *fat_iget(struct super_block *sb, loff_t i_pos)
268 struct hlist_head *head = sbi->inode_hashtable + fat_hash(sb, i_pos);
276 if (i->i_pos != i_pos)
319 MSDOS_I(inode)->i_pos = 0;
388 struct msdos_dir_entry *de, loff_t i_pos)
393 inode = fat_iget(sb, i_pos);
409 fat_attach(inode, i_pos);
551 loff_t i_pos;
555 i_pos = MSDOS_I(inode)->i_pos;
556 if (inode->i_ino == MSDOS_ROOT_INO || !i_pos)
560 bh = sb_bread(sb, i_pos >> sbi->dir_per_block_bits);
563 "for updating (i_pos %lld)\n", i_pos);
568 if (i_pos != MSDOS_I(inode)->i_pos) {
576 [i_pos & (sbi->dir_per_block - 1)];
631 * 2/ i_pos(8-39) - if ino has changed, but still in cache
632 * 3/ i_pos(4-7)|i_logstart - to semi-verify inode found at i_pos
633 * 4/ i_pos(0-3)|parent->i_logstart - maybe used to hunt for the file on disc
636 * i_pos is 40bits (blocknr(32) + dir offset(8)), so two 4bits
666 loff_t i_pos;
669 i_pos = (loff_t)fh[2] << 8;
670 i_pos |= ((fh[3] >> 24) & 0xf0) | (fh[4] >> 28);
672 /* try 2 - see if i_pos is in F-d-c
677 inode = fat_iget(sb, i_pos);
723 ipos_h = MSDOS_I(inode)->i_pos >> 8;
724 ipos_m = (MSDOS_I(inode)->i_pos & 0xf0) << 24;
725 ipos_l = (MSDOS_I(inode)->i_pos & 0x0f) << 28;
741 loff_t i_pos;
748 err = fat_get_dotdot_entry(child->d_inode, &bh, &de, &i_pos);
753 inode = fat_build_inode(child->d_sb, de, i_pos);
1115 MSDOS_I(inode)->i_pos = 0;