Lines Matching refs:tcf_block

61 	struct tcf_block *block = chain->block;  in tcf_proto_signal_destroying()
100 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed()
348 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
379 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
394 struct tcf_block *block = chain->block; in tcf_chain_detach()
409 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
418 struct tcf_block *block = chain->block; in tcf_chain_destroy()
443 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
458 static struct tcf_chain *tcf_chain_lookup_rcu(const struct tcf_block *block, in tcf_chain_lookup_rcu()
474 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
514 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
520 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act()
530 struct tcf_block *block, struct sk_buff *oskb,
536 struct tcf_block *block = chain->block; in __tcf_chain_put()
620 static int tcf_block_setup(struct tcf_block *block,
641 static void tcf_block_unbind(struct tcf_block *block,
646 struct tcf_block *block = block_cb->indr.data; in tc_block_indr_cleanup()
665 static bool tcf_block_offload_in_use(struct tcf_block *block) in tcf_block_offload_in_use()
670 static int tcf_block_offload_cmd(struct tcf_block *block, in tcf_block_offload_cmd()
702 static int tcf_block_offload_bind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_bind()
742 static void tcf_block_offload_unbind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_unbind()
761 tcf_chain0_head_change_cb_add(struct tcf_block *block, in tcf_chain0_head_change_cb_add()
805 tcf_chain0_head_change_cb_del(struct tcf_block *block, in tcf_chain0_head_change_cb_del()
835 static int tcf_block_insert(struct tcf_block *block, struct net *net, in tcf_block_insert()
851 static void tcf_block_remove(struct tcf_block *block, struct net *net) in tcf_block_remove()
860 static struct tcf_block *tcf_block_create(struct net *net, struct Qdisc *q, in tcf_block_create()
864 struct tcf_block *block; in tcf_block_create()
889 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup()
896 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get()
898 struct tcf_block *block; in tcf_block_refcnt_get()
910 __tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in __tcf_get_next_chain()
942 tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in tcf_get_next_chain()
1006 static void tcf_block_flush_all_chains(struct tcf_block *block, bool rtnl_held) in tcf_block_flush_all_chains()
1073 if (!cops->tcf_block) { in __tcf_qdisc_find()
1120 static struct tcf_block *__tcf_block_find(struct net *net, struct Qdisc *q, in __tcf_block_find()
1125 struct tcf_block *block; in __tcf_block_find()
1136 block = cops->tcf_block(q, cl, extack); in __tcf_block_find()
1157 static void __tcf_block_put(struct tcf_block *block, struct Qdisc *q, in __tcf_block_put()
1185 static void tcf_block_refcnt_put(struct tcf_block *block, bool rtnl_held) in tcf_block_refcnt_put()
1194 static struct tcf_block *tcf_block_find(struct net *net, struct Qdisc **q, in tcf_block_find()
1199 struct tcf_block *block; in tcf_block_find()
1228 static void tcf_block_release(struct Qdisc *q, struct tcf_block *block, in tcf_block_release()
1249 tcf_block_owner_netif_keep_dst(struct tcf_block *block, in tcf_block_owner_netif_keep_dst()
1259 void tcf_block_netif_keep_dst(struct tcf_block *block) in tcf_block_netif_keep_dst()
1270 static int tcf_block_owner_add(struct tcf_block *block, in tcf_block_owner_add()
1285 static void tcf_block_owner_del(struct tcf_block *block, in tcf_block_owner_del()
1301 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q, in tcf_block_get_ext()
1306 struct tcf_block *block = NULL; in tcf_block_get_ext()
1359 int tcf_block_get(struct tcf_block **p_block, in tcf_block_get()
1376 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q, in tcf_block_put_ext()
1388 void tcf_block_put(struct tcf_block *block) in tcf_block_put()
1400 tcf_block_playback_offloads(struct tcf_block *block, flow_setup_cb_t *cb, in tcf_block_playback_offloads()
1442 static int tcf_block_bind(struct tcf_block *block, in tcf_block_bind()
1483 static void tcf_block_unbind(struct tcf_block *block, in tcf_block_unbind()
1502 static int tcf_block_setup(struct tcf_block *block, in tcf_block_setup()
1582 const struct tcf_block *block, in tcf_classify()
1794 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
1849 struct tcf_block *block, struct Qdisc *q, in tfilter_notify()
1878 struct tcf_block *block, struct Qdisc *q, in tfilter_del_notify()
1916 struct tcf_block *block, struct Qdisc *q, in tfilter_notify_chain()
1949 struct tcf_block *block; in tc_new_tfilter()
2180 struct tcf_block *block = NULL; in tc_del_tfilter()
2340 struct tcf_block *block = NULL; in tc_get_tfilter()
2452 struct tcf_block *block;
2474 struct tcf_block *block = chain->block; in tcf_chain_dump()
2541 struct tcf_block *block; in tc_dump_tfilter()
2594 if (!cops->tcf_block) in tc_dump_tfilter()
2601 block = cops->tcf_block(q, cl, NULL); in tc_dump_tfilter()
2642 struct tcf_block *block, in tc_chain_fill_node()
2693 struct tcf_block *block = chain->block; in tc_chain_notify()
2720 struct tcf_block *block, struct sk_buff *oskb, in tc_chain_notify_delete()
2801 struct tcf_block *block; in tc_ctl_chain()
2931 struct tcf_block *block; in tc_dump_chain()
2969 if (!cops->tcf_block) in tc_dump_chain()
2976 block = cops->tcf_block(q, cl, NULL); in tc_dump_chain()
3184 static void tcf_block_offload_inc(struct tcf_block *block, u32 *flags) in tcf_block_offload_inc()
3192 static void tcf_block_offload_dec(struct tcf_block *block, u32 *flags) in tcf_block_offload_dec()
3200 static void tc_cls_offload_cnt_update(struct tcf_block *block, in tc_cls_offload_cnt_update()
3220 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3232 __tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in __tc_setup_cb_call()
3251 int tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in tc_setup_cb_call()
3286 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3336 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3390 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3424 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()