Lines Matching refs:fh
2052 struct Qdisc *q, u32 parent, void *fh, in tcf_fill_node() argument
2081 if (!fh) { in tcf_fill_node()
2085 if (tp->ops->terse_dump(net, tp, fh, skb, tcm, in tcf_fill_node()
2093 tp->ops->dump(net, tp, fh, skb, tcm, rtnl_held) < 0) in tcf_fill_node()
2119 void *fh, int event, in tfilter_notify_prep() argument
2132 ret = tcf_fill_node(net, skb, tp, block, q, parent, fh, portid, in tfilter_notify_prep()
2149 u32 parent, void *fh, int event, bool unicast, in tfilter_notify() argument
2159 skb = tfilter_notify_prep(net, oskb, n, tp, block, q, parent, fh, event, in tfilter_notify()
2175 u32 parent, void *fh, bool *last, bool rtnl_held, in tfilter_del_notify() argument
2183 return tp->ops->delete(tp, fh, last, rtnl_held, extack); in tfilter_del_notify()
2185 skb = tfilter_notify_prep(net, oskb, n, tp, block, q, parent, fh, in tfilter_del_notify()
2192 err = tp->ops->delete(tp, fh, last, rtnl_held, extack); in tfilter_del_notify()
2220 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put() argument
2222 if (tp->ops->put && fh) in tfilter_put()
2223 tp->ops->put(tp, fh); in tfilter_put()
2249 void *fh; in tc_new_tfilter() local
2395 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2397 if (!fh) { in tc_new_tfilter()
2404 tfilter_put(tp, fh); in tc_new_tfilter()
2411 tfilter_put(tp, fh); in tc_new_tfilter()
2423 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2426 tfilter_notify(net, skb, n, tp, block, q, parent, fh, in tc_new_tfilter()
2428 tfilter_put(tp, fh); in tc_new_tfilter()
2482 void *fh = NULL; in tc_del_tfilter() local
2582 tfilter_notify(net, skb, n, tp, block, q, parent, fh, in tc_del_tfilter()
2589 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2591 if (!fh) { in tc_del_tfilter()
2597 err = tfilter_del_notify(net, skb, n, tp, block, q, parent, fh, in tc_del_tfilter()
2641 void *fh = NULL; in tc_get_tfilter() local
2722 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2724 if (!fh) { in tc_get_tfilter()
2729 fh, RTM_NEWTFILTER, true, rtnl_held, NULL); in tc_get_tfilter()
2734 tfilter_put(tp, fh); in tc_get_tfilter()