• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/fat/

Lines Matching defs:i_pos

77 		fat_fs_error(sb, "corrupted file size (i_pos %lld, %lld)",
78 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private);
270 static inline unsigned long fat_hash(loff_t i_pos)
272 return hash_32(i_pos, FAT_HASH_BITS);
275 void fat_attach(struct inode *inode, loff_t i_pos)
278 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos);
281 MSDOS_I(inode)->i_pos = i_pos;
291 MSDOS_I(inode)->i_pos = 0;
297 struct inode *fat_iget(struct super_block *sb, loff_t i_pos)
300 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos);
308 if (i->i_pos != i_pos)
351 MSDOS_I(inode)->i_pos = 0;
411 struct msdos_dir_entry *de, loff_t i_pos)
416 inode = fat_iget(sb, i_pos);
432 fat_attach(inode, i_pos);
580 loff_t i_pos;
584 i_pos = MSDOS_I(inode)->i_pos;
588 return i_pos;
597 loff_t i_pos;
604 i_pos = fat_i_pos_read(sbi, inode);
605 if (!i_pos)
608 bh = sb_bread(sb, i_pos >> sbi->dir_per_block_bits);
611 "for updating (i_pos %lld)\n", i_pos);
615 if (i_pos != MSDOS_I(inode)->i_pos) {
622 [i_pos & (sbi->dir_per_block - 1)];
680 * 2/ i_pos(8-39) - if ino has changed, but still in cache
681 * 3/ i_pos(4-7)|i_logstart - to semi-verify inode found at i_pos
682 * 4/ i_pos(0-3)|parent->i_logstart - maybe used to hunt for the file on disc
685 * i_pos is 40bits (blocknr(32) + dir offset(8)), so two 4bits
706 loff_t i_pos;
709 i_pos = (loff_t)fh[2] << 8;
710 i_pos |= ((fh[3] >> 24) & 0xf0) | (fh[4] >> 28);
712 /* try 2 - see if i_pos is in F-d-c
717 inode = fat_iget(sb, i_pos);
754 ipos_h = MSDOS_I(inode)->i_pos >> 8;
755 ipos_m = (MSDOS_I(inode)->i_pos & 0xf0) << 24;
756 ipos_l = (MSDOS_I(inode)->i_pos & 0x0f) << 28;
773 loff_t i_pos;
780 err = fat_get_dotdot_entry(child->d_inode, &bh, &de, &i_pos);
785 inode = fat_build_inode(sb, de, i_pos);
1200 MSDOS_I(inode)->i_pos = 0;
1484 MSDOS_I(fat_inode)->i_pos = 0;