Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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-6.1.9/lib/
Ddynamic_debug.c1198 int num_classes) in ddebug_attach_module_classes() argument
1203 for (cm = classes, i = 0; i < num_classes; i++, cm++) { in ddebug_attach_module_classes()
1255 if (di->classes && di->num_classes) in __ddebug_add_module()
1256 ddebug_attach_module_classes(dt, di->classes, di->num_classes); in __ddebug_add_module()
1388 .num_classes = __stop___dyndbg_classes - __start___dyndbg_classes, in dynamic_debug_init()
1431 if (di.num_classes) in dynamic_debug_init()
1432 v2pr_info(" %d builtin ddebug class-maps\n", di.num_classes); in dynamic_debug_init()
/linux-6.1.9/net/sched/
Dsch_qfq.c162 int num_classes; /* Number of classes in this aggr. */ member
285 if (agg->num_classes > new_num_classes && in qfq_update_agg()
304 (int) agg->class_weight * (new_num_classes - agg->num_classes); in qfq_update_agg()
307 agg->num_classes = new_num_classes; in qfq_update_agg()
317 qfq_update_agg(q, agg, agg->num_classes+1); in qfq_add_to_agg()
357 if (agg->num_classes == 1) { /* agg being emptied, destroy it */ in qfq_rm_from_agg()
361 qfq_update_agg(q, agg, agg->num_classes-1); in qfq_rm_from_agg()
/linux-6.1.9/include/linux/
Ddynamic_debug.h119 unsigned int num_classes; member
/linux-6.1.9/kernel/module/
Dmain.c2113 sizeof(*info->dyndbg.classes), &info->dyndbg.num_classes); in find_module_sections()