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 */
20 u64 bytes_zone_unusable; /* total bytes that are unusable until
23 u64 max_extent_size; /* This will hold the maximum extent size of
27 int clamp; /* Used to scale our threshold for preemptive
31 unsigned int full:1; /* indicates that we cannot allocate any more
33 unsigned int chunk_alloc:1; /* set if we are allocating a chunk */
35 unsigned int flush:1; /* set if we are trying to make space */
37 unsigned int force_alloc; /* set if we need to force a chunk
40 u64 disk_used; /* total bytes used on disk */
41 u64 disk_total; /* total bytes on disk, takes mirrors into
44 u64 flags;
46 struct list_head list;
48 struct list_head ro_bgs;
49 struct list_head priority_tickets;
50 struct list_head tickets;
56 u64 reclaim_size;
80 static inline bool btrfs_mixed_space_info(struct btrfs_space_info *space_info) in btrfs_mixed_space_info() argument