Lines Matching refs:iloc
4529 struct inode *inode, struct ext4_iloc *iloc, in __ext4_get_inode_loc() argument
4538 iloc->bh = NULL; in __ext4_get_inode_loc()
4543 iloc->block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
4544 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc()
4554 iloc->offset = (inode_offset % inodes_per_block) * EXT4_INODE_SIZE(sb); in __ext4_get_inode_loc()
4560 "block_group %u", block, iloc->block_group); in __ext4_get_inode_loc()
4612 (struct ext4_inode *) (bh->b_data + iloc->offset); in __ext4_get_inode_loc()
4668 iloc->bh = bh; in __ext4_get_inode_loc()
4673 struct ext4_iloc *iloc) in __ext4_get_inode_loc_noinmem() argument
4678 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, NULL, iloc, in __ext4_get_inode_loc_noinmem()
4688 int ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) in ext4_get_inode_loc() argument
4693 ret = __ext4_get_inode_loc(inode->i_sb, inode->i_ino, inode, iloc, in ext4_get_inode_loc()
4705 struct ext4_iloc *iloc) in ext4_get_fc_inode_loc() argument
4707 return __ext4_get_inode_loc(sb, ino, NULL, iloc, NULL); in ext4_get_fc_inode_loc()
4837 struct ext4_iloc iloc; in __ext4_iget() local
4873 iloc.bh = NULL; in __ext4_iget()
4875 ret = __ext4_get_inode_loc_noinmem(inode, &iloc); in __ext4_iget()
4878 raw_inode = ext4_raw_inode(&iloc); in __ext4_iget()
5002 ei->i_block_group = iloc.block_group; in __ext4_iget()
5143 brelse(iloc.bh); in __ext4_iget()
5148 brelse(iloc.bh); in __ext4_iget()
5222 struct ext4_iloc *iloc) in ext4_do_update_inode() argument
5224 struct ext4_inode *raw_inode = ext4_raw_inode(iloc); in ext4_do_update_inode()
5226 struct buffer_head *bh = iloc->bh; in ext4_do_update_inode()
5350 struct ext4_iloc iloc; in ext4_write_inode() local
5352 err = __ext4_get_inode_loc_noinmem(inode, &iloc); in ext4_write_inode()
5360 sync_dirty_buffer(iloc.bh); in ext4_write_inode()
5361 if (buffer_req(iloc.bh) && !buffer_uptodate(iloc.bh)) { in ext4_write_inode()
5362 ext4_error_inode_block(inode, iloc.bh->b_blocknr, EIO, in ext4_write_inode()
5366 brelse(iloc.bh); in ext4_write_inode()
5866 struct inode *inode, struct ext4_iloc *iloc) in ext4_mark_iloc_dirty() argument
5871 put_bh(iloc->bh); in ext4_mark_iloc_dirty()
5877 get_bh(iloc->bh); in ext4_mark_iloc_dirty()
5880 err = ext4_do_update_inode(handle, inode, iloc); in ext4_mark_iloc_dirty()
5881 put_bh(iloc->bh); in ext4_mark_iloc_dirty()
5892 struct ext4_iloc *iloc) in ext4_reserve_inode_write() argument
5899 err = ext4_get_inode_loc(inode, iloc); in ext4_reserve_inode_write()
5901 BUFFER_TRACE(iloc->bh, "get_write_access"); in ext4_reserve_inode_write()
5903 iloc->bh, EXT4_JTR_NONE); in ext4_reserve_inode_write()
5905 brelse(iloc->bh); in ext4_reserve_inode_write()
5906 iloc->bh = NULL; in ext4_reserve_inode_write()
5915 struct ext4_iloc *iloc, in __ext4_expand_extra_isize() argument
5937 raw_inode = ext4_raw_inode(iloc); in __ext4_expand_extra_isize()
5978 struct ext4_iloc iloc, in ext4_try_to_expand_extra_isize() argument
6003 error = __ext4_expand_extra_isize(inode, new_extra_isize, &iloc, in ext4_try_to_expand_extra_isize()
6012 struct ext4_iloc *iloc) in ext4_expand_extra_isize() argument
6019 brelse(iloc->bh); in ext4_expand_extra_isize()
6027 brelse(iloc->bh); in ext4_expand_extra_isize()
6033 BUFFER_TRACE(iloc->bh, "get_write_access"); in ext4_expand_extra_isize()
6034 error = ext4_journal_get_write_access(handle, inode->i_sb, iloc->bh, in ext4_expand_extra_isize()
6037 brelse(iloc->bh); in ext4_expand_extra_isize()
6041 error = __ext4_expand_extra_isize(inode, new_extra_isize, iloc, in ext4_expand_extra_isize()
6044 rc = ext4_mark_iloc_dirty(handle, inode, iloc); in ext4_expand_extra_isize()
6070 struct ext4_iloc iloc; in __ext4_mark_inode_dirty() local
6076 err = ext4_reserve_inode_write(handle, inode, &iloc); in __ext4_mark_inode_dirty()
6082 iloc, handle); in __ext4_mark_inode_dirty()
6084 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in __ext4_mark_inode_dirty()