Lines Matching full:children

23 	return qdisc->children[id] &&  in nfp_abm_qdisc_child_valid()
24 qdisc->children[id] != NFP_QDISC_UNTRACKED; in nfp_abm_qdisc_child_valid()
80 nfp_abm_stats_update_red(alink, qdisc->children[i], i); in nfp_abm_stats_update_mq()
113 qdisc->children[i]->use_cnt--; in nfp_abm_qdisc_unlink_children()
114 qdisc->children[i] = NULL; in nfp_abm_qdisc_unlink_children()
201 !qdisc->children[0]; in nfp_abm_offload_compile_red()
236 struct nfp_qdisc *child = qdisc->children[i]; in nfp_abm_offload_compile_mq()
295 * MQ's children. in nfp_abm_qdisc_clear_mq()
310 if (mq->children[i] == qdisc) { in nfp_abm_qdisc_clear_mq()
311 mq->children[i] = NULL; in nfp_abm_qdisc_clear_mq()
332 kfree(qdisc->children); in nfp_abm_qdisc_free()
341 unsigned int children) in nfp_abm_qdisc_alloc() argument
351 if (children) { in nfp_abm_qdisc_alloc()
352 qdisc->children = kcalloc(children, sizeof(void *), GFP_KERNEL); in nfp_abm_qdisc_alloc()
353 if (!qdisc->children) in nfp_abm_qdisc_alloc()
361 qdisc->num_children = children; in nfp_abm_qdisc_alloc()
374 kfree(qdisc->children); in nfp_abm_qdisc_alloc()
389 unsigned int children, struct nfp_qdisc **qdisc) in nfp_abm_qdisc_replace() argument
399 children); in nfp_abm_qdisc_replace()
451 parent->children[id] = child; in nfp_abm_qdisc_graft()
712 qdisc->children[0]->use_cnt--; in nfp_abm_red_replace()
713 qdisc->children[0] = NULL; in nfp_abm_red_replace()
719 qdisc->children[0] = NFP_QDISC_UNTRACKED; in nfp_abm_red_replace()
788 /* MQ stats are summed over the children in the core, so we need in nfp_abm_mq_stats()
798 if (!nfp_abm_qdisc_is_red(qdisc->children[i])) in nfp_abm_mq_stats()
800 red = qdisc->children[i]; in nfp_abm_mq_stats()