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;
228 struct xarray inodes;
231 struct xarray delayed_nodes;
236 dev_t anon_dev;
238 spinlock_t root_item_lock;
239 refcount_t refs;
241 struct mutex delalloc_mutex;
242 spinlock_t delalloc_lock;
248 struct list_head delalloc_inodes;
249 struct list_head delalloc_root;
250 u64 nr_delalloc_inodes;
252 struct mutex ordered_extent_mutex;
257 spinlock_t ordered_extent_lock;
264 struct list_head ordered_extents;
265 struct list_head ordered_root;
266 u64 nr_ordered_extents;
274 struct list_head reloc_dirty_list;
280 int send_in_progress;
286 int dedupe_in_progress;
288 struct btrfs_drew_lock snapshot_lock;
290 atomic_t snapshot_force_cow;
293 spinlock_t qgroup_meta_rsv_lock;
294 u64 qgroup_meta_rsv_pertrans;
295 u64 qgroup_meta_rsv_prealloc;
319 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly() argument