Lines Matching defs:btrfs_space_info
6 struct btrfs_space_info { struct
7 spinlock_t lock;
9 u64 total_bytes; /* total bytes in the space,
11 u64 bytes_used; /* total bytes used,
13 u64 bytes_pinned; /* total bytes pinned, will be freed when the
15 u64 bytes_reserved; /* total bytes the allocator has reserved for
17 u64 bytes_may_use; /* number of bytes that may be used for
19 u64 bytes_readonly; /* total bytes that are read only */
21 u64 max_extent_size; /* This will hold the maximum extent size of
25 unsigned int full:1; /* indicates that we cannot allocate any more
27 unsigned int chunk_alloc:1; /* set if we are allocating a chunk */
29 unsigned int flush:1; /* set if we are trying to make space */
31 unsigned int force_alloc; /* set if we need to force a chunk
34 u64 disk_used; /* total bytes used on disk */
35 u64 disk_total; /* total bytes on disk, takes mirrors into
38 u64 flags;
50 struct percpu_counter total_bytes_pinned;
52 struct list_head list;
54 struct list_head ro_bgs;
55 struct list_head priority_tickets;
56 struct list_head tickets;
62 u64 reclaim_size;
86 static inline bool btrfs_mixed_space_info(struct btrfs_space_info *space_info) in btrfs_mixed_space_info() argument