Lines Matching defs:btrfs_space_info
85 struct btrfs_space_info { struct
86 spinlock_t lock;
88 u64 total_bytes; /* total bytes in the space,
90 u64 bytes_used; /* total bytes used,
92 u64 bytes_pinned; /* total bytes pinned, will be freed when the
94 u64 bytes_reserved; /* total bytes the allocator has reserved for
96 u64 bytes_may_use; /* number of bytes that may be used for
98 u64 bytes_readonly; /* total bytes that are read only */
100 u64 active_total_bytes;
101 u64 bytes_zone_unusable; /* total bytes that are unusable until
104 u64 max_extent_size; /* This will hold the maximum extent size of
108 u64 chunk_size;
114 int bg_reclaim_threshold;
116 int clamp; /* Used to scale our threshold for preemptive
120 unsigned int full:1; /* indicates that we cannot allocate any more
122 unsigned int chunk_alloc:1; /* set if we are allocating a chunk */
124 unsigned int flush:1; /* set if we are trying to make space */
126 unsigned int force_alloc; /* set if we need to force a chunk
129 u64 disk_used; /* total bytes used on disk */
130 u64 disk_total; /* total bytes on disk, takes mirrors into
133 u64 flags;
135 struct list_head list;
137 struct list_head ro_bgs;
138 struct list_head priority_tickets;
139 struct list_head tickets;
145 u64 reclaim_size;
169 static inline bool btrfs_mixed_space_info(struct btrfs_space_info *space_info) in btrfs_mixed_space_info() argument