Searched refs:SLOTS_PID_HISTORY_SIZE (Results 1 – 2 of 2) sorted by relevance
240 #define SLOTS_PID_HISTORY_SIZE 20 macro246 s32 sample_history[SLOTS_PID_HISTORY_SIZE];247 s32 error_history[SLOTS_PID_HISTORY_SIZE];
1680 state->cur_sample = (state->cur_sample + 1) % SLOTS_PID_HISTORY_SIZE; in do_monitor_slots()1686 for (i = 0; i < (SLOTS_PID_HISTORY_SIZE - 1); i++) { in do_monitor_slots()1688 SLOTS_PID_HISTORY_SIZE; in do_monitor_slots()1699 for (i = 0; i < SLOTS_PID_HISTORY_SIZE; i++) in do_monitor_slots()1709 state->error_history[(state->cur_sample + SLOTS_PID_HISTORY_SIZE - 1) in do_monitor_slots()1710 % SLOTS_PID_HISTORY_SIZE]; in do_monitor_slots()