Lines Matching refs:BTRFS_I

889 	struct btrfs_root *root = BTRFS_I(reloc_inode)->root;  in get_new_location()
899 bytenr -= BTRFS_I(reloc_inode)->reloc_block_group_start; in get_new_location()
901 btrfs_ino(BTRFS_I(reloc_inode)), bytenr, 0); in get_new_location()
2730 struct btrfs_inode *inode = BTRFS_I(rc->data_inode); in prealloc_file_extent_cluster()
2838 struct btrfs_inode *inode = BTRFS_I(rc->data_inode); in setup_relocation_extent_mapping()
2894 u64 offset = BTRFS_I(inode)->reloc_block_group_start; in relocate_one_folio()
2969 ret = btrfs_delalloc_reserve_metadata(BTRFS_I(inode), in relocate_one_folio()
2976 lock_extent(&BTRFS_I(inode)->io_tree, clamped_start, clamped_end, in relocate_one_folio()
2978 ret = btrfs_set_extent_delalloc(BTRFS_I(inode), clamped_start, in relocate_one_folio()
2981 clear_extent_bit(&BTRFS_I(inode)->io_tree, in relocate_one_folio()
2985 btrfs_delalloc_release_metadata(BTRFS_I(inode), in relocate_one_folio()
2987 btrfs_delalloc_release_extents(BTRFS_I(inode), in relocate_one_folio()
3006 set_extent_bit(&BTRFS_I(inode)->io_tree, in relocate_one_folio()
3010 unlock_extent(&BTRFS_I(inode)->io_tree, clamped_start, clamped_end, in relocate_one_folio()
3012 btrfs_delalloc_release_extents(BTRFS_I(inode), clamped_len); in relocate_one_folio()
3042 u64 offset = BTRFS_I(inode)->reloc_block_group_start; in relocate_file_extent_cluster()
3083 struct btrfs_root *root = BTRFS_I(inode)->root; in relocate_data_extent()
3657 struct btrfs_root *root = BTRFS_I(rc->data_inode)->root; in relocate_block_group()
3867 BTRFS_I(inode)->reloc_block_group_start = group->start; in create_reloc_inode()
3869 ret = btrfs_orphan_add(trans, BTRFS_I(inode)); in create_reloc_inode()
4097 ret = btrfs_wait_ordered_range(BTRFS_I(rc->data_inode), 0, in btrfs_relocate_block_group()