Lines Matching defs:atr
254 double atr;
1840 e->atr = 0.0;
3556 fprintf(f, " [atr %0.2f] [quota %u]",
3557 entry->atr, entry->quota);
4259 INSIST(addr->entry->atr >= 0.0);
4260 INSIST(addr->entry->atr <= 1.0);
4263 addr->entry->atr *= 1.0 - adb->atr_discount;
4264 addr->entry->atr += tr * adb->atr_discount;
4265 addr->entry->atr = ISC_CLAMP(addr->entry->atr, 0.0, 1.0);
4267 if (addr->entry->atr < adb->atr_low && addr->entry->mode > 0) {
4270 log_quota(addr->entry, "atr %0.2f, quota increased to %u",
4271 addr->entry->atr, addr->entry->quota);
4272 } else if (addr->entry->atr > adb->atr_high &&
4276 log_quota(addr->entry, "atr %0.2f, quota decreased to %u",
4277 addr->entry->atr, addr->entry->quota);