Lines Matching refs:BTRFS_I

678 			btrfs_ino(BTRFS_I(inode)), start, 0);  in replay_one_extent()
712 ret = btrfs_drop_extents(trans, root, BTRFS_I(inode), &drop_args); in replay_one_extent()
888 ret = btrfs_inode_set_file_extent_range(BTRFS_I(inode), start, in replay_one_extent()
894 btrfs_update_inode_bytes(BTRFS_I(inode), nbytes, drop_args.bytes_found); in replay_one_extent()
895 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in replay_one_extent()
963 ret = unlink_inode_for_log_replay(trans, dir, BTRFS_I(inode), name, in drop_one_dir_item()
1188 BTRFS_I(victim_parent), in __add_inode_ref()
1344 ret = unlink_inode_for_log_replay(trans, BTRFS_I(dir), in unlink_old_inode_refs()
1447 ret = inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1448 btrfs_ino(BTRFS_I(inode)), ref_index, in add_inode_ref()
1461 BTRFS_I(dir), BTRFS_I(inode), in add_inode_ref()
1471 ret = btrfs_add_link(trans, BTRFS_I(dir), BTRFS_I(inode), in add_inode_ref()
1476 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in add_inode_ref()
1499 ret = unlink_old_inode_refs(trans, root, path, BTRFS_I(inode), eb, slot, in add_inode_ref()
1632 u64 ino = btrfs_ino(BTRFS_I(inode)); in fixup_inode_link_count()
1638 ret = count_inode_refs(root, BTRFS_I(inode), path); in fixup_inode_link_count()
1644 ret = count_inode_extrefs(root, BTRFS_I(inode), path); in fixup_inode_link_count()
1654 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in fixup_inode_link_count()
1658 BTRFS_I(inode)->index_cnt = (u64)-1; in fixup_inode_link_count()
1763 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in link_to_fixup_dir()
1797 ret = btrfs_add_link(trans, BTRFS_I(dir), BTRFS_I(inode), name, in insert_one_name()
1902 ret = delete_conflicting_dir_entry(trans, BTRFS_I(dir), path, in replay_one_name()
1919 ret = delete_conflicting_dir_entry(trans, BTRFS_I(dir), path, in replay_one_name()
1977 btrfs_i_size_write(BTRFS_I(dir), dir->i_size + name_len * 2); in replay_one_name()
1978 ret = btrfs_update_inode(trans, root, BTRFS_I(dir)); in replay_one_name()
2141 struct btrfs_root *root = BTRFS_I(dir)->root; in check_item_in_log()
2202 ret = unlink_inode_for_log_replay(trans, BTRFS_I(dir), BTRFS_I(inode), in check_item_in_log()
2518 BTRFS_I(inode), in replay_one_buffer()
2525 root, BTRFS_I(inode)); in replay_one_buffer()
4190 BTRFS_I(inode)->generation); in fill_inode_item()
4226 flags = btrfs_inode_combine_flags(BTRFS_I(inode)->flags, in fill_inode_item()
4227 BTRFS_I(inode)->ro_flags); in fill_inode_item()
5503 if (!need_log_inode(trans, BTRFS_I(di_inode))) { in log_new_dir_dentries()
5511 ret = btrfs_log_inode(trans, BTRFS_I(di_inode), in log_new_dir_dentries()
5708 if (!need_log_inode(trans, BTRFS_I(inode))) { in add_conflicting_inode()
5786 ret = btrfs_log_inode(trans, BTRFS_I(inode), in log_conflicting_inodes()
5804 if (!need_log_inode(trans, BTRFS_I(inode))) { in log_conflicting_inodes()
5816 ret = btrfs_log_inode(trans, BTRFS_I(inode), LOG_INODE_EXISTS, ctx); in log_conflicting_inodes()
5885 other_ino != btrfs_ino(BTRFS_I(ctx->inode))) { in copy_inode_items_to_log()
6326 if (!need_log_inode(trans, BTRFS_I(di_inode))) { in log_new_delayed_dentries()
6335 ret = btrfs_log_inode(trans, BTRFS_I(di_inode), log_mode, ctx); in log_new_delayed_dentries()
6338 ret = log_new_dir_dentries(trans, BTRFS_I(di_inode), ctx); in log_new_delayed_dentries()
6800 if (!need_log_inode(trans, BTRFS_I(dir_inode))) { in btrfs_log_all_parents()
6806 ret = btrfs_log_inode(trans, BTRFS_I(dir_inode), in btrfs_log_all_parents()
6810 BTRFS_I(dir_inode), ctx); in btrfs_log_all_parents()
6852 if (BTRFS_I(inode)->generation >= trans->transid && in log_new_ancestors()
6853 need_log_inode(trans, BTRFS_I(inode))) in log_new_ancestors()
6854 ret = btrfs_log_inode(trans, BTRFS_I(inode), in log_new_ancestors()
6903 inode = BTRFS_I(d_inode(parent)); in log_new_ancestors_fast()
7153 ret = btrfs_log_inode_parent(trans, BTRFS_I(d_inode(dentry)), parent, in btrfs_log_dentry_safe()
7439 struct btrfs_inode *inode = BTRFS_I(d_inode(old_dentry)); in btrfs_log_new_name()