Searched refs:MAX_RESYNC_SAMPLES (Results 1 – 2 of 2) sorted by relevance
508 const size_t lastSampleIdx = (mFirstResyncSample + mNumResyncSamples - 1) % MAX_RESYNC_SAMPLES; in resetLocked()515 for (size_t i = 0; i < MAX_RESYNC_SAMPLES; i++) { in resetLocked()553 const size_t idx = (mFirstResyncSample + mNumResyncSamples) % MAX_RESYNC_SAMPLES; in addResyncSample()562 const size_t priorIdx = (mFirstResyncSample + mNumResyncSamples - 1) % MAX_RESYNC_SAMPLES; in addResyncSample()586 if (mNumResyncSamples < MAX_RESYNC_SAMPLES) { in addResyncSample()589 mFirstResyncSample = (mFirstResyncSample + 1) % MAX_RESYNC_SAMPLES; in addResyncSample()678 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()679 size_t prev = (idx + MAX_RESYNC_SAMPLES - 1) % MAX_RESYNC_SAMPLES; in updateModelLocked()696 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()814 MAX_RESYNC_SAMPLES); in dump()[all …]
198 enum { MAX_RESYNC_SAMPLES = 32 }; enumerator245 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES] = {0};