Lines Matching defs:btrfs_space_info
384 struct btrfs_space_info { struct
385 spinlock_t lock;
387 u64 total_bytes; /* total bytes in the space,
389 u64 bytes_used; /* total bytes used,
391 u64 bytes_pinned; /* total bytes pinned, will be freed when the
393 u64 bytes_reserved; /* total bytes the allocator has reserved for
395 u64 bytes_may_use; /* number of bytes that may be used for
397 u64 bytes_readonly; /* total bytes that are read only */
399 u64 max_extent_size; /* This will hold the maximum extent size of
403 unsigned int full:1; /* indicates that we cannot allocate any more
405 unsigned int chunk_alloc:1; /* set if we are allocating a chunk */
407 unsigned int flush:1; /* set if we are trying to make space */
409 unsigned int force_alloc; /* set if we need to force a chunk
412 u64 disk_used; /* total bytes used on disk */
413 u64 disk_total; /* total bytes on disk, takes mirrors into
416 u64 flags;
428 struct percpu_counter total_bytes_pinned;
430 struct list_head list;
432 struct list_head ro_bgs;
433 struct list_head priority_tickets;
434 struct list_head tickets;
461 struct btrfs_space_info *space_info; argument