Lines Matching refs:BTRFS_I
111 if (!((BTRFS_I(inode)->flags & flags) == flags)) { in lookup_free_space_inode()
113 BTRFS_I(inode)->flags |= BTRFS_INODE_NODATASUM | in lookup_free_space_inode()
227 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_truncate_free_space_cache()
257 btrfs_i_size_write(BTRFS_I(inode), 0); in btrfs_truncate_free_space_cache()
305 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FREE_INO_OBJECTID) in io_ctl_init()
386 btrfs_err(BTRFS_I(inode)->root->fs_info, in io_ctl_prepare_pages()
392 btrfs_err(BTRFS_I(inode)->root->fs_info, in io_ctl_prepare_pages()
708 if (!BTRFS_I(inode)->generation) { in __load_free_space_cache()
715 if (BTRFS_I(inode)->generation != generation) { in __load_free_space_cache()
718 BTRFS_I(inode)->generation, generation); in __load_free_space_cache()
1018 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in update_cache_item()
1030 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, in update_cache_item()
1039 BTRFS_I(inode)->generation = trans->transid; in update_cache_item()
1129 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in flush_dirty_cache()
1150 unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, in cleanup_write_cache_enospc()
1177 BTRFS_I(inode)->generation = 0; in __btrfs_wait_cache_io()
1272 BTRFS_I(inode)->generation = 0; in __btrfs_write_out_cache()
1285 lock_extent_bits(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache()
1341 unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, in __btrfs_write_out_cache()
1363 BTRFS_I(inode)->generation = 0; in __btrfs_write_out_cache()
3539 if (root_gen != BTRFS_I(inode)->generation) in load_free_ino_cache()
3584 btrfs_delalloc_release_metadata(BTRFS_I(inode), in btrfs_write_out_ino_cache()