Lines Matching defs:btrfs_space_info
86 struct btrfs_space_info { struct
87 spinlock_t lock;
89 u64 total_bytes; /* total bytes in the space,
91 u64 bytes_used; /* total bytes used,
93 u64 bytes_pinned; /* total bytes pinned, will be freed when the
95 u64 bytes_reserved; /* total bytes the allocator has reserved for
97 u64 bytes_may_use; /* number of bytes that may be used for
99 u64 bytes_readonly; /* total bytes that are read only */
100 u64 bytes_zone_unusable; /* total bytes that are unusable until
103 u64 max_extent_size; /* This will hold the maximum extent size of
107 u64 chunk_size;
113 int bg_reclaim_threshold;
115 int clamp; /* Used to scale our threshold for preemptive
119 unsigned int full:1; /* indicates that we cannot allocate any more
121 unsigned int chunk_alloc:1; /* set if we are allocating a chunk */
123 unsigned int flush:1; /* set if we are trying to make space */
125 unsigned int force_alloc; /* set if we need to force a chunk
128 u64 disk_used; /* total bytes used on disk */
129 u64 disk_total; /* total bytes on disk, takes mirrors into
132 u64 flags;
134 struct list_head list;
136 struct list_head ro_bgs;
137 struct list_head priority_tickets;
138 struct list_head tickets;
144 u64 reclaim_size;
168 static inline bool btrfs_mixed_space_info(struct btrfs_space_info *space_info) in btrfs_mixed_space_info() argument