Lines Matching defs:btrfs_block_group
58 struct btrfs_block_group { struct
59 struct btrfs_fs_info *fs_info;
60 struct inode *inode;
61 spinlock_t lock;
62 u64 start;
63 u64 length;
64 u64 pinned;
65 u64 reserved;
66 u64 used;
67 u64 delalloc_bytes;
68 u64 bytes_super;
69 u64 flags;
70 u64 cache_generation;
76 u32 bitmap_high_thresh;
82 u32 bitmap_low_thresh;
89 struct rw_semaphore data_rwsem;
92 unsigned long full_stripe_len;
94 unsigned int ro;
95 unsigned int iref:1;
96 unsigned int has_caching_ctl:1;
97 unsigned int removed:1;
99 int disk_cache_state;
102 int cached;
103 struct btrfs_caching_control *caching_ctl;
104 u64 last_byte_to_unpin;
106 struct btrfs_space_info *space_info;
109 struct btrfs_free_space_ctl *free_space_ctl;
112 struct rb_node cache_node;
115 struct list_head list;
117 refcount_t refs;
123 struct list_head cluster_list;
126 struct list_head bg_list;
129 struct list_head ro_list;
139 atomic_t frozen;
142 struct list_head discard_list;
143 int discard_index;
144 u64 discard_eligible_time;
145 u64 discard_cursor;
146 enum btrfs_discard_state discard_state;
149 struct list_head dirty_list;
150 struct list_head io_list;
152 struct btrfs_io_ctl io_ctl;
163 atomic_t reservations;
188 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group) in btrfs_block_group_end() argument