• Home
  • Raw
  • Download

Lines Matching defs:btrfs_fs_info

583 struct btrfs_fs_info {  struct
584 u8 chunk_tree_uuid[BTRFS_UUID_SIZE];
585 unsigned long flags;
586 struct btrfs_root *extent_root;
587 struct btrfs_root *tree_root;
588 struct btrfs_root *chunk_root;
589 struct btrfs_root *dev_root;
590 struct btrfs_root *fs_root;
591 struct btrfs_root *csum_root;
592 struct btrfs_root *quota_root;
593 struct btrfs_root *uuid_root;
594 struct btrfs_root *free_space_root;
595 struct btrfs_root *data_reloc_root;
598 struct btrfs_root *log_root_tree;
600 spinlock_t fs_roots_radix_lock;
601 struct radix_tree_root fs_roots_radix;
604 spinlock_t block_group_cache_lock;
605 u64 first_logical_byte;
606 struct rb_root block_group_cache_tree;
609 atomic64_t free_chunk_space;
612 struct extent_io_tree excluded_extents;
615 struct extent_map_tree mapping_tree;
621 struct btrfs_block_rsv global_block_rsv;
623 struct btrfs_block_rsv trans_block_rsv;
625 struct btrfs_block_rsv chunk_block_rsv;
627 struct btrfs_block_rsv delayed_block_rsv;
629 struct btrfs_block_rsv delayed_refs_rsv;
631 struct btrfs_block_rsv empty_block_rsv;
633 u64 generation;
634 u64 last_trans_committed;
635 u64 avg_delayed_ref_runtime;
641 u64 last_trans_log_full_commit;
642 unsigned long mount_opt;
647 unsigned long pending_changes;
648 unsigned long compress_type:4;
649 unsigned int compress_level;
650 u32 commit_interval;
657 u64 max_inline;
659 struct btrfs_transaction *running_transaction;
660 wait_queue_head_t transaction_throttle;
661 wait_queue_head_t transaction_wait;
662 wait_queue_head_t transaction_blocked_wait;
663 wait_queue_head_t async_submit_wait;
675 spinlock_t super_lock;
676 struct btrfs_super_block *super_copy;
677 struct btrfs_super_block *super_for_commit;
678 struct super_block *sb;
679 struct inode *btree_inode;
680 struct mutex tree_log_mutex;
681 struct mutex transaction_kthread_mutex;
682 struct mutex cleaner_mutex;
683 struct mutex chunk_mutex;
689 struct mutex ro_block_group_mutex;
695 struct btrfs_stripe_hash_table *stripe_hash_table;
704 struct mutex ordered_operations_mutex;
706 struct rw_semaphore commit_root_sem;
708 struct rw_semaphore cleanup_work_sem;
710 struct rw_semaphore subvol_sem;
712 spinlock_t trans_lock;
717 struct mutex reloc_mutex;
719 struct list_head trans_list;
720 struct list_head dead_roots;
721 struct list_head caching_block_groups;
723 spinlock_t delayed_iput_lock;
724 struct list_head delayed_iputs;
725 atomic_t nr_delayed_iputs;
726 wait_queue_head_t delayed_iputs_wait;
728 atomic64_t tree_mod_seq;
731 rwlock_t tree_mod_log_lock;
732 struct rb_root tree_mod_log;
733 struct list_head tree_mod_seq_list;
735 atomic_t async_delalloc_pages;
740 spinlock_t ordered_root_lock;
749 struct list_head ordered_roots;
751 struct mutex delalloc_root_mutex;
752 spinlock_t delalloc_root_lock;
754 struct list_head delalloc_roots;
766 struct btrfs_workqueue *workers;
767 struct btrfs_workqueue *delalloc_workers;
768 struct btrfs_workqueue *flush_workers;
769 struct btrfs_workqueue *endio_workers;
770 struct btrfs_workqueue *endio_meta_workers;
771 struct btrfs_workqueue *endio_raid56_workers;
772 struct btrfs_workqueue *rmw_workers;
773 struct btrfs_workqueue *endio_meta_write_workers;
774 struct btrfs_workqueue *endio_write_workers;
775 struct btrfs_workqueue *endio_freespace_worker;
776 struct btrfs_workqueue *caching_workers;
777 struct btrfs_workqueue *readahead_workers;
784 struct btrfs_workqueue *fixup_workers;
785 struct btrfs_workqueue *delayed_workers;
787 struct task_struct *transaction_kthread;
788 struct task_struct *cleaner_kthread;
789 u32 thread_pool_size;
791 struct kobject *space_info_kobj;
792 struct kobject *qgroups_kobj;
794 u64 total_pinned;
797 struct percpu_counter dirty_metadata_bytes;
798 struct percpu_counter delalloc_bytes;
799 struct percpu_counter dio_bytes;
800 s32 dirty_metadata_batch;
801 s32 delalloc_batch;
803 struct list_head dirty_cowonly_roots;
805 struct btrfs_fs_devices *fs_devices;
812 struct list_head space_info;
814 struct btrfs_space_info *data_sinfo;
816 struct reloc_control *reloc_ctl;
819 struct btrfs_free_cluster data_alloc_cluster;
822 struct btrfs_free_cluster meta_alloc_cluster;
825 spinlock_t defrag_inodes_lock;
826 struct rb_root defrag_inodes;
827 atomic_t defrag_running;
830 seqlock_t profiles_lock;
836 u64 avail_data_alloc_bits;
837 u64 avail_metadata_alloc_bits;
838 u64 avail_system_alloc_bits;
841 spinlock_t balance_lock;
842 struct mutex balance_mutex;
843 atomic_t balance_pause_req;
844 atomic_t balance_cancel_req;
845 struct btrfs_balance_control *balance_ctl;
846 wait_queue_head_t balance_wait_q;
848 u32 data_chunk_allocations;
849 u32 metadata_ratio;
851 void *bdev_holder;
854 struct mutex scrub_lock;
855 atomic_t scrubs_running;
856 atomic_t scrub_pause_req;
857 atomic_t scrubs_paused;
858 atomic_t scrub_cancel_req;
859 wait_queue_head_t scrub_pause_wait;
864 refcount_t scrub_workers_refcnt;
865 struct btrfs_workqueue *scrub_workers;
866 struct btrfs_workqueue *scrub_wr_completion_workers;
867 struct btrfs_workqueue *scrub_parity_workers;
869 struct btrfs_discard_ctl discard_ctl;
872 u32 check_integrity_print_mask;
875 u64 qgroup_flags;
878 struct rb_root qgroup_tree;
879 spinlock_t qgroup_lock;
885 struct ulist *qgroup_ulist;
891 struct mutex qgroup_ioctl_lock;
894 struct list_head dirty_qgroups;
897 u64 qgroup_seq;
900 struct mutex qgroup_rescan_lock; /* protects the progress item */
901 struct btrfs_key qgroup_rescan_progress;
902 struct btrfs_workqueue *qgroup_rescan_workers;
903 struct completion qgroup_rescan_completion;
904 struct btrfs_work qgroup_rescan_work;
905 bool qgroup_rescan_running; /* protected by qgroup_rescan_lock */
908 unsigned long fs_state;
910 struct btrfs_delayed_root *delayed_root;
913 spinlock_t reada_lock;
914 struct radix_tree_root reada_tree;
917 atomic_t reada_works_cnt;
920 spinlock_t buffer_lock;
921 struct radix_tree_root buffer_radix;
924 int backup_root_index;
927 struct btrfs_dev_replace dev_replace;
929 struct semaphore uuid_tree_rescan_sem;
932 struct work_struct async_reclaim_work;
933 struct work_struct async_data_reclaim_work;
935 spinlock_t unused_bgs_lock;
936 struct list_head unused_bgs;
937 struct mutex unused_bg_unpin_mutex;
938 struct mutex delete_unused_bgs_mutex;
941 u32 nodesize;
942 u32 sectorsize;
943 u32 stripesize;
946 spinlock_t swapfile_pins_lock;
947 struct rb_root swapfile_pins;
949 struct crypto_shash *csum_shash;
975 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument