Lines Matching defs:btrfs_root

192 struct btrfs_root {  struct
198 struct btrfs_root *log_root; argument
199 struct btrfs_root *reloc_root; argument
202 struct btrfs_root_item root_item; argument
203 struct btrfs_key root_key;
204 struct btrfs_fs_info *fs_info;
205 struct extent_io_tree dirty_log_pages;
207 struct mutex objectid_mutex;
209 spinlock_t accounting_lock;
210 struct btrfs_block_rsv *block_rsv;
212 struct mutex log_mutex;
213 wait_queue_head_t log_writer_wait;
214 wait_queue_head_t log_commit_wait[2];
215 struct list_head log_ctxs[2];
217 atomic_t log_writers;
218 atomic_t log_commit[2];
220 atomic_t log_batch;
221 int log_transid;
223 int log_transid_committed;
225 int last_log_commit;
226 pid_t log_start_pid;
228 u64 last_trans;
230 u32 type;
232 u64 free_objectid;
234 struct btrfs_key defrag_progress;
235 struct btrfs_key defrag_max;
238 struct list_head dirty_list;
240 struct list_head root_list;
242 spinlock_t log_extents_lock[2];
243 struct list_head logged_list[2];
245 spinlock_t inode_lock;
247 struct rb_root inode_tree;
253 struct radix_tree_root delayed_nodes_tree;
258 dev_t anon_dev;
260 spinlock_t root_item_lock;
261 refcount_t refs;
263 struct mutex delalloc_mutex;
264 spinlock_t delalloc_lock;
270 struct list_head delalloc_inodes;
271 struct list_head delalloc_root;
272 u64 nr_delalloc_inodes;
274 struct mutex ordered_extent_mutex;
279 spinlock_t ordered_extent_lock;
286 struct list_head ordered_extents;
287 struct list_head ordered_root;
288 u64 nr_ordered_extents;
296 struct list_head reloc_dirty_list;
302 int send_in_progress;
308 int dedupe_in_progress;
310 struct btrfs_drew_lock snapshot_lock;
312 atomic_t snapshot_force_cow;
338 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly() argument