Lines Matching refs:BTRFS_I

1479 	BTRFS_I(inode)->index_cnt = (u64)-1;  in fixup_inode_link_count()
3075 if (BTRFS_I(dir)->logged_trans < trans->transid) in btrfs_del_dir_entries_in_log()
3082 mutex_lock(&BTRFS_I(dir)->log_mutex); in btrfs_del_dir_entries_in_log()
3157 mutex_unlock(&BTRFS_I(dir)->log_mutex); in btrfs_del_dir_entries_in_log()
3179 if (BTRFS_I(inode)->logged_trans < trans->transid) in btrfs_del_inode_ref_in_log()
3186 mutex_lock(&BTRFS_I(inode)->log_mutex); in btrfs_del_inode_ref_in_log()
3190 mutex_unlock(&BTRFS_I(inode)->log_mutex); in btrfs_del_inode_ref_in_log()
3538 BTRFS_I(inode)->generation, in fill_inode_item()
3569 btrfs_set_token_inode_flags(leaf, item, BTRFS_I(inode)->flags, &token); in fill_inode_item()
3581 &BTRFS_I(inode)->location, in log_inode_item()
3601 struct btrfs_root *log = BTRFS_I(inode)->root->log_root; in copy_items()
3612 int skip_csum = BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM; in copy_items()
3762 ret = btrfs_prev_leaf(BTRFS_I(inode)->root, src_path); in copy_items()
3804 ret = btrfs_search_slot(NULL, BTRFS_I(inode)->root, &first_key, in copy_items()
3825 ret = btrfs_next_leaf(BTRFS_I(inode)->root, src_path); in copy_items()
3899 const bool skip_csum = BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM; in wait_ordered_extents()
4134 struct extent_map_tree *tree = &BTRFS_I(inode)->extent_tree; in btrfs_log_changed_extents()
4509 di = btrfs_lookup_dir_item(NULL, BTRFS_I(inode)->root, in btrfs_check_ref_name_override()
4566 struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; in btrfs_log_inode()
4589 &BTRFS_I(inode)->runtime_flags) && in btrfs_log_inode()
4603 BTRFS_I(inode)->generation > root->fs_info->last_trans_committed) in btrfs_log_inode()
4614 mutex_lock(&BTRFS_I(inode)->log_mutex); in btrfs_log_inode()
4649 &BTRFS_I(inode)->runtime_flags)) { in btrfs_log_inode()
4656 &BTRFS_I(inode)->runtime_flags); in btrfs_log_inode()
4658 &BTRFS_I(inode)->runtime_flags); in btrfs_log_inode()
4667 &BTRFS_I(inode)->runtime_flags) || in btrfs_log_inode()
4704 BTRFS_I(inode)->generation == trans->transid) { in btrfs_log_inode()
4887 spin_lock(&BTRFS_I(inode)->lock); in btrfs_log_inode()
4888 BTRFS_I(inode)->logged_trans = trans->transid; in btrfs_log_inode()
4889 BTRFS_I(inode)->last_log_commit = BTRFS_I(inode)->last_sub_trans; in btrfs_log_inode()
4890 spin_unlock(&BTRFS_I(inode)->lock); in btrfs_log_inode()
4896 mutex_unlock(&BTRFS_I(inode)->log_mutex); in btrfs_log_inode()
4927 BTRFS_I(inode)->generation <= last_committed && in check_parent_dirs_for_sync()
4928 BTRFS_I(inode)->last_unlink_trans <= last_committed) in check_parent_dirs_for_sync()
4945 BTRFS_I(inode)->logged_trans = trans->transid; in check_parent_dirs_for_sync()
4948 if (BTRFS_I(inode)->last_unlink_trans > last_committed) { in check_parent_dirs_for_sync()
4949 root = BTRFS_I(inode)->root; in check_parent_dirs_for_sync()
5159 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_log_all_parents()
5279 if (root != BTRFS_I(inode)->root || in btrfs_log_inode_parent()
5310 BTRFS_I(inode)->generation <= last_committed && in btrfs_log_inode_parent()
5311 BTRFS_I(inode)->last_unlink_trans <= last_committed) { in btrfs_log_inode_parent()
5360 if (BTRFS_I(inode)->last_unlink_trans > last_committed) { in btrfs_log_inode_parent()
5371 if (root != BTRFS_I(inode)->root) in btrfs_log_inode_parent()
5374 if (BTRFS_I(inode)->generation > last_committed) { in btrfs_log_inode_parent()
5595 BTRFS_I(inode)->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
5602 if (BTRFS_I(dir)->logged_trans == trans->transid) in btrfs_record_unlink_dir()
5609 if (BTRFS_I(inode)->logged_trans == trans->transid) in btrfs_record_unlink_dir()
5626 BTRFS_I(dir)->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
5640 struct btrfs_root * root = BTRFS_I(inode)->root; in btrfs_log_new_name()
5647 BTRFS_I(inode)->last_unlink_trans = trans->transid; in btrfs_log_new_name()
5653 if (BTRFS_I(inode)->logged_trans <= in btrfs_log_new_name()
5655 (!old_dir || BTRFS_I(old_dir)->logged_trans <= in btrfs_log_new_name()