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

Lines Matching defs:iloc

4780 				struct ext4_iloc *iloc, int in_mem)
4788 iloc->bh = NULL;
4792 iloc->block_group = (inode->i_ino - 1) / EXT4_INODES_PER_GROUP(sb);
4793 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL);
4804 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb);
4914 iloc->bh = bh;
4918 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc)
4921 return __ext4_get_inode_loc(inode, iloc,
4992 struct ext4_iloc iloc;
5007 iloc.bh = 0;
5009 ret = __ext4_get_inode_loc(inode, &iloc, 0);
5012 raw_inode = ext4_raw_inode(&iloc);
5054 ei->i_block_group = iloc.block_group;
5174 brelse(iloc.bh);
5180 brelse(iloc.bh);
5229 * The caller must have write access to iloc->bh.
5233 struct ext4_iloc *iloc)
5235 struct ext4_inode *raw_inode = ext4_raw_inode(iloc);
5237 struct buffer_head *bh = iloc->bh;
5401 struct ext4_iloc iloc;
5403 err = __ext4_get_inode_loc(inode, &iloc, 0);
5407 sync_dirty_buffer(iloc.bh);
5408 if (buffer_req(iloc.bh) && !buffer_uptodate(iloc.bh)) {
5409 EXT4_ERROR_INODE_BLOCK(inode, iloc.bh->b_blocknr,
5413 brelse(iloc.bh);
5708 * Give this, we know that the caller already has write access to iloc->bh.
5711 struct inode *inode, struct ext4_iloc *iloc)
5719 get_bh(iloc->bh);
5722 err = ext4_do_update_inode(handle, inode, iloc);
5723 put_bh(iloc->bh);
5729 * iloc->bh. This _must_ be cleaned up later.
5734 struct ext4_iloc *iloc)
5738 err = ext4_get_inode_loc(inode, iloc);
5740 BUFFER_TRACE(iloc->bh, "get_write_access");
5741 err = ext4_journal_get_write_access(handle, iloc->bh);
5743 brelse(iloc->bh);
5744 iloc->bh = NULL;
5757 struct ext4_iloc iloc,
5766 raw_inode = ext4_raw_inode(&iloc);
5807 struct ext4_iloc iloc;
5813 err = ext4_reserve_inode_write(handle, inode, &iloc);
5828 iloc, handle);
5845 err = ext4_mark_iloc_dirty(handle, inode, &iloc);