Make NHIT API naming convention similar to cleaning

Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
Jan Musial
2019-09-10 16:43:48 +02:00
parent 29c1c7f9e8
commit 633f31716e
2 changed files with 19 additions and 19 deletions

View File

@@ -6,18 +6,18 @@
#ifndef __OCF_PROMOTION_NHIT_H__
#define __OCF_PROMOTION_NHIT_H__
enum nhit_param {
nhit_insertion_threshold,
nhit_trigger_threshold,
nhit_param_max
enum ocf_nhit_param {
ocf_nhit_insertion_threshold,
ocf_nhit_trigger_threshold,
ocf_nhit_param_max
};
#define NHIT_MIN_THRESHOLD 2
#define NHIT_MAX_THRESHOLD 1000
#define NHIT_THRESHOLD_DEFAULT 3
#define OCF_NHIT_MIN_THRESHOLD 2
#define OCF_NHIT_MAX_THRESHOLD 1000
#define OCF_NHIT_THRESHOLD_DEFAULT 3
#define NHIT_MIN_TRIGGER 0
#define NHIT_MAX_TRIGGER 100
#define NHIT_TRIGGER_DEFAULT 80
#define OCF_NHIT_MIN_TRIGGER 0
#define OCF_NHIT_MAX_TRIGGER 100
#define OCF_NHIT_TRIGGER_DEFAULT 80
#endif /* __OCF_PROMOTION_NHIT_H__ */