Searched refs:machclk_freq (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/sys/net/altq/
H A Daltq_codel.c128 cif->codel.params.target = machclk_freq * opts->target / 1000;
129 cif->codel.params.interval = machclk_freq * opts->interval / 1000;
268 c->params.target = machclk_freq * target / 1000;
269 c->params.interval = machclk_freq * interval / 1000;
H A Daltq_fairq.c651 bw = b->bw_bytes * machclk_freq / b->bw_delta;
717 if (delta > machclk_freq * 8)
718 delta = machclk_freq * 8;
729 if (delta > machclk_freq * 8)
730 delta = machclk_freq * 8;
766 if (delta > machclk_freq * 8)
767 delta = machclk_freq * 8;
771 bw = cl->cl_bw_bytes * machclk_freq / cl->cl_bw_delta;
823 bw = b->bw_bytes * machclk_freq / b->bw_delta;
H A Daltq_subr.c296 * (((bits_per_sec) / 8) << 32) / machclk_freq
366 if (machclk_freq == 0)
368 if (machclk_freq == 0) {
392 tbr->tbr_rate = TBR_SCALE(profile->rate / 8) / machclk_freq;
474 (u_int)TBR_UNSCALE(tbr->tbr_rate * 8 * machclk_freq);
570 if (machclk_freq == 0)
572 if (machclk_freq == 0)
896 u_int32_t machclk_freq; variable
964 machclk_freq = 1000000 << MACHCLK_SHIFT;
965 machclk_per_tick = machclk_freq / h
[all...]
H A Daltq_hfsc.h95 u_int32_t machclk_freq; member in struct:hfsc_classstats
163 u_int32_t machclk_freq; /* machine clock frequency */ member in struct:hfsc_class_stats
H A Daltq_cdnr.c511 * (((bits_per_sec) / 8) << 32) / machclk_freq
524 tb->rate = TB_SCALE(profile->rate / 8) / machclk_freq;
783 tsw->timewin = (u_int64_t)machclk_freq * avg_interval / 1000;
823 * pkt_len needs to be multiplied by machclk_freq in order to
830 + (u_int64_t)len * machclk_freq) / (tsw->timewin + interval);
1116 tsw->timewin = (u_int64_t)machclk_freq * ap->avg_interval / 1000;
1203 if (machclk_freq == 0)
1206 if (machclk_freq == 0) {
H A Daltq_hfsc.c1420 sm = ((u_int64_t)m << SM_SHIFT) / 8 / machclk_freq;
1432 ism = ((u_int64_t)machclk_freq << ISM_SHIFT) * 8 / m;
1441 dx = ((u_int64_t)d * machclk_freq) / 1000;
1450 m = (sm * 8 * machclk_freq) >> SM_SHIFT;
1459 d = dx * 1000 / machclk_freq;
1654 sp->machclk_freq = machclk_freq;
1879 if (machclk_freq == 0)
1882 if (machclk_freq == 0) {
2197 ap->machclk_freq
[all...]
H A Daltq_var.h122 extern u_int32_t machclk_freq;

Completed in 201 milliseconds