Lines Matching refs:handle
259 static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) in qdisc_match_from_root() argument
264 root->handle == handle) in qdisc_match_from_root()
268 if (q->handle == handle) in qdisc_match_from_root()
292 struct Qdisc *qdisc_lookup(struct net_device *dev, u32 handle) in qdisc_lookup() argument
296 q = qdisc_match_from_root(dev->qdisc, handle); in qdisc_lookup()
303 handle); in qdisc_lookup()
570 txt, qdisc->ops->id, qdisc->handle >> 16); in qdisc_warn_nonwc()
883 struct Qdisc *p, u32 parent, u32 handle, in qdisc_create() argument
933 if (handle == TC_H_INGRESS) { in qdisc_create()
935 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create()
938 if (handle == 0) { in qdisc_create()
939 handle = qdisc_alloc_handle(dev); in qdisc_create()
941 if (handle == 0) in qdisc_create()
949 sch->handle = handle; in qdisc_create()
1141 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) in tc_get_qdisc()
1155 if (q->handle == 0) in tc_get_qdisc()
1213 if (q && q->handle == 0) in tc_modify_qdisc()
1216 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1346 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
1568 qid = dev->qdisc->handle; in tc_ctl_tclass()
1579 qid = dev->qdisc->handle; in tc_ctl_tclass()
1664 tcm->tcm_parent = q->handle; in tc_fill_tclass()
1665 tcm->tcm_handle = q->handle; in tc_fill_tclass()
1734 TC_H_MAJ(tcm->tcm_parent) != q->handle)) { in tc_dump_tclass_qdisc()