Lines Matching refs:fs_info
68 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in ordered_data_tree_panic() local
69 btrfs_panic(fs_info, errno, "Inconsistency in ordered tree at offset " in ordered_data_tree_panic()
236 spin_lock(&root->fs_info->ordered_root_lock); in __btrfs_add_ordered_extent()
239 &root->fs_info->ordered_roots); in __btrfs_add_ordered_extent()
240 spin_unlock(&root->fs_info->ordered_root_lock); in __btrfs_add_ordered_extent()
333 btrfs_crit(BTRFS_I(inode)->root->fs_info, in btrfs_dec_test_first_ordered_pending()
338 btrfs_crit(BTRFS_I(inode)->root->fs_info, in btrfs_dec_test_first_ordered_pending()
405 btrfs_crit(BTRFS_I(inode)->root->fs_info, in btrfs_dec_test_ordered_pending()
620 spin_lock(&root->fs_info->trans_lock); in btrfs_remove_ordered_extent()
621 trans = root->fs_info->running_transaction; in btrfs_remove_ordered_extent()
624 spin_unlock(&root->fs_info->trans_lock); in btrfs_remove_ordered_extent()
641 spin_lock(&root->fs_info->ordered_root_lock); in btrfs_remove_ordered_extent()
644 spin_unlock(&root->fs_info->ordered_root_lock); in btrfs_remove_ordered_extent()
687 btrfs_queue_work(root->fs_info->flush_workers, in btrfs_wait_ordered_extents()
710 void btrfs_wait_ordered_roots(struct btrfs_fs_info *fs_info, int nr) in btrfs_wait_ordered_roots() argument
718 mutex_lock(&fs_info->ordered_operations_mutex); in btrfs_wait_ordered_roots()
719 spin_lock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
720 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots()
727 &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
728 spin_unlock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
733 spin_lock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
739 list_splice_tail(&splice, &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
740 spin_unlock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
741 mutex_unlock(&fs_info->ordered_operations_mutex); in btrfs_wait_ordered_roots()