Lines Matching defs:psecPerByte
198 rmc_newclass(int pri, struct rm_ifdat *ifd, uint64_t psecPerByte,
246 cl->allotment_ = (u_int)(RM_PS_PER_SEC / psecPerByte); /* Bytes per sec */
249 cl->ps_per_byte_ = psecPerByte;
257 cl->minidle_ = ((int64_t)minidle * (int64_t)psecPerByte) / 8;
263 cl->maxidle_ = ((int64_t)maxidle * (int64_t)psecPerByte) / 8;
268 cl->offtime_ = (((int64_t)offtime * (int64_t)psecPerByte) / 8) >> RM_FILTER_GAIN;
290 red_pkttime = PSEC_TO_NSEC(psecPerByte) * pktsize / 1000;
351 rmc_modclass(struct rm_class *cl, uint64_t psecPerByte, int maxq, u_int maxidle,
362 cl->allotment_ = (u_int)(RM_PS_PER_SEC / psecPerByte); /* Bytes per sec */
364 cl->ps_per_byte_ = psecPerByte;
369 cl->minidle_ = ((int64_t)minidle * (int64_t)psecPerByte) / 8;
375 cl->maxidle_ = ((int64_t)maxidle * (int64_t)psecPerByte) / 8;
380 cl->offtime_ = (((int64_t)offtime * (int64_t)psecPerByte) / 8) >> RM_FILTER_GAIN;
665 rmc_init(struct ifaltq *ifq, struct rm_ifdat *ifd, uint64_t psecPerByte,
687 ifd->ps_per_byte_ = psecPerByte;
692 ifd->maxiftime_ = mtu * psecPerByte / 1000 / 1000 * 16;
693 if ((int64_t)mtu * psecPerByte > (int64_t)10 * 1000000000)
726 psecPerByte,