Lines Matching refs:iloc

4637 				struct ext4_iloc *iloc, int in_mem)  in __ext4_get_inode_loc()  argument
4645 iloc->bh = NULL; in __ext4_get_inode_loc()
4650 iloc->block_group = (inode->i_ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
4651 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc()
4661 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc()
4667 "block_group %u", block, iloc->block_group); in __ext4_get_inode_loc()
4778 iloc->bh = bh; in __ext4_get_inode_loc()
4782 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument
4785 return __ext4_get_inode_loc(inode, iloc, in ext4_get_inode_loc()
4903 struct ext4_iloc iloc; in __ext4_iget() local
4934 iloc.bh = NULL; in __ext4_iget()
4936 ret = __ext4_get_inode_loc(inode, &iloc, 0); in __ext4_iget()
4939 raw_inode = ext4_raw_inode(&iloc); in __ext4_iget()
5061 ei->i_block_group = iloc.block_group; in __ext4_iget()
5193 brelse(iloc.bh); in __ext4_iget()
5199 brelse(iloc.bh); in __ext4_iget()
5316 struct ext4_iloc *iloc) in ext4_do_update_inode() argument
5318 struct ext4_inode *raw_inode = ext4_raw_inode(iloc); in ext4_do_update_inode()
5320 struct buffer_head *bh = iloc->bh; in ext4_do_update_inode()
5517 struct ext4_iloc iloc; in ext4_write_inode() local
5519 err = __ext4_get_inode_loc(inode, &iloc, 0); in ext4_write_inode()
5527 sync_dirty_buffer(iloc.bh); in ext4_write_inode()
5528 if (buffer_req(iloc.bh) && !buffer_uptodate(iloc.bh)) { in ext4_write_inode()
5529 EXT4_ERROR_INODE_BLOCK(inode, iloc.bh->b_blocknr, in ext4_write_inode()
5533 brelse(iloc.bh); in ext4_write_inode()
5957 struct inode *inode, struct ext4_iloc *iloc) in ext4_mark_iloc_dirty() argument
5962 put_bh(iloc->bh); in ext4_mark_iloc_dirty()
5969 get_bh(iloc->bh); in ext4_mark_iloc_dirty()
5972 err = ext4_do_update_inode(handle, inode, iloc); in ext4_mark_iloc_dirty()
5973 put_bh(iloc->bh); in ext4_mark_iloc_dirty()
5984 struct ext4_iloc *iloc) in ext4_reserve_inode_write() argument
5991 err = ext4_get_inode_loc(inode, iloc); in ext4_reserve_inode_write()
5993 BUFFER_TRACE(iloc->bh, "get_write_access"); in ext4_reserve_inode_write()
5994 err = ext4_journal_get_write_access(handle, iloc->bh); in ext4_reserve_inode_write()
5996 brelse(iloc->bh); in ext4_reserve_inode_write()
5997 iloc->bh = NULL; in ext4_reserve_inode_write()
6006 struct ext4_iloc *iloc, in __ext4_expand_extra_isize() argument
6028 raw_inode = ext4_raw_inode(iloc); in __ext4_expand_extra_isize()
6069 struct ext4_iloc iloc, in ext4_try_to_expand_extra_isize() argument
6095 error = __ext4_expand_extra_isize(inode, new_extra_isize, &iloc, in ext4_try_to_expand_extra_isize()
6104 struct ext4_iloc *iloc) in ext4_expand_extra_isize() argument
6111 brelse(iloc->bh); in ext4_expand_extra_isize()
6119 brelse(iloc->bh); in ext4_expand_extra_isize()
6125 BUFFER_TRACE(iloc->bh, "get_write_access"); in ext4_expand_extra_isize()
6126 error = ext4_journal_get_write_access(handle, iloc->bh); in ext4_expand_extra_isize()
6128 brelse(iloc->bh); in ext4_expand_extra_isize()
6132 error = __ext4_expand_extra_isize(inode, new_extra_isize, iloc, in ext4_expand_extra_isize()
6135 rc = ext4_mark_iloc_dirty(handle, inode, iloc); in ext4_expand_extra_isize()
6160 struct ext4_iloc iloc; in ext4_mark_inode_dirty() local
6166 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_mark_inode_dirty()
6172 iloc, handle); in ext4_mark_inode_dirty()
6174 return ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_mark_inode_dirty()
6222 struct ext4_iloc iloc;
6226 err = ext4_get_inode_loc(inode, &iloc);
6228 BUFFER_TRACE(iloc.bh, "get_write_access");
6229 err = jbd2_journal_get_write_access(handle, iloc.bh);
6233 iloc.bh);
6234 brelse(iloc.bh);