Lines Matching refs:diff
916 uint64_t bytes_limit, count_limit, current, limit, diff;
956 diff = current - limit;
957 if (ctx->bytes_over < diff)
958 ctx->bytes_over = diff;
960 diff = limit - current;
961 if (ctx->bytes_ceil2 > diff)
962 ctx->bytes_ceil2 = diff;
963 diff += !use_grace ? 0 :
965 if (ctx->bytes_ceil > diff)
966 ctx->bytes_ceil = diff;
987 diff = current - limit;
988 if (ctx->count_over < diff)
989 ctx->count_over = diff;
991 diff = limit - current;
992 if (ctx->count_ceil > diff)
993 ctx->count_ceil = diff;