Lines Matching refs:fh
1798 struct Qdisc *q, u32 parent, void *fh, in tcf_fill_node() argument
1825 if (!fh) { in tcf_fill_node()
1829 if (tp->ops->terse_dump(net, tp, fh, skb, tcm, in tcf_fill_node()
1837 tp->ops->dump(net, tp, fh, skb, tcm, rtnl_held) < 0) in tcf_fill_node()
1853 u32 parent, void *fh, int event, bool unicast, in tfilter_notify() argument
1864 if (tcf_fill_node(net, skb, tp, block, q, parent, fh, portid, in tfilter_notify()
1882 u32 parent, void *fh, bool unicast, bool *last, in tfilter_del_notify() argument
1893 if (tcf_fill_node(net, skb, tp, block, q, parent, fh, portid, in tfilter_del_notify()
1901 err = tp->ops->delete(tp, fh, last, rtnl_held, extack); in tfilter_del_notify()
1931 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put() argument
1933 if (tp->ops->put && fh) in tfilter_put()
1934 tp->ops->put(tp, fh); in tfilter_put()
1955 void *fh; in tc_new_tfilter() local
2105 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2107 if (!fh) { in tc_new_tfilter()
2114 tfilter_put(tp, fh); in tc_new_tfilter()
2121 tfilter_put(tp, fh); in tc_new_tfilter()
2131 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2134 tfilter_notify(net, skb, n, tp, block, q, parent, fh, in tc_new_tfilter()
2136 tfilter_put(tp, fh); in tc_new_tfilter()
2189 void *fh = NULL; in tc_del_tfilter() local
2289 tfilter_notify(net, skb, n, tp, block, q, parent, fh, in tc_del_tfilter()
2296 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2298 if (!fh) { in tc_del_tfilter()
2305 q, parent, fh, false, &last, in tc_del_tfilter()
2349 void *fh = NULL; in tc_get_tfilter() local
2427 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2429 if (!fh) { in tc_get_tfilter()
2434 fh, RTM_NEWTFILTER, true, rtnl_held); in tc_get_tfilter()
2439 tfilter_put(tp, fh); in tc_get_tfilter()