/external/iproute2/tc/ |
D | tc_core.c | 127 int cell_log, unsigned int mtu, in tc_calc_rtable() argument 138 if (cell_log < 0) { in tc_calc_rtable() 139 cell_log = 0; in tc_calc_rtable() 140 while ((mtu >> cell_log) > 255) in tc_calc_rtable() 141 cell_log++; in tc_calc_rtable() 145 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable() 150 r->cell_log = cell_log; in tc_calc_rtable() 152 return cell_log; in tc_calc_rtable() 169 s->cell_log = 0; in tc_calc_size_table() 180 s->cell_log = 0; in tc_calc_size_table() [all …]
|
D | q_htb.c | 118 int cell_log = -1, ccell_log = -1; in htb_parse_class_opt() local 162 if (get_size_and_cell(&buffer, &cell_log, *argv) < 0) { in htb_parse_class_opt() 236 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { in htb_parse_class_opt() 316 1<<hopt->rate.cell_log, in htb_print_opt() 320 1<<hopt->ceil.cell_log, in htb_print_opt()
|
D | q_cbq.c | 58 int cell_log = -1; in cbq_parse_opt() local 96 cell_log = i; in cbq_parse_opt() 152 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { in cbq_parse_opt() 189 int cell_log = -1; in cbq_parse_class_opt() local 270 cell_log = i; in cbq_parse_class_opt() 361 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) { in cbq_parse_class_opt() 494 fprintf(f, "cell %ub ", 1<<r->cell_log); in cbq_print_opt()
|
D | tc_core.h | 24 int cell_log, unsigned mtu, enum link_layer link_layer);
|
D | q_tbf.c | 283 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); in tbf_print_opt() 299 1<<qopt->peakrate.cell_log, sprint_size(qopt->peakrate.mpu, b2)); in tbf_print_opt()
|
D | tc_util.h | 73 int get_size_and_cell(unsigned int *size, int *cell_log, char *str);
|
D | tc_util.c | 356 int get_size_and_cell(unsigned int *size, int *cell_log, char *str) in get_size_and_cell() argument 376 *cell_log = i; in get_size_and_cell()
|
/external/libnl/lib/route/qdisc/ |
D | tbf.c | 280 int cell_log; in rtnl_qdisc_tbf_set_rate() local 286 cell_log = UINT8_MAX; in rtnl_qdisc_tbf_set_rate() 288 cell_log = rtnl_tc_calc_cell_log(cell); in rtnl_qdisc_tbf_set_rate() 292 tbf->qt_rate.rs_cell_log = cell_log; in rtnl_qdisc_tbf_set_rate() 363 int cell_log; in rtnl_qdisc_tbf_set_peakrate() local 368 cell_log = calc_cell_log(cell, bucket); in rtnl_qdisc_tbf_set_peakrate() 369 if (cell_log < 0) in rtnl_qdisc_tbf_set_peakrate() 370 return cell_log; in rtnl_qdisc_tbf_set_peakrate() 374 tbf->qt_peakrate.rs_cell_log = cell_log; in rtnl_qdisc_tbf_set_peakrate()
|
D | cbq.c | 130 1 << cbq->cbq_rate.cell_log, in cbq_dump_details()
|
/external/strace/tests/ |
D | nlattr_tca_stab.c | 101 .cell_log = 0xab, in main() 113 PRINT_FIELD_U("{", s, cell_log); in main()
|
/external/strace/tests-m32/ |
D | nlattr_tca_stab.c | 101 .cell_log = 0xab, in main() 113 PRINT_FIELD_U("{", s, cell_log); in main()
|
/external/strace/tests-mx32/ |
D | nlattr_tca_stab.c | 101 .cell_log = 0xab, in main() 113 PRINT_FIELD_U("{", s, cell_log); in main()
|
/external/libnl/lib/route/ |
D | tc.c | 696 uint8_t cell_log = spec->rs_cell_log; in rtnl_tc_build_rate_table() local 705 if (cell_log == UINT8_MAX) { in rtnl_tc_build_rate_table() 711 cell_log = 0; in rtnl_tc_build_rate_table() 712 while ((mtu >> cell_log) >= RTNL_TC_RTABLE_SIZE) in rtnl_tc_build_rate_table() 713 cell_log++; in rtnl_tc_build_rate_table() 717 size = adjust_size((i + 1) << cell_log, spec->rs_mpu, linktype); in rtnl_tc_build_rate_table() 722 spec->rs_cell_log = cell_log; in rtnl_tc_build_rate_table()
|
/external/libnl/include/netlink-private/ |
D | netlink.h | 182 dst->rs_cell_log = src->cell_log; in rtnl_copy_ratespec() 192 dst->cell_log = src->rs_cell_log; in rtnl_rcopy_ratespec()
|
/external/libnl/include/linux-private/linux/ |
D | pkt_sched.h | 77 unsigned char cell_log; member 88 unsigned char cell_log; member
|
/external/iproute2/include/uapi/linux/ |
D | pkt_sched.h | 90 unsigned char cell_log; member 101 unsigned char cell_log; member
|
/external/kernel-headers/original/uapi/linux/ |
D | pkt_sched.h | 91 unsigned char cell_log; member 102 unsigned char cell_log; member
|
/external/strace/ |
D | rtnl_tc.c | 223 PRINT_FIELD_U("{", s, cell_log); in decode_tc_sizespec()
|
/external/syzkaller/sys/linux/ |
D | socket_netlink_route_sched.txt | 968 cell_log int8 1080 cell_log int8
|