Lines Matching defs:loop_track
113 bool mail_cache_track_loops(struct mail_cache_loop_track *loop_track,
122 if (loop_track->size_sum == 0) {
124 loop_track->min_offset = offset;
125 loop_track->max_offset = offset + size;
127 if (loop_track->min_offset > offset)
128 loop_track->min_offset = offset;
129 if (loop_track->max_offset < offset + size)
130 loop_track->max_offset = offset + size;
133 loop_track->size_sum += size;
134 return loop_track->size_sum >
135 (loop_track->max_offset - loop_track->min_offset);
162 i_zero(&view->loop_track);
213 i_zero(&view->loop_track);
222 if (mail_cache_track_loops(&view->loop_track, ctx->offset,