Lines Matching defs:btrfs_fs_info

624 struct btrfs_fs_info {  struct
625 u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
626 unsigned long flags;
627 struct btrfs_root *extent_root;
628 struct btrfs_root *tree_root;
629 struct btrfs_root *chunk_root;
630 struct btrfs_root *dev_root;
631 struct btrfs_root *fs_root;
632 struct btrfs_root *csum_root;
633 struct btrfs_root *quota_root;
634 struct btrfs_root *uuid_root;
635 struct btrfs_root *free_space_root;
636 struct btrfs_root *data_reloc_root;
639 struct btrfs_root *log_root_tree;
641 spinlock_t fs_roots_radix_lock;
642 struct radix_tree_root fs_roots_radix;
645 spinlock_t block_group_cache_lock;
646 u64 first_logical_byte;
647 struct rb_root block_group_cache_tree;
650 atomic64_t free_chunk_space;
653 struct extent_io_tree excluded_extents;
656 struct extent_map_tree mapping_tree;
662 struct btrfs_block_rsv global_block_rsv;
664 struct btrfs_block_rsv trans_block_rsv;
666 struct btrfs_block_rsv chunk_block_rsv;
668 struct btrfs_block_rsv delayed_block_rsv;
670 struct btrfs_block_rsv delayed_refs_rsv;
672 struct btrfs_block_rsv empty_block_rsv;
674 u64 generation;
675 u64 last_trans_committed;
676 u64 avg_delayed_ref_runtime;
682 u64 last_trans_log_full_commit;
683 unsigned long mount_opt;
688 unsigned long pending_changes;
689 unsigned long compress_type:4;
690 unsigned int compress_level;
691 u32 commit_interval;
698 u64 max_inline;
700 struct btrfs_transaction *running_transaction;
701 wait_queue_head_t transaction_throttle;
702 wait_queue_head_t transaction_wait;
703 wait_queue_head_t transaction_blocked_wait;
704 wait_queue_head_t async_submit_wait;
716 spinlock_t super_lock;
717 struct btrfs_super_block *super_copy;
718 struct btrfs_super_block *super_for_commit;
719 struct super_block *sb;
720 struct inode *btree_inode;
721 struct mutex tree_log_mutex;
722 struct mutex transaction_kthread_mutex;
723 struct mutex cleaner_mutex;
724 struct mutex chunk_mutex;
730 struct mutex ro_block_group_mutex;
736 struct btrfs_stripe_hash_table *stripe_hash_table;
745 struct mutex ordered_operations_mutex;
747 struct rw_semaphore commit_root_sem;
749 struct rw_semaphore cleanup_work_sem;
751 struct rw_semaphore subvol_sem;
753 spinlock_t trans_lock;
758 struct mutex reloc_mutex;
760 struct list_head trans_list;
761 struct list_head dead_roots;
762 struct list_head caching_block_groups;
764 spinlock_t delayed_iput_lock;
765 struct list_head delayed_iputs;
766 atomic_t nr_delayed_iputs;
767 wait_queue_head_t delayed_iputs_wait;
769 atomic64_t tree_mod_seq;
772 rwlock_t tree_mod_log_lock;
773 struct rb_root tree_mod_log;
774 struct list_head tree_mod_seq_list;
776 atomic_t async_delalloc_pages;
781 spinlock_t ordered_root_lock;
790 struct list_head ordered_roots;
792 struct mutex delalloc_root_mutex;
793 spinlock_t delalloc_root_lock;
795 struct list_head delalloc_roots;
807 struct btrfs_workqueue *workers;
808 struct btrfs_workqueue *delalloc_workers;
809 struct btrfs_workqueue *flush_workers;
810 struct btrfs_workqueue *endio_workers;
811 struct btrfs_workqueue *endio_meta_workers;
812 struct btrfs_workqueue *endio_raid56_workers;
813 struct btrfs_workqueue *rmw_workers;
814 struct btrfs_workqueue *endio_meta_write_workers;
815 struct btrfs_workqueue *endio_write_workers;
816 struct btrfs_workqueue *endio_freespace_worker;
817 struct btrfs_workqueue *caching_workers;
818 struct btrfs_workqueue *readahead_workers;
825 struct btrfs_workqueue *fixup_workers;
826 struct btrfs_workqueue *delayed_workers;
828 struct task_struct *transaction_kthread;
829 struct task_struct *cleaner_kthread;
830 u32 thread_pool_size;
832 struct kobject *space_info_kobj;
833 struct kobject *qgroups_kobj;
836 struct percpu_counter dirty_metadata_bytes;
837 struct percpu_counter delalloc_bytes;
838 struct percpu_counter ordered_bytes;
839 s32 dirty_metadata_batch;
840 s32 delalloc_batch;
842 struct list_head dirty_cowonly_roots;
844 struct btrfs_fs_devices *fs_devices;
851 struct list_head space_info;
853 struct btrfs_space_info *data_sinfo;
855 struct reloc_control *reloc_ctl;
858 struct btrfs_free_cluster data_alloc_cluster;
861 struct btrfs_free_cluster meta_alloc_cluster;
864 spinlock_t defrag_inodes_lock;
865 struct rb_root defrag_inodes;
866 atomic_t defrag_running;
869 seqlock_t profiles_lock;
875 u64 avail_data_alloc_bits;
876 u64 avail_metadata_alloc_bits;
877 u64 avail_system_alloc_bits;
880 spinlock_t balance_lock;
881 struct mutex balance_mutex;
882 atomic_t balance_pause_req;
883 atomic_t balance_cancel_req;
884 struct btrfs_balance_control *balance_ctl;
885 wait_queue_head_t balance_wait_q;
888 atomic_t reloc_cancel_req;
890 u32 data_chunk_allocations;
891 u32 metadata_ratio;
893 void *bdev_holder;
896 struct mutex scrub_lock;
897 atomic_t scrubs_running;
898 atomic_t scrub_pause_req;
899 atomic_t scrubs_paused;
900 atomic_t scrub_cancel_req;
901 wait_queue_head_t scrub_pause_wait;
906 refcount_t scrub_workers_refcnt;
907 struct btrfs_workqueue *scrub_workers;
908 struct btrfs_workqueue *scrub_wr_completion_workers;
909 struct btrfs_workqueue *scrub_parity_workers;
910 struct btrfs_subpage_info *subpage_info;
912 struct btrfs_discard_ctl discard_ctl;
915 u32 check_integrity_print_mask;
918 u64 qgroup_flags;
921 struct rb_root qgroup_tree;
922 spinlock_t qgroup_lock;
928 struct ulist *qgroup_ulist;
934 struct mutex qgroup_ioctl_lock;
937 struct list_head dirty_qgroups;
940 u64 qgroup_seq;
943 struct mutex qgroup_rescan_lock; /* protects the progress item */
944 struct btrfs_key qgroup_rescan_progress;
945 struct btrfs_workqueue *qgroup_rescan_workers;
946 struct completion qgroup_rescan_completion;
947 struct btrfs_work qgroup_rescan_work;
948 bool qgroup_rescan_running; /* protected by qgroup_rescan_lock */
951 unsigned long fs_state;
953 struct btrfs_delayed_root *delayed_root;
956 spinlock_t reada_lock;
957 struct radix_tree_root reada_tree;
960 atomic_t reada_works_cnt;
963 spinlock_t buffer_lock;
965 struct radix_tree_root buffer_radix;
968 int backup_root_index;
971 struct btrfs_dev_replace dev_replace;
973 struct semaphore uuid_tree_rescan_sem;
976 struct work_struct async_reclaim_work;
977 struct work_struct async_data_reclaim_work;
978 struct work_struct preempt_reclaim_work;
981 struct work_struct reclaim_bgs_work;
982 struct list_head reclaim_bgs;
983 int bg_reclaim_threshold;
985 spinlock_t unused_bgs_lock;
986 struct list_head unused_bgs;
987 struct mutex unused_bg_unpin_mutex;
989 struct mutex reclaim_bgs_lock;
992 u32 nodesize;
993 u32 sectorsize;
995 u32 sectorsize_bits;
996 u32 csum_size;
997 u32 csums_per_leaf;
998 u32 stripesize;
1001 spinlock_t swapfile_pins_lock;
1002 struct rb_root swapfile_pins;
1004 struct crypto_shash *csum_shash;
1006 spinlock_t send_reloc_lock;
1011 int send_in_progress;
1014 enum btrfs_exclusive_operation exclusive_operation;
1020 union {
1025 struct mutex zoned_meta_io_lock;
1026 spinlock_t treelog_bg_lock;
1027 u64 treelog_bg;
1054 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument