Lines Matching defs:btrfs_fs_info
616 struct btrfs_fs_info { struct
617 u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
618 unsigned long flags;
619 struct btrfs_root *extent_root;
620 struct btrfs_root *tree_root;
621 struct btrfs_root *chunk_root;
622 struct btrfs_root *dev_root;
623 struct btrfs_root *fs_root;
624 struct btrfs_root *csum_root;
625 struct btrfs_root *quota_root;
626 struct btrfs_root *uuid_root;
627 struct btrfs_root *free_space_root;
628 struct btrfs_root *data_reloc_root;
631 struct btrfs_root *log_root_tree;
633 spinlock_t fs_roots_radix_lock;
634 struct radix_tree_root fs_roots_radix;
637 spinlock_t block_group_cache_lock;
638 u64 first_logical_byte;
639 struct rb_root block_group_cache_tree;
642 atomic64_t free_chunk_space;
645 struct extent_io_tree excluded_extents;
648 struct extent_map_tree mapping_tree;
654 struct btrfs_block_rsv global_block_rsv;
656 struct btrfs_block_rsv trans_block_rsv;
658 struct btrfs_block_rsv chunk_block_rsv;
660 struct btrfs_block_rsv delayed_block_rsv;
662 struct btrfs_block_rsv delayed_refs_rsv;
664 struct btrfs_block_rsv empty_block_rsv;
666 u64 generation;
667 u64 last_trans_committed;
668 u64 avg_delayed_ref_runtime;
674 u64 last_trans_log_full_commit;
675 unsigned long mount_opt;
680 unsigned long pending_changes;
681 unsigned long compress_type:4;
682 unsigned int compress_level;
683 u32 commit_interval;
690 u64 max_inline;
692 struct btrfs_transaction *running_transaction;
693 wait_queue_head_t transaction_throttle;
694 wait_queue_head_t transaction_wait;
695 wait_queue_head_t transaction_blocked_wait;
696 wait_queue_head_t async_submit_wait;
708 spinlock_t super_lock;
709 struct btrfs_super_block *super_copy;
710 struct btrfs_super_block *super_for_commit;
711 struct super_block *sb;
712 struct inode *btree_inode;
713 struct mutex tree_log_mutex;
714 struct mutex transaction_kthread_mutex;
715 struct mutex cleaner_mutex;
716 struct mutex chunk_mutex;
722 struct mutex ro_block_group_mutex;
728 struct btrfs_stripe_hash_table *stripe_hash_table;
737 struct mutex ordered_operations_mutex;
739 struct rw_semaphore commit_root_sem;
741 struct rw_semaphore cleanup_work_sem;
743 struct rw_semaphore subvol_sem;
745 spinlock_t trans_lock;
750 struct mutex reloc_mutex;
752 struct list_head trans_list;
753 struct list_head dead_roots;
754 struct list_head caching_block_groups;
756 spinlock_t delayed_iput_lock;
757 struct list_head delayed_iputs;
758 atomic_t nr_delayed_iputs;
759 wait_queue_head_t delayed_iputs_wait;
761 atomic64_t tree_mod_seq;
764 rwlock_t tree_mod_log_lock;
765 struct rb_root tree_mod_log;
766 struct list_head tree_mod_seq_list;
768 atomic_t async_delalloc_pages;
773 spinlock_t ordered_root_lock;
782 struct list_head ordered_roots;
784 struct mutex delalloc_root_mutex;
785 spinlock_t delalloc_root_lock;
787 struct list_head delalloc_roots;
799 struct btrfs_workqueue *workers;
800 struct btrfs_workqueue *delalloc_workers;
801 struct btrfs_workqueue *flush_workers;
802 struct btrfs_workqueue *endio_workers;
803 struct btrfs_workqueue *endio_meta_workers;
804 struct btrfs_workqueue *endio_raid56_workers;
805 struct btrfs_workqueue *rmw_workers;
806 struct btrfs_workqueue *endio_meta_write_workers;
807 struct btrfs_workqueue *endio_write_workers;
808 struct btrfs_workqueue *endio_freespace_worker;
809 struct btrfs_workqueue *caching_workers;
810 struct btrfs_workqueue *readahead_workers;
817 struct btrfs_workqueue *fixup_workers;
818 struct btrfs_workqueue *delayed_workers;
820 struct task_struct *transaction_kthread;
821 struct task_struct *cleaner_kthread;
822 u32 thread_pool_size;
824 struct kobject *space_info_kobj;
825 struct kobject *qgroups_kobj;
828 struct percpu_counter dirty_metadata_bytes;
829 struct percpu_counter delalloc_bytes;
830 struct percpu_counter ordered_bytes;
831 s32 dirty_metadata_batch;
832 s32 delalloc_batch;
834 struct list_head dirty_cowonly_roots;
836 struct btrfs_fs_devices *fs_devices;
843 struct list_head space_info;
845 struct btrfs_space_info *data_sinfo;
847 struct reloc_control *reloc_ctl;
850 struct btrfs_free_cluster data_alloc_cluster;
853 struct btrfs_free_cluster meta_alloc_cluster;
856 spinlock_t defrag_inodes_lock;
857 struct rb_root defrag_inodes;
858 atomic_t defrag_running;
861 seqlock_t profiles_lock;
867 u64 avail_data_alloc_bits;
868 u64 avail_metadata_alloc_bits;
869 u64 avail_system_alloc_bits;
872 spinlock_t balance_lock;
873 struct mutex balance_mutex;
874 atomic_t balance_pause_req;
875 atomic_t balance_cancel_req;
876 struct btrfs_balance_control *balance_ctl;
877 wait_queue_head_t balance_wait_q;
880 atomic_t reloc_cancel_req;
882 u32 data_chunk_allocations;
883 u32 metadata_ratio;
885 void *bdev_holder;
888 struct mutex scrub_lock;
889 atomic_t scrubs_running;
890 atomic_t scrub_pause_req;
891 atomic_t scrubs_paused;
892 atomic_t scrub_cancel_req;
893 wait_queue_head_t scrub_pause_wait;
898 refcount_t scrub_workers_refcnt;
899 struct btrfs_workqueue *scrub_workers;
900 struct btrfs_workqueue *scrub_wr_completion_workers;
901 struct btrfs_workqueue *scrub_parity_workers;
903 struct btrfs_discard_ctl discard_ctl;
906 u32 check_integrity_print_mask;
909 u64 qgroup_flags;
912 struct rb_root qgroup_tree;
913 spinlock_t qgroup_lock;
919 struct ulist *qgroup_ulist;
925 struct mutex qgroup_ioctl_lock;
928 struct list_head dirty_qgroups;
931 u64 qgroup_seq;
934 struct mutex qgroup_rescan_lock; /* protects the progress item */
935 struct btrfs_key qgroup_rescan_progress;
936 struct btrfs_workqueue *qgroup_rescan_workers;
937 struct completion qgroup_rescan_completion;
938 struct btrfs_work qgroup_rescan_work;
939 bool qgroup_rescan_running; /* protected by qgroup_rescan_lock */
942 unsigned long fs_state;
944 struct btrfs_delayed_root *delayed_root;
947 spinlock_t reada_lock;
948 struct radix_tree_root reada_tree;
951 atomic_t reada_works_cnt;
954 spinlock_t buffer_lock;
956 struct radix_tree_root buffer_radix;
959 int backup_root_index;
962 struct btrfs_dev_replace dev_replace;
964 struct semaphore uuid_tree_rescan_sem;
967 struct work_struct async_reclaim_work;
968 struct work_struct async_data_reclaim_work;
969 struct work_struct preempt_reclaim_work;
972 struct work_struct reclaim_bgs_work;
973 struct list_head reclaim_bgs;
974 int bg_reclaim_threshold;
976 spinlock_t unused_bgs_lock;
977 struct list_head unused_bgs;
978 struct mutex unused_bg_unpin_mutex;
980 struct mutex reclaim_bgs_lock;
983 u32 nodesize;
984 u32 sectorsize;
986 u32 sectorsize_bits;
987 u32 csum_size;
988 u32 csums_per_leaf;
989 u32 stripesize;
992 spinlock_t swapfile_pins_lock;
993 struct rb_root swapfile_pins;
995 struct crypto_shash *csum_shash;
997 spinlock_t send_reloc_lock;
1002 int send_in_progress;
1005 enum btrfs_exclusive_operation exclusive_operation;
1011 union {
1035 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument