Lines Matching refs:iloc

30 					   struct ext4_iloc *iloc)
56 raw_inode = ext4_raw_inode(iloc);
107 struct ext4_iloc iloc;
112 error = ext4_get_inode_loc(inode, &iloc);
121 max_inline_size = get_max_inline_xattr_value_size(inode, &iloc);
124 brelse(iloc.bh);
151 error = ext4_get_inode_loc(inode, &is.iloc);
167 (void *)ext4_raw_inode(&is.iloc));
172 brelse(is.iloc.bh);
178 struct ext4_iloc *iloc)
193 raw_inode = ext4_raw_inode(iloc);
222 static void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc,
236 raw_inode = ext4_raw_inode(iloc);
274 error = ext4_get_inode_loc(inode, &is.iloc);
278 BUFFER_TRACE(is.iloc.bh, "get_write_access");
279 error = ext4_journal_get_write_access(handle, is.iloc.bh);
309 memset((void *)ext4_raw_inode(&is.iloc)->i_block,
313 (void *)ext4_raw_inode(&is.iloc));
317 get_bh(is.iloc.bh);
318 error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
321 brelse(is.iloc.bh);
342 error = ext4_get_inode_loc(inode, &is.iloc);
364 BUFFER_TRACE(is.iloc.bh, "get_write_access");
365 error = ext4_journal_get_write_access(handle, is.iloc.bh);
378 (void *)ext4_raw_inode(&is.iloc));
382 get_bh(is.iloc.bh);
383 error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
387 brelse(is.iloc.bh);
433 error = ext4_get_inode_loc(inode, &is.iloc);
441 BUFFER_TRACE(is.iloc.bh, "get_write_access");
442 error = ext4_journal_get_write_access(handle, is.iloc.bh);
450 memset((void *)ext4_raw_inode(&is.iloc)->i_block,
463 get_bh(is.iloc.bh);
464 error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
470 brelse(is.iloc.bh);
481 struct ext4_iloc iloc;
493 ret = ext4_get_inode_loc(inode, &iloc);
499 ret = ext4_read_inline_data(inode, kaddr, len, &iloc);
504 brelse(iloc.bh);
546 struct ext4_iloc iloc;
559 ret = ext4_get_inode_loc(inode, &iloc);
647 brelse(iloc.bh);
666 struct ext4_iloc iloc;
671 ret = ext4_get_inode_loc(inode, &iloc);
693 brelse(iloc.bh);
697 ret = ext4_journal_get_write_access(handle, iloc.bh);
734 brelse(iloc.bh);
747 struct ext4_iloc iloc;
754 ret = ext4_get_inode_loc(inode, &iloc);
772 ext4_write_inline_data(inode, &iloc, kaddr, pos, copied);
779 brelse(iloc.bh);
830 struct ext4_iloc iloc;
832 ret = ext4_get_inode_loc(inode, &iloc);
840 ext4_write_inline_data(inode, &iloc, kaddr, 0, len);
844 return iloc.bh;
924 struct ext4_iloc iloc;
927 ret = ext4_get_inode_loc(inode, &iloc);
982 ret = ext4_journal_get_write_access(handle, iloc.bh);
988 brelse(iloc.bh);
997 brelse(iloc.bh);
1038 struct ext4_iloc *iloc,
1044 err = ext4_find_dest_de(dir, inode, iloc->bh, inline_start,
1049 BUFFER_TRACE(iloc->bh, "get_write_access");
1050 err = ext4_journal_get_write_access(handle, iloc->bh);
1055 ext4_show_inline_dir(dir, iloc->bh, inline_start, inline_size);
1075 struct ext4_iloc *iloc)
1082 header = IHDR(inode, ext4_raw_inode(iloc));
1083 entry = (struct ext4_xattr_entry *)((void *)ext4_raw_inode(iloc) +
1116 struct ext4_iloc *iloc)
1120 int new_size = get_max_inline_xattr_value_size(dir, iloc);
1130 ext4_update_final_de(ext4_get_inline_xattr_pos(dir, iloc), old_size,
1138 struct ext4_iloc *iloc,
1150 ext4_write_inline_data(inode, iloc, buf, 0, inline_size);
1201 struct ext4_iloc *iloc)
1216 error = ext4_read_inline_data(inode, buf, inline_size, iloc);
1225 error = ext4_check_all_de(inode, iloc->bh,
1275 ext4_restore_inline_data(handle, inode, iloc, buf, inline_size);
1293 struct ext4_iloc iloc;
1295 ret = ext4_get_inode_loc(dir, &iloc);
1303 inline_start = (void *)ext4_raw_inode(&iloc)->i_block +
1307 ret = ext4_add_dirent_to_inline(handle, fname, dir, inode, &iloc,
1317 ret = ext4_update_inline_dir(handle, dir, &iloc);
1326 inline_start = ext4_get_inline_xattr_pos(dir, &iloc);
1329 inode, &iloc, inline_start,
1341 ret = ext4_convert_inline_data_nolock(handle, dir, &iloc);
1348 brelse(iloc.bh);
1369 struct ext4_iloc iloc;
1374 ret = ext4_get_inode_loc(inode, &iloc);
1393 ret = ext4_read_inline_data(inode, dir_buf, inline_size, &iloc);
1430 iloc.bh, dir_buf,
1457 brelse(iloc.bh);
1479 struct ext4_iloc iloc;
1483 ret = ext4_get_inode_loc(inode, &iloc);
1502 ret = ext4_read_inline_data(inode, dir_buf, inline_size, &iloc);
1582 if (ext4_check_dir_entry(inode, file, de, iloc.bh, dir_buf,
1595 brelse(iloc.bh);
1603 struct ext4_iloc iloc;
1605 *retval = ext4_get_inode_loc(inode, &iloc);
1609 *parent_de = (struct ext4_dir_entry_2 *)ext4_raw_inode(&iloc)->i_block;
1611 return iloc.bh;
1623 struct ext4_iloc iloc;
1626 ret = ext4_get_inode_loc(inode, &iloc);
1638 de = (struct ext4_dir_entry_2 *)ext4_raw_inode(&iloc)->i_block;
1648 brelse(iloc.bh);
1658 struct ext4_iloc iloc;
1662 if (ext4_get_inode_loc(dir, &iloc))
1671 inline_start = (void *)ext4_raw_inode(&iloc)->i_block +
1674 ret = ext4_search_dir(iloc.bh, inline_start, inline_size,
1684 inline_start = ext4_get_inline_xattr_pos(dir, &iloc);
1687 ret = ext4_search_dir(iloc.bh, inline_start, inline_size,
1693 brelse(iloc.bh);
1694 iloc.bh = NULL;
1697 return iloc.bh;
1707 struct ext4_iloc iloc;
1710 err = ext4_get_inode_loc(dir, &iloc);
1720 if ((void *)de_del - ((void *)ext4_raw_inode(&iloc)->i_block) <
1722 inline_start = (void *)ext4_raw_inode(&iloc)->i_block +
1727 inline_start = ext4_get_inline_xattr_pos(dir, &iloc);
1742 ext4_show_inline_dir(dir, iloc.bh, inline_start, inline_size);
1747 brelse(iloc.bh);
1758 struct ext4_iloc *iloc,
1768 inline_pos = (void *)ext4_raw_inode(iloc)->i_block;
1771 inline_pos = ext4_get_inline_xattr_pos(inode, iloc);
1785 struct ext4_iloc iloc;
1792 err = ext4_get_inode_loc(dir, &iloc);
1807 de = (struct ext4_dir_entry_2 *)ext4_raw_inode(&iloc)->i_block;
1818 de = ext4_get_inline_entry(dir, &iloc, offset,
1821 iloc.bh, inline_pos,
1841 brelse(iloc.bh);
1860 struct ext4_iloc iloc;
1866 error = ext4_get_inode_loc(inode, &iloc);
1870 addr = (__u64)iloc.bh->b_blocknr << inode->i_sb->s_blocksize_bits;
1871 addr += (char *)ext4_raw_inode(&iloc) - iloc.bh->b_data;
1874 brelse(iloc.bh);
1919 if ((err = ext4_get_inode_loc(inode, &is.iloc)) != 0)
1957 void *p = (void *) ext4_raw_inode(&is.iloc)->i_block;
1970 brelse(is.iloc.bh);
1990 struct ext4_iloc iloc;
2011 iloc.bh = NULL;
2012 error = ext4_get_inode_loc(inode, &iloc);
2024 error = ext4_convert_inline_data_nolock(handle, inode, &iloc);
2028 brelse(iloc.bh);