Searched refs:data_sinfo (Results 1 – 1 of 1) sorted by relevance
3277 struct btrfs_space_info *data_sinfo; in btrfs_check_data_free_space() local3291 data_sinfo = BTRFS_I(inode)->space_info; in btrfs_check_data_free_space()3292 if (!data_sinfo) in btrfs_check_data_free_space()3297 spin_lock(&data_sinfo->lock); in btrfs_check_data_free_space()3298 used = data_sinfo->bytes_used + data_sinfo->bytes_reserved + in btrfs_check_data_free_space()3299 data_sinfo->bytes_pinned + data_sinfo->bytes_readonly + in btrfs_check_data_free_space()3300 data_sinfo->bytes_may_use; in btrfs_check_data_free_space()3302 if (used + bytes > data_sinfo->total_bytes) { in btrfs_check_data_free_space()3309 if (!data_sinfo->full && alloc_chunk) { in btrfs_check_data_free_space()3312 data_sinfo->force_alloc = CHUNK_ALLOC_FORCE; in btrfs_check_data_free_space()[all …]