Lines Matching refs:tcf_block

60 	struct tcf_block *block = chain->block;  in tcf_proto_signal_destroying()
99 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed()
368 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
399 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
414 struct tcf_block *block = chain->block; in tcf_chain_detach()
429 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
438 struct tcf_block *block = chain->block; in tcf_chain_destroy()
463 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
480 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
520 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
526 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act()
536 struct tcf_block *block, struct sk_buff *oskb,
542 struct tcf_block *block = chain->block; in __tcf_chain_put()
626 static int tcf_block_setup(struct tcf_block *block,
630 struct tcf_block *block, in tc_indr_block_ing_cmd()
655 static struct tcf_block *tc_dev_ingress_block(struct net_device *dev) in tc_dev_ingress_block()
671 if (!cops->tcf_block) in tc_dev_ingress_block()
674 return cops->tcf_block(qdisc, TC_H_MIN_INGRESS, NULL); in tc_dev_ingress_block()
682 struct tcf_block *block = tc_dev_ingress_block(dev); in tc_indr_block_get_and_ing_cmd()
687 static void tc_indr_block_call(struct tcf_block *block, in tc_indr_block_call()
707 static bool tcf_block_offload_in_use(struct tcf_block *block) in tcf_block_offload_in_use()
712 static int tcf_block_offload_cmd(struct tcf_block *block, in tcf_block_offload_cmd()
736 static int tcf_block_offload_bind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_bind()
779 static void tcf_block_offload_unbind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_unbind()
802 tcf_chain0_head_change_cb_add(struct tcf_block *block, in tcf_chain0_head_change_cb_add()
846 tcf_chain0_head_change_cb_del(struct tcf_block *block, in tcf_chain0_head_change_cb_del()
876 static int tcf_block_insert(struct tcf_block *block, struct net *net, in tcf_block_insert()
892 static void tcf_block_remove(struct tcf_block *block, struct net *net) in tcf_block_remove()
901 static struct tcf_block *tcf_block_create(struct net *net, struct Qdisc *q, in tcf_block_create()
905 struct tcf_block *block; in tcf_block_create()
930 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup()
937 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get()
939 struct tcf_block *block; in tcf_block_refcnt_get()
951 __tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in __tcf_get_next_chain()
983 tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in tcf_get_next_chain()
1048 static void tcf_block_flush_all_chains(struct tcf_block *block, bool rtnl_held) in tcf_block_flush_all_chains()
1115 if (!cops->tcf_block) { in __tcf_qdisc_find()
1162 static struct tcf_block *__tcf_block_find(struct net *net, struct Qdisc *q, in __tcf_block_find()
1167 struct tcf_block *block; in __tcf_block_find()
1178 block = cops->tcf_block(q, cl, extack); in __tcf_block_find()
1199 static void __tcf_block_put(struct tcf_block *block, struct Qdisc *q, in __tcf_block_put()
1227 static void tcf_block_refcnt_put(struct tcf_block *block, bool rtnl_held) in tcf_block_refcnt_put()
1236 static struct tcf_block *tcf_block_find(struct net *net, struct Qdisc **q, in tcf_block_find()
1241 struct tcf_block *block; in tcf_block_find()
1270 static void tcf_block_release(struct Qdisc *q, struct tcf_block *block, in tcf_block_release()
1291 tcf_block_owner_netif_keep_dst(struct tcf_block *block, in tcf_block_owner_netif_keep_dst()
1301 void tcf_block_netif_keep_dst(struct tcf_block *block) in tcf_block_netif_keep_dst()
1312 static int tcf_block_owner_add(struct tcf_block *block, in tcf_block_owner_add()
1327 static void tcf_block_owner_del(struct tcf_block *block, in tcf_block_owner_del()
1343 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q, in tcf_block_get_ext()
1348 struct tcf_block *block = NULL; in tcf_block_get_ext()
1401 int tcf_block_get(struct tcf_block **p_block, in tcf_block_get()
1418 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q, in tcf_block_put_ext()
1430 void tcf_block_put(struct tcf_block *block) in tcf_block_put()
1442 tcf_block_playback_offloads(struct tcf_block *block, flow_setup_cb_t *cb, in tcf_block_playback_offloads()
1484 static int tcf_block_bind(struct tcf_block *block, in tcf_block_bind()
1525 static void tcf_block_unbind(struct tcf_block *block, in tcf_block_unbind()
1544 static int tcf_block_setup(struct tcf_block *block, in tcf_block_setup()
1789 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
1835 struct tcf_block *block, struct Qdisc *q, in tfilter_notify()
1867 struct tcf_block *block, struct Qdisc *q, in tfilter_del_notify()
1907 struct tcf_block *block, struct Qdisc *q, in tfilter_notify_chain()
1941 struct tcf_block *block; in tc_new_tfilter()
2167 struct tcf_block *block = NULL; in tc_del_tfilter()
2327 struct tcf_block *block = NULL; in tc_get_tfilter()
2439 struct tcf_block *block;
2460 struct tcf_block *block = chain->block; in tcf_chain_dump()
2522 struct tcf_block *block; in tc_dump_tfilter()
2569 if (!cops->tcf_block) in tc_dump_tfilter()
2576 block = cops->tcf_block(q, cl, NULL); in tc_dump_tfilter()
2616 struct tcf_block *block, in tc_chain_fill_node()
2667 struct tcf_block *block = chain->block; in tc_chain_notify()
2696 struct tcf_block *block, struct sk_buff *oskb, in tc_chain_notify_delete()
2771 struct tcf_block *block; in tc_ctl_chain()
2901 struct tcf_block *block; in tc_dump_chain()
2949 if (!cops->tcf_block) in tc_dump_chain()
2956 block = cops->tcf_block(q, cl, NULL); in tc_dump_chain()
3128 static void tcf_block_offload_inc(struct tcf_block *block, u32 *flags) in tcf_block_offload_inc()
3136 static void tcf_block_offload_dec(struct tcf_block *block, u32 *flags) in tcf_block_offload_dec()
3144 static void tc_cls_offload_cnt_update(struct tcf_block *block, in tc_cls_offload_cnt_update()
3164 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3176 __tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in __tc_setup_cb_call()
3195 int tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in tc_setup_cb_call()
3230 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3280 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3334 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3368 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()