Lines Matching defs:btrfs_root

167 struct btrfs_root {  struct
173 struct btrfs_root *log_root; argument
174 struct btrfs_root *reloc_root; argument
177 struct btrfs_root_item root_item; argument
178 struct btrfs_key root_key;
179 struct btrfs_fs_info *fs_info;
180 struct extent_io_tree dirty_log_pages;
182 struct mutex objectid_mutex;
184 spinlock_t accounting_lock;
185 struct btrfs_block_rsv *block_rsv;
187 struct mutex log_mutex;
188 wait_queue_head_t log_writer_wait;
189 wait_queue_head_t log_commit_wait[2];
190 struct list_head log_ctxs[2];
192 atomic_t log_writers;
193 atomic_t log_commit[2];
195 atomic_t log_batch;
204 int log_transid;
206 int log_transid_committed;
212 int last_log_commit;
213 pid_t log_start_pid;
215 u64 last_trans;
217 u64 free_objectid;
219 struct btrfs_key defrag_progress;
220 struct btrfs_key defrag_max;
223 struct list_head dirty_list;
225 struct list_head root_list;
231 struct xarray inodes;
237 struct xarray delayed_nodes;
242 dev_t anon_dev;
244 spinlock_t root_item_lock;
245 refcount_t refs;
247 struct mutex delalloc_mutex;
248 spinlock_t delalloc_lock;
254 struct list_head delalloc_inodes;
255 struct list_head delalloc_root;
256 u64 nr_delalloc_inodes;
258 struct mutex ordered_extent_mutex;
263 spinlock_t ordered_extent_lock;
270 struct list_head ordered_extents;
271 struct list_head ordered_root;
272 u64 nr_ordered_extents;
280 struct list_head reloc_dirty_list;
286 int send_in_progress;
292 int dedupe_in_progress;
294 struct btrfs_drew_lock snapshot_lock;
296 atomic_t snapshot_force_cow;
299 spinlock_t qgroup_meta_rsv_lock;
300 u64 qgroup_meta_rsv_pertrans;
301 u64 qgroup_meta_rsv_prealloc;
325 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly() argument