Home
last modified time | relevance | path

Searched refs:tcm_handle (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/net/sched/
Dcls_tcindex.c611 t->tcm_handle = ~0; /* whatever ... */ in tcindex_dump()
620 t->tcm_handle = r - p->perfect; in tcindex_dump()
626 t->tcm_handle = 0; in tcindex_dump()
627 for (i = 0; !t->tcm_handle && i < p->hash; i++) { in tcindex_dump()
630 !t->tcm_handle && f; in tcindex_dump()
633 t->tcm_handle = f->key; in tcindex_dump()
637 pr_debug("handle = %d\n", t->tcm_handle); in tcindex_dump()
Dsch_api.c890 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
1453 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1458 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_get_qdisc()
1542 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1543 if (tcm->tcm_handle) { in tc_modify_qdisc()
1548 if (TC_H_MIN(tcm->tcm_handle)) { in tc_modify_qdisc()
1552 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1603 if (!tcm->tcm_handle) { in tc_modify_qdisc()
1607 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1653 tcm->tcm_parent, tcm->tcm_handle, in tc_modify_qdisc()
[all …]
Dcls_cgroup.c176 t->tcm_handle = head->handle; in cls_cgroup_dump()
Dsch_skbprio.c246 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
Dsch_mq.c237 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
Dcls_api.c1818 tcm->tcm_handle = 0; in tcf_fill_node()
2090 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2111 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2187 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
2264 } else if (t->tcm_handle == 0) { in tc_del_tfilter()
2277 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2408 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2635 tcm->tcm_handle = 0; in tc_chain_fill_node()
Dcls_basic.c285 t->tcm_handle = f->handle; in basic_dump()
Dsch_multiq.c329 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
Dsch_prio.c346 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
Dcls_matchall.c357 t->tcm_handle = head->handle; in mall_dump()
Dsch_red.c362 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dcls_fw.c385 t->tcm_handle = f->id; in fw_dump()
Dsch_cbs.c475 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
Dsch_drr.c242 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
Dsch_dsmark.c437 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
Dsch_tbf.c483 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
Dsch_mqprio.c503 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
Dcls_route.c605 t->tcm_handle = f->handle; in route4_dump()
Dcls_bpf.c592 tm->tcm_handle = prog->handle; in cls_bpf_dump()
Dsch_atm.c611 tcm->tcm_handle = flow->common.classid; in atm_tc_dump_class()
Dcls_flow.c627 t->tcm_handle = f->handle; in flow_dump()
Dsch_fq_codel.c611 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dcls_rsvp.h704 t->tcm_handle = f->handle; in rsvp_dump()
/Linux-v5.4/tools/bpf/bpftool/
Dnet.c126 if (info->tcm_handle == 0) in dump_class_qdisc_nlmsg()
138 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()
/Linux-v5.4/include/uapi/linux/
Drtnetlink.h565 __u32 tcm_handle; member

12