Searched refs:delayed_rsv (Results 1 – 3 of 3) sorted by relevance
279 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_block_rsv_release() local286 if (block_rsv == delayed_rsv) in btrfs_block_rsv_release()288 else if (block_rsv != global_rsv && !delayed_rsv->full) in btrfs_block_rsv_release()289 target = delayed_rsv; in btrfs_block_rsv_release()
577 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_block_rsv; in may_commit_transaction() local635 if (space_info != delayed_rsv->space_info) in may_commit_transaction()638 spin_lock(&delayed_rsv->lock); in may_commit_transaction()639 reclaim_bytes += delayed_rsv->reserved; in may_commit_transaction()640 spin_unlock(&delayed_rsv->lock); in may_commit_transaction()
101 struct btrfs_block_rsv *delayed_rsv = &fs_info->delayed_refs_rsv; in btrfs_update_delayed_refs_rsv() local109 spin_lock(&delayed_rsv->lock); in btrfs_update_delayed_refs_rsv()110 delayed_rsv->size += num_bytes; in btrfs_update_delayed_refs_rsv()111 delayed_rsv->full = 0; in btrfs_update_delayed_refs_rsv()112 spin_unlock(&delayed_rsv->lock); in btrfs_update_delayed_refs_rsv()