Lines Matching defs:credit
88 u_int32_t credit;
362 amount of credit `credit' and the most credit you can ever have
366 `prev' tracks the last packet hit: you gain one credit per jiffy.
367 If you get credit balance more than this, the extra credit is
406 dh->rateinfo.credit += (now - dh->rateinfo.prev) * CREDITS_PER_JIFFY;
407 if (dh->rateinfo.credit > dh->rateinfo.credit_cap)
408 dh->rateinfo.credit = dh->rateinfo.credit_cap;
538 dh->rateinfo.credit = user2credits(hinfo->cfg.avg *
549 if (dh->rateinfo.credit >= dh->rateinfo.cost) {
551 dh->rateinfo.credit -= dh->rateinfo.cost;
698 ent->rateinfo.credit, ent->rateinfo.credit_cap,
709 ent->rateinfo.credit, ent->rateinfo.credit_cap,