Searched refs:div64 (Results 1 – 3 of 3) sorted by relevance
354 u_int t = div64((V_dn_cfg.curr_time - q->q_time), fs->lookup_step); in red_drops()396 p_b = div64((p_b * len) , fs->max_pkt_size); in red_drops()604 bits = div64((uint64_t)pf->samples[index] * s->link.bandwidth, 1000); in extra_bits()665 t = div64(bw - 1 - si->credit, bw); in serve_sched()
53 #define div64(a, b) ((int64_t)(a) / (int64_t)(b)) macro
975 dn.l.burst = div64(dn.l.burst, 8 * hz); in copy_obj()1221 idle = div64((s * 3) , fs->w_q); /* s, fs->w_q scaled; idle not scaled */ in config_red()1222 fs->lookup_step = div64(idle , V_dn_cfg.red_lookup_depth); in config_red()