Searched refs:bm_threshold (Results 1 – 3 of 3) sorted by relevance
125 (uintmax_t)bw_meter->bm_threshold.b_packets); in print_bw_meter()127 (uintmax_t)bw_meter->bm_threshold.b_packets); in print_bw_meter()132 (uintmax_t)bw_meter->bm_threshold.b_bytes); in print_bw_meter()134 (uintmax_t)bw_meter->bm_threshold.b_bytes); in print_bw_meter()140 (u_long)bw_meter->bm_threshold.b_time.tv_sec, in print_bw_meter()141 (u_long)bw_meter->bm_threshold.b_time.tv_usec, s1, s2); in print_bw_meter()145 &bw_meter->bm_threshold.b_time, &end); in print_bw_meter()
1886 (x->bm_measured.b_packets <= x->bm_threshold.b_packets)) || in expire_bw_meter_leq()1888 (x->bm_measured.b_bytes <= x->bm_threshold.b_bytes))) { in expire_bw_meter_leq()1906 callout_schedule(&x->bm_meter_callout, tvtohz(&x->bm_threshold.b_time)); in expire_bw_meter_leq()1958 if ((BW_TIMEVALCMP(&x->bm_threshold.b_time, in add_bw_upcall()1960 && (x->bm_threshold.b_packets in add_bw_upcall()1962 && (x->bm_threshold.b_bytes in add_bw_upcall()1979 x->bm_threshold.b_time = req->bu_threshold.b_time; in add_bw_upcall()1982 x->bm_threshold.b_packets = req->bu_threshold.b_packets; in add_bw_upcall()1983 x->bm_threshold.b_bytes = req->bu_threshold.b_bytes; in add_bw_upcall()1996 callout_reset(&x->bm_meter_callout, tvtohz(&x->bm_threshold.b_time), in add_bw_upcall()[all …]
347 struct bw_data bm_threshold; /* the upcall threshold */ member