Home | History | Annotate | Download | only in err

Lines Matching refs:ERR_NUM_ERRORS

145   // errors contains the ERR_NUM_ERRORS most recent errors, organised as a ring
147 struct err_error_st errors[ERR_NUM_ERRORS];
194 for (unsigned i = 0; i < ERR_NUM_ERRORS; i++) {
236 i = (state->bottom + 1) % ERR_NUM_ERRORS;
335 for (i = 0; i < ERR_NUM_ERRORS; i++) {
651 state->top = (state->top + 1) % ERR_NUM_ERRORS;
653 state->bottom = (state->bottom + 1) % ERR_NUM_ERRORS;
767 state->top = ERR_NUM_ERRORS - 1;
816 : ERR_NUM_ERRORS + state->top - state->bottom;
817 assert(num_errors < ERR_NUM_ERRORS);
827 size_t j = (state->bottom + i + 1) % ERR_NUM_ERRORS;
848 dst->bottom = ERR_NUM_ERRORS - 1;