Searched refs:MAX_RESYNC_SAMPLES (Results 1 – 2 of 2) sorted by relevance
512 const size_t lastSampleIdx = (mFirstResyncSample + mNumResyncSamples - 1) % MAX_RESYNC_SAMPLES; in resetLocked()519 for (size_t i = 0; i < MAX_RESYNC_SAMPLES; i++) { in resetLocked()559 const size_t idx = (mFirstResyncSample + mNumResyncSamples) % MAX_RESYNC_SAMPLES; in addResyncSample()568 const size_t priorIdx = (mFirstResyncSample + mNumResyncSamples - 1) % MAX_RESYNC_SAMPLES; in addResyncSample()588 if (mNumResyncSamples < MAX_RESYNC_SAMPLES) { in addResyncSample()591 mFirstResyncSample = (mFirstResyncSample + 1) % MAX_RESYNC_SAMPLES; in addResyncSample()666 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()667 size_t prev = (idx + MAX_RESYNC_SAMPLES - 1) % MAX_RESYNC_SAMPLES; in updateModelLocked()685 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()800 MAX_RESYNC_SAMPLES); in dump()[all …]
196 enum { MAX_RESYNC_SAMPLES = 32 }; enumerator238 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES] = {0};