Searched refs:div64 (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_io.c | 350 u_int t = div64((V_dn_cfg.curr_time - q->q_time), fs->lookup_step); in red_drops() 392 p_b = div64((p_b * len) , fs->max_pkt_size); in red_drops() 599 bits = div64((uint64_t)pf->samples[index] * s->link.bandwidth, 1000); in extra_bits() 660 t = div64(bw - 1 - si->credit, bw); in serve_sched()
|
H A D | ip_dn_private.h | 53 #define div64(a, b) ((int64_t)(a) / (int64_t)(b)) macro
|
H A D | ip_dn_glue.c | 643 pipe8->burst = div64(l->burst , 8 * hz); in dn_c_copy_pipe()
|
H A D | ip_dummynet.c | 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()
|