Searched refs:bytes_per_sec (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/netinet/ |
H A D | tcp_ratelimit.c | 776 uint64_t bytes_per_sec, uint32_t flags, uint64_t *lower_rate) in tcp_int_find_suitable_rate() argument 782 mbits_per_sec = (bytes_per_sec * 8); in tcp_int_find_suitable_rate() 792 if (bytes_per_sec <= rs->rs_rlt[i].rate) { in tcp_int_find_suitable_rate() 839 if (bytes_per_sec == rs->rs_rlt[i].rate) { in tcp_int_find_suitable_rate() 847 if (bytes_per_sec == rs->rs_rlt[(ALL_HARDWARE_RATES-1)].rate) { in tcp_int_find_suitable_rate() 871 if (bytes_per_sec < rs->rs_rlt[i].rate) { in tcp_int_find_suitable_rate() 878 (bytes_per_sec == rs->rs_rlt[i].rate)) { in tcp_int_find_suitable_rate() 889 if ((bytes_per_sec < rs->rs_rlt[(ALL_HARDWARE_RATES-1)].rate) && in tcp_int_find_suitable_rate() 894 (bytes_per_sec == rs->rs_rlt[(ALL_HARDWARE_RATES-1)].rate) && in tcp_int_find_suitable_rate() 948 tcp_find_suitable_rate(const volatile struct tcp_rate_set *rs, uint64_t bytes_per_sec, uint32_t fla… in tcp_find_suitable_rate() argument [all …]
|
H A D | tcp_ratelimit.h | 119 uint64_t bytes_per_sec, int flags, int *error, uint64_t *lower_rate); 124 uint64_t bytes_per_sec, int flags, int *error, uint64_t *lower_rate); 142 uint64_t bytes_per_sec, int flags, int *error, uint64_t *lower_rate) in tcp_set_pacing_rate() argument 152 uint64_t bytes_per_sec, int flags, int *error, uint64_t *lower_rate) in tcp_chg_pacing_rate() argument
|
/freebsd/sys/dev/ice/ |
H A D | ice_sched.c | 3967 s64 bytes_per_sec, wakeup_int, wakeup_a, wakeup_b, wakeup_f; in ice_sched_calc_wakeup() 3972 bytes_per_sec = DIV_S64((s64)bw * 1000, BITS_PER_BYTE); in ice_sched_calc_wakeup() 3973 wakeup_int = DIV_S64(hw->psm_clk_freq, bytes_per_sec); in ice_sched_calc_wakeup() 3982 hw->psm_clk_freq, bytes_per_sec); in ice_sched_calc_wakeup() 4012 s64 bytes_per_sec, ts_rate, mv_tmp; in ice_sched_bw_to_rl_profile() 4024 bytes_per_sec = DIV_S64((s64)bw * 1000, BITS_PER_BYTE); in ice_sched_bw_to_rl_profile() 4036 mv_tmp = DIV_S64(bytes_per_sec * ICE_RL_PROF_MULTIPLIER, in ice_sched_bw_to_rl_profile() 3965 s64 bytes_per_sec, wakeup_int, wakeup_a, wakeup_b, wakeup_f; ice_sched_calc_wakeup() local 4011 s64 bytes_per_sec, ts_rate, mv_tmp; ice_sched_bw_to_rl_profile() local
|