Lines Matching defs:iloc

3666 				struct ext4_iloc *iloc, int in_mem)
3674 iloc->bh = NULL;
3678 iloc->block_group = (inode->i_ino - 1) / EXT4_INODES_PER_GROUP(sb);
3679 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL);
3690 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb);
3798 iloc->bh = bh;
3802 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc)
3805 return __ext4_get_inode_loc(inode, iloc,
3891 struct ext4_iloc iloc;
3908 iloc.bh = NULL;
3910 ret = __ext4_get_inode_loc(inode, &iloc, 0);
3913 raw_inode = ext4_raw_inode(&iloc);
3993 ei->i_block_group = iloc.block_group;
4108 brelse(iloc.bh);
4114 brelse(iloc.bh);
4170 * The caller must have write access to iloc->bh.
4174 struct ext4_iloc *iloc)
4176 struct ext4_inode *raw_inode = ext4_raw_inode(iloc);
4178 struct buffer_head *bh = iloc->bh;
4360 struct ext4_iloc iloc;
4362 err = __ext4_get_inode_loc(inode, &iloc, 0);
4370 sync_dirty_buffer(iloc.bh);
4371 if (buffer_req(iloc.bh) && !buffer_uptodate(iloc.bh)) {
4372 EXT4_ERROR_INODE_BLOCK(inode, iloc.bh->b_blocknr,
4376 brelse(iloc.bh);
4719 * Give this, we know that the caller already has write access to iloc->bh.
4722 struct inode *inode, struct ext4_iloc *iloc)
4730 get_bh(iloc->bh);
4733 err = ext4_do_update_inode(handle, inode, iloc);
4734 put_bh(iloc->bh);
4740 * iloc->bh. This _must_ be cleaned up later.
4745 struct ext4_iloc *iloc)
4749 err = ext4_get_inode_loc(inode, iloc);
4751 BUFFER_TRACE(iloc->bh, "get_write_access");
4752 err = ext4_journal_get_write_access(handle, iloc->bh);
4754 brelse(iloc->bh);
4755 iloc->bh = NULL;
4768 struct ext4_iloc iloc,
4777 raw_inode = ext4_raw_inode(&iloc);
4810 struct ext4_iloc iloc;
4817 err = ext4_reserve_inode_write(handle, inode, &iloc);
4832 iloc, handle);
4849 err = ext4_mark_iloc_dirty(handle, inode, &iloc);
4887 * returns no iloc structure, so the caller needs to repeat the iloc
4892 struct ext4_iloc iloc;
4896 err = ext4_get_inode_loc(inode, &iloc);
4898 BUFFER_TRACE(iloc.bh, "get_write_access");
4899 err = jbd2_journal_get_write_access(handle, iloc.bh);
4903 iloc.bh);
4904 brelse(iloc.bh);