
Change license to BSD-3-Clause Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
34 lines
662 B
C
34 lines
662 B
C
/*
|
|
* Copyright(c) 2012-2021 Intel Corporation
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef OCF_CONCURRENCY_H_
|
|
#define OCF_CONCURRENCY_H_
|
|
|
|
#include "../ocf_cache_priv.h"
|
|
|
|
/**
|
|
* @file utils_req.h
|
|
* @brief OCF concurrency
|
|
*/
|
|
|
|
/**
|
|
* @brief Initialize OCF concurrency module
|
|
*
|
|
* @param cache - OCF cache instance
|
|
* @return 0 - Initialization successful, otherwise ERROR
|
|
*/
|
|
int ocf_concurrency_init(struct ocf_cache *cache);
|
|
|
|
/**
|
|
* @biref De-Initialize OCF concurrency module
|
|
*
|
|
* @param cache - OCF cache instance
|
|
*/
|
|
void ocf_concurrency_deinit(struct ocf_cache *cache);
|
|
|
|
#include "ocf_cache_line_concurrency.h"
|
|
|
|
#endif /* OCF_CONCURRENCY_H_ */
|