Home
last modified time | relevance | path

Searched refs:num_classes (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c52 unsigned int num_classes; member
89 unsigned int num_classes; member
133 for (i = 0; i < qdisc->num_classes; i++) { in mlxsw_sp_qdisc_walk()
254 for (i = 0; i < mlxsw_sp_qdisc->num_classes; i++) in mlxsw_sp_qdisc_destroy()
266 mlxsw_sp_qdisc->num_classes = 0; in mlxsw_sp_qdisc_destroy()
290 for (i = 0; i < mlxsw_sp_qdisc->num_classes; i++) { in mlxsw_sp_qdisc_tree_validate_children()
367 if (ops->num_classes) { in mlxsw_sp_qdisc_create()
368 mlxsw_sp_qdisc->qdiscs = kcalloc(ops->num_classes, in mlxsw_sp_qdisc_create()
374 for (i = 0; i < ops->num_classes; i++) in mlxsw_sp_qdisc_create()
392 mlxsw_sp_qdisc->num_classes = ops->num_classes; in mlxsw_sp_qdisc_create()
[all …]
/linux/lib/
H A Ddynamic_debug.c1205 int num_classes) in ddebug_attach_module_classes() argument
1210 for (cm = classes, i = 0; i < num_classes; i++, cm++) { in ddebug_attach_module_classes()
1261 if (di->classes && di->num_classes) in ddebug_add_module()
1262 ddebug_attach_module_classes(dt, di->classes, di->num_classes); in ddebug_add_module()
1418 .num_classes = __stop___dyndbg_classes - __start___dyndbg_classes, in dynamic_debug_init()
1469 if (di.num_classes) in dynamic_debug_init()
1470 v2pr_info(" %d builtin ddebug class-maps\n", di.num_classes); in dynamic_debug_init()
/linux/net/sched/
H A Dsch_qfq.c161 int num_classes; /* Number of classes in this aggr. */ member
289 if (agg->num_classes > new_num_classes && in qfq_update_agg()
308 (int) agg->class_weight * (new_num_classes - agg->num_classes); in qfq_update_agg()
311 agg->num_classes = new_num_classes; in qfq_update_agg()
321 qfq_update_agg(q, agg, agg->num_classes+1); in qfq_add_to_agg()
361 if (agg->num_classes == 1) { /* agg being emptied, destroy it */ in qfq_rm_from_agg()
365 qfq_update_agg(q, agg, agg->num_classes-1); in qfq_rm_from_agg()
/linux/include/linux/
H A Ddynamic_debug.h121 unsigned int num_classes; member
/linux/kernel/module/
H A Dmain.c2239 &mod->dyndbg_info.num_classes); in find_module_sections()