Lines Matching refs:BTRFS_I
1432 BTRFS_I(inode)->index_cnt = (u64)-1; in fixup_inode_link_count()
2967 if (BTRFS_I(dir)->logged_trans < trans->transid) in btrfs_del_dir_entries_in_log()
2974 mutex_lock(&BTRFS_I(dir)->log_mutex); in btrfs_del_dir_entries_in_log()
3049 mutex_unlock(&BTRFS_I(dir)->log_mutex); in btrfs_del_dir_entries_in_log()
3071 if (BTRFS_I(inode)->logged_trans < trans->transid) in btrfs_del_inode_ref_in_log()
3078 mutex_lock(&BTRFS_I(inode)->log_mutex); in btrfs_del_inode_ref_in_log()
3082 mutex_unlock(&BTRFS_I(inode)->log_mutex); in btrfs_del_inode_ref_in_log()
3430 BTRFS_I(inode)->generation, in fill_inode_item()
3461 btrfs_set_token_inode_flags(leaf, item, BTRFS_I(inode)->flags, &token); in fill_inode_item()
3473 &BTRFS_I(inode)->location, in log_inode_item()
3493 struct btrfs_root *log = BTRFS_I(inode)->root->log_root; in copy_items()
3504 int skip_csum = BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM; in copy_items()
3654 ret = btrfs_prev_leaf(BTRFS_I(inode)->root, src_path); in copy_items()
3696 ret = btrfs_search_slot(NULL, BTRFS_I(inode)->root, &first_key, in copy_items()
3717 ret = btrfs_next_leaf(BTRFS_I(inode)->root, src_path); in copy_items()
3791 const bool skip_csum = BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM; in wait_ordered_extents()
4032 struct extent_map_tree *tree = &BTRFS_I(inode)->extent_tree; in btrfs_log_changed_extents()
4407 di = btrfs_lookup_dir_item(NULL, BTRFS_I(inode)->root, in btrfs_check_ref_name_override()
4464 struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; in btrfs_log_inode()
4487 &BTRFS_I(inode)->runtime_flags) && in btrfs_log_inode()
4501 BTRFS_I(inode)->generation > root->fs_info->last_trans_committed) in btrfs_log_inode()
4512 mutex_lock(&BTRFS_I(inode)->log_mutex); in btrfs_log_inode()
4547 &BTRFS_I(inode)->runtime_flags)) { in btrfs_log_inode()
4554 &BTRFS_I(inode)->runtime_flags); in btrfs_log_inode()
4556 &BTRFS_I(inode)->runtime_flags); in btrfs_log_inode()
4565 &BTRFS_I(inode)->runtime_flags) || in btrfs_log_inode()
4602 BTRFS_I(inode)->generation == trans->transid) { in btrfs_log_inode()
4785 spin_lock(&BTRFS_I(inode)->lock); in btrfs_log_inode()
4786 BTRFS_I(inode)->logged_trans = trans->transid; in btrfs_log_inode()
4787 BTRFS_I(inode)->last_log_commit = BTRFS_I(inode)->last_sub_trans; in btrfs_log_inode()
4788 spin_unlock(&BTRFS_I(inode)->lock); in btrfs_log_inode()
4794 mutex_unlock(&BTRFS_I(inode)->log_mutex); in btrfs_log_inode()
4825 BTRFS_I(inode)->generation <= last_committed && in check_parent_dirs_for_sync()
4826 BTRFS_I(inode)->last_unlink_trans <= last_committed) in check_parent_dirs_for_sync()
4843 BTRFS_I(inode)->logged_trans = trans->transid; in check_parent_dirs_for_sync()
4846 if (BTRFS_I(inode)->last_unlink_trans > last_committed) { in check_parent_dirs_for_sync()
4847 root = BTRFS_I(inode)->root; in check_parent_dirs_for_sync()
5070 const bool did_unlink = (BTRFS_I(inode)->last_unlink_trans > in btrfs_log_inode_parent()
5092 if (root != BTRFS_I(inode)->root || in btrfs_log_inode_parent()
5123 BTRFS_I(inode)->generation <= last_committed && in btrfs_log_inode_parent()
5124 BTRFS_I(inode)->last_unlink_trans <= last_committed) { in btrfs_log_inode_parent()
5137 if (root != BTRFS_I(inode)->root) in btrfs_log_inode_parent()
5153 if (BTRFS_I(inode)->generation > in btrfs_log_inode_parent()
5375 BTRFS_I(inode)->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
5382 if (BTRFS_I(dir)->logged_trans == trans->transid) in btrfs_record_unlink_dir()
5389 if (BTRFS_I(inode)->logged_trans == trans->transid) in btrfs_record_unlink_dir()
5406 BTRFS_I(dir)->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
5420 struct btrfs_root * root = BTRFS_I(inode)->root; in btrfs_log_new_name()
5427 BTRFS_I(inode)->last_unlink_trans = trans->transid; in btrfs_log_new_name()
5433 if (BTRFS_I(inode)->logged_trans <= in btrfs_log_new_name()
5435 (!old_dir || BTRFS_I(old_dir)->logged_trans <= in btrfs_log_new_name()