Lines Matching defs:btrfs_fs_info
577 struct btrfs_fs_info { struct
578 u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
579 unsigned long flags;
580 struct btrfs_root *extent_root;
581 struct btrfs_root *tree_root;
582 struct btrfs_root *chunk_root;
583 struct btrfs_root *dev_root;
584 struct btrfs_root *fs_root;
585 struct btrfs_root *csum_root;
586 struct btrfs_root *quota_root;
587 struct btrfs_root *uuid_root;
588 struct btrfs_root *free_space_root;
589 struct btrfs_root *data_reloc_root;
592 struct btrfs_root *log_root_tree;
594 spinlock_t fs_roots_radix_lock;
595 struct radix_tree_root fs_roots_radix;
598 spinlock_t block_group_cache_lock;
599 u64 first_logical_byte;
600 struct rb_root block_group_cache_tree;
603 atomic64_t free_chunk_space;
606 struct extent_io_tree excluded_extents;
609 struct extent_map_tree mapping_tree;
615 struct btrfs_block_rsv global_block_rsv;
617 struct btrfs_block_rsv trans_block_rsv;
619 struct btrfs_block_rsv chunk_block_rsv;
621 struct btrfs_block_rsv delayed_block_rsv;
623 struct btrfs_block_rsv delayed_refs_rsv;
625 struct btrfs_block_rsv empty_block_rsv;
627 u64 generation;
628 u64 last_trans_committed;
629 u64 avg_delayed_ref_runtime;
635 u64 last_trans_log_full_commit;
636 unsigned long mount_opt;
641 unsigned long pending_changes;
642 unsigned long compress_type:4;
643 unsigned int compress_level;
644 u32 commit_interval;
651 u64 max_inline;
653 struct btrfs_transaction *running_transaction;
654 wait_queue_head_t transaction_throttle;
655 wait_queue_head_t transaction_wait;
656 wait_queue_head_t transaction_blocked_wait;
657 wait_queue_head_t async_submit_wait;
669 spinlock_t super_lock;
670 struct btrfs_super_block *super_copy;
671 struct btrfs_super_block *super_for_commit;
672 struct super_block *sb;
673 struct inode *btree_inode;
674 struct mutex tree_log_mutex;
675 struct mutex transaction_kthread_mutex;
676 struct mutex cleaner_mutex;
677 struct mutex chunk_mutex;
683 struct mutex ro_block_group_mutex;
689 struct btrfs_stripe_hash_table *stripe_hash_table;
698 struct mutex ordered_operations_mutex;
700 struct rw_semaphore commit_root_sem;
702 struct rw_semaphore cleanup_work_sem;
704 struct rw_semaphore subvol_sem;
706 spinlock_t trans_lock;
711 struct mutex reloc_mutex;
713 struct list_head trans_list;
714 struct list_head dead_roots;
715 struct list_head caching_block_groups;
717 spinlock_t delayed_iput_lock;
718 struct list_head delayed_iputs;
719 atomic_t nr_delayed_iputs;
720 wait_queue_head_t delayed_iputs_wait;
722 atomic64_t tree_mod_seq;
725 rwlock_t tree_mod_log_lock;
726 struct rb_root tree_mod_log;
727 struct list_head tree_mod_seq_list;
729 atomic_t async_delalloc_pages;
734 spinlock_t ordered_root_lock;
743 struct list_head ordered_roots;
745 struct mutex delalloc_root_mutex;
746 spinlock_t delalloc_root_lock;
748 struct list_head delalloc_roots;
760 struct btrfs_workqueue *workers;
761 struct btrfs_workqueue *delalloc_workers;
762 struct btrfs_workqueue *flush_workers;
763 struct btrfs_workqueue *endio_workers;
764 struct btrfs_workqueue *endio_meta_workers;
765 struct btrfs_workqueue *endio_raid56_workers;
766 struct btrfs_workqueue *rmw_workers;
767 struct btrfs_workqueue *endio_meta_write_workers;
768 struct btrfs_workqueue *endio_write_workers;
769 struct btrfs_workqueue *endio_freespace_worker;
770 struct btrfs_workqueue *caching_workers;
771 struct btrfs_workqueue *readahead_workers;
778 struct btrfs_workqueue *fixup_workers;
779 struct btrfs_workqueue *delayed_workers;
781 struct task_struct *transaction_kthread;
782 struct task_struct *cleaner_kthread;
783 u32 thread_pool_size;
785 struct kobject *space_info_kobj;
786 struct kobject *qgroups_kobj;
788 u64 total_pinned;
791 struct percpu_counter dirty_metadata_bytes;
792 struct percpu_counter delalloc_bytes;
793 struct percpu_counter dio_bytes;
794 s32 dirty_metadata_batch;
795 s32 delalloc_batch;
797 struct list_head dirty_cowonly_roots;
799 struct btrfs_fs_devices *fs_devices;
806 struct list_head space_info;
808 struct btrfs_space_info *data_sinfo;
810 struct reloc_control *reloc_ctl;
813 struct btrfs_free_cluster data_alloc_cluster;
816 struct btrfs_free_cluster meta_alloc_cluster;
819 spinlock_t defrag_inodes_lock;
820 struct rb_root defrag_inodes;
821 atomic_t defrag_running;
824 seqlock_t profiles_lock;
830 u64 avail_data_alloc_bits;
831 u64 avail_metadata_alloc_bits;
832 u64 avail_system_alloc_bits;
835 spinlock_t balance_lock;
836 struct mutex balance_mutex;
837 atomic_t balance_pause_req;
838 atomic_t balance_cancel_req;
839 struct btrfs_balance_control *balance_ctl;
840 wait_queue_head_t balance_wait_q;
842 u32 data_chunk_allocations;
843 u32 metadata_ratio;
845 void *bdev_holder;
848 struct mutex scrub_lock;
849 atomic_t scrubs_running;
850 atomic_t scrub_pause_req;
851 atomic_t scrubs_paused;
852 atomic_t scrub_cancel_req;
853 wait_queue_head_t scrub_pause_wait;
858 refcount_t scrub_workers_refcnt;
859 struct btrfs_workqueue *scrub_workers;
860 struct btrfs_workqueue *scrub_wr_completion_workers;
861 struct btrfs_workqueue *scrub_parity_workers;
863 struct btrfs_discard_ctl discard_ctl;
866 u32 check_integrity_print_mask;
869 u64 qgroup_flags;
872 struct rb_root qgroup_tree;
873 spinlock_t qgroup_lock;
879 struct ulist *qgroup_ulist;
885 struct mutex qgroup_ioctl_lock;
888 struct list_head dirty_qgroups;
891 u64 qgroup_seq;
894 struct mutex qgroup_rescan_lock; /* protects the progress item */
895 struct btrfs_key qgroup_rescan_progress;
896 struct btrfs_workqueue *qgroup_rescan_workers;
897 struct completion qgroup_rescan_completion;
898 struct btrfs_work qgroup_rescan_work;
899 bool qgroup_rescan_running; /* protected by qgroup_rescan_lock */
902 unsigned long fs_state;
904 struct btrfs_delayed_root *delayed_root;
907 spinlock_t reada_lock;
908 struct radix_tree_root reada_tree;
911 atomic_t reada_works_cnt;
914 spinlock_t buffer_lock;
915 struct radix_tree_root buffer_radix;
918 int backup_root_index;
921 struct btrfs_dev_replace dev_replace;
923 struct semaphore uuid_tree_rescan_sem;
926 struct work_struct async_reclaim_work;
927 struct work_struct async_data_reclaim_work;
929 spinlock_t unused_bgs_lock;
930 struct list_head unused_bgs;
931 struct mutex unused_bg_unpin_mutex;
932 struct mutex delete_unused_bgs_mutex;
935 u32 nodesize;
936 u32 sectorsize;
937 u32 stripesize;
940 spinlock_t swapfile_pins_lock;
941 struct rb_root swapfile_pins;
943 struct crypto_shash *csum_shash;
969 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument