Remove remaining core_id occurrences from public API
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -86,15 +86,6 @@ uint32_t ocf_core_get_seq_cutoff_threshold(ocf_core_t core);
|
||||
*/
|
||||
ocf_seq_cutoff_policy ocf_core_get_seq_cutoff_policy(ocf_core_t core);
|
||||
|
||||
/**
|
||||
* @brief Get ID of given core object
|
||||
*
|
||||
* @param[in] core Core object
|
||||
*
|
||||
* @retval Core ID
|
||||
*/
|
||||
ocf_core_id_t ocf_core_get_id(ocf_core_t core);
|
||||
|
||||
/**
|
||||
* @brief Get name of given core object
|
||||
*
|
||||
@@ -113,18 +104,6 @@ const char *ocf_core_get_name(ocf_core_t core);
|
||||
*/
|
||||
ocf_core_state_t ocf_core_get_state(ocf_core_t core);
|
||||
|
||||
/**
|
||||
* @brief Obtain core object of given ID from cache
|
||||
*
|
||||
* @param[in] cache Cache object
|
||||
* @param[in] id Core ID
|
||||
* @param[out] core Core object
|
||||
*
|
||||
* @retval 0 Success
|
||||
* @retval Non-zero Core getting failed
|
||||
*/
|
||||
int ocf_core_get(ocf_cache_t cache, ocf_core_id_t id, ocf_core_t *core);
|
||||
|
||||
/**
|
||||
* @brief Allocate new ocf_io
|
||||
*
|
||||
|
||||
@@ -85,8 +85,8 @@ struct ocf_event_core_desc {
|
||||
/** Event header */
|
||||
struct ocf_event_hdr hdr;
|
||||
|
||||
/** Core Id */
|
||||
ocf_core_id_t id;
|
||||
/** Core name */
|
||||
const char *name;
|
||||
|
||||
/** Core size in bytes */
|
||||
uint64_t core_size;
|
||||
@@ -123,8 +123,8 @@ struct ocf_event_io {
|
||||
/** IO class of IO */
|
||||
uint32_t io_class;
|
||||
|
||||
/** Core ID */
|
||||
ocf_core_id_t core_id;
|
||||
/** Core name */
|
||||
const char *core_name;
|
||||
|
||||
/** Operation type: read, write, trim or flush **/
|
||||
ocf_event_operation_t operation;
|
||||
|
||||
Reference in New Issue
Block a user