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()
239 spin_lock(&root->fs_info->ordered_root_lock); in __btrfs_add_ordered_extent()
242 &root->fs_info->ordered_roots); in __btrfs_add_ordered_extent()
243 spin_unlock(&root->fs_info->ordered_root_lock); in __btrfs_add_ordered_extent()
340 btrfs_crit(BTRFS_I(inode)->root->fs_info, in btrfs_dec_test_first_ordered_pending()
345 btrfs_crit(BTRFS_I(inode)->root->fs_info, in btrfs_dec_test_first_ordered_pending()
409 btrfs_crit(BTRFS_I(inode)->root->fs_info, in btrfs_dec_test_ordered_pending()
587 spin_lock(&root->fs_info->ordered_root_lock); in btrfs_remove_ordered_extent()
590 spin_unlock(&root->fs_info->ordered_root_lock); in btrfs_remove_ordered_extent()
633 btrfs_queue_work(root->fs_info->flush_workers, in btrfs_wait_ordered_extents()
656 void btrfs_wait_ordered_roots(struct btrfs_fs_info *fs_info, int nr) in btrfs_wait_ordered_roots() argument
664 mutex_lock(&fs_info->ordered_operations_mutex); in btrfs_wait_ordered_roots()
665 spin_lock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
666 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots()
673 &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
674 spin_unlock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
679 spin_lock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
685 list_splice_tail(&splice, &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
686 spin_unlock(&fs_info->ordered_root_lock); in btrfs_wait_ordered_roots()
687 mutex_unlock(&fs_info->ordered_operations_mutex); in btrfs_wait_ordered_roots()