Lines Matching refs:ceil
118 rtnl_copy_ratespec(&d->ch_ceil, &opts.ceil); in htb_class_msg_parser()
120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate); in htb_class_msg_parser()
300 rtnl_rcopy_ratespec(&opts.ceil, &d->ch_ceil); in htb_class_get_opts()
302 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec)); in htb_class_get_opts()
304 if (opts.ceil.cell_log == UINT8_MAX) in htb_class_get_opts()
305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu); in htb_class_get_opts()
317 cbuffer = opts.ceil.rate / nl_get_hz() + mtu; in htb_class_get_opts()
319 opts.cbuffer = rtnl_tc_calc_txtime(cbuffer, opts.ceil.rate); in htb_class_get_opts()
331 opts.ceil.mpu = mpu | (overhead << 8); in htb_class_get_opts()
341 1 << opts.ceil.cell_log, in htb_class_get_opts()
342 opts.ceil.rate); in htb_class_get_opts()
427 void rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil) in rtnl_htb_set_ceil() argument
434 d->ch_ceil.rs_rate = ceil; in rtnl_htb_set_ceil()