Lines Matching refs:tcf_block
181 struct tcf_block *block = chain->block; in tcf_proto_signal_destroying()
220 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed()
469 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
500 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
515 struct tcf_block *block = chain->block; in tcf_chain_detach()
530 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
539 struct tcf_block *block = chain->block; in tcf_chain_destroy()
564 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
579 static struct tcf_chain *tcf_chain_lookup_rcu(const struct tcf_block *block, in tcf_chain_lookup_rcu()
596 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
636 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
642 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act()
652 struct tcf_block *block, struct sk_buff *oskb,
658 struct tcf_block *block = chain->block; in __tcf_chain_put()
744 static int tcf_block_setup(struct tcf_block *block,
765 static void tcf_block_unbind(struct tcf_block *block,
770 struct tcf_block *block = block_cb->indr.data; in tc_block_indr_cleanup()
789 static bool tcf_block_offload_in_use(struct tcf_block *block) in tcf_block_offload_in_use()
794 static int tcf_block_offload_cmd(struct tcf_block *block, in tcf_block_offload_cmd()
826 static int tcf_block_offload_bind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_bind()
866 static void tcf_block_offload_unbind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_unbind()
885 tcf_chain0_head_change_cb_add(struct tcf_block *block, in tcf_chain0_head_change_cb_add()
929 tcf_chain0_head_change_cb_del(struct tcf_block *block, in tcf_chain0_head_change_cb_del()
959 static int tcf_block_insert(struct tcf_block *block, struct net *net, in tcf_block_insert()
975 static void tcf_block_remove(struct tcf_block *block, struct net *net) in tcf_block_remove()
984 static struct tcf_block *tcf_block_create(struct net *net, struct Qdisc *q, in tcf_block_create()
988 struct tcf_block *block; in tcf_block_create()
1013 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup()
1020 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get()
1022 struct tcf_block *block; in tcf_block_refcnt_get()
1034 __tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in __tcf_get_next_chain()
1066 tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in tcf_get_next_chain()
1130 static void tcf_block_flush_all_chains(struct tcf_block *block, bool rtnl_held) in tcf_block_flush_all_chains()
1197 if (!cops->tcf_block) { in __tcf_qdisc_find()
1244 static struct tcf_block *__tcf_block_find(struct net *net, struct Qdisc *q, in __tcf_block_find()
1249 struct tcf_block *block; in __tcf_block_find()
1260 block = cops->tcf_block(q, cl, extack); in __tcf_block_find()
1281 static void __tcf_block_put(struct tcf_block *block, struct Qdisc *q, in __tcf_block_put()
1309 static void tcf_block_refcnt_put(struct tcf_block *block, bool rtnl_held) in tcf_block_refcnt_put()
1318 static struct tcf_block *tcf_block_find(struct net *net, struct Qdisc **q, in tcf_block_find()
1323 struct tcf_block *block; in tcf_block_find()
1352 static void tcf_block_release(struct Qdisc *q, struct tcf_block *block, in tcf_block_release()
1373 tcf_block_owner_netif_keep_dst(struct tcf_block *block, in tcf_block_owner_netif_keep_dst()
1383 void tcf_block_netif_keep_dst(struct tcf_block *block) in tcf_block_netif_keep_dst()
1394 static int tcf_block_owner_add(struct tcf_block *block, in tcf_block_owner_add()
1409 static void tcf_block_owner_del(struct tcf_block *block, in tcf_block_owner_del()
1425 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q, in tcf_block_get_ext()
1430 struct tcf_block *block = NULL; in tcf_block_get_ext()
1483 int tcf_block_get(struct tcf_block **p_block, in tcf_block_get()
1500 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q, in tcf_block_put_ext()
1512 void tcf_block_put(struct tcf_block *block) in tcf_block_put()
1524 tcf_block_playback_offloads(struct tcf_block *block, flow_setup_cb_t *cb, in tcf_block_playback_offloads()
1572 static int tcf_block_bind(struct tcf_block *block, in tcf_block_bind()
1614 static void tcf_block_unbind(struct tcf_block *block, in tcf_block_unbind()
1633 static int tcf_block_setup(struct tcf_block *block, in tcf_block_setup()
1741 const struct tcf_block *block, in tcf_classify()
1971 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
2033 struct tcf_block *block, struct Qdisc *q, in tfilter_notify()
2062 struct tcf_block *block, struct Qdisc *q, in tfilter_del_notify()
2100 struct tcf_block *block, struct Qdisc *q, in tfilter_notify_chain()
2139 struct tcf_block *block; in tc_new_tfilter()
2372 struct tcf_block *block = NULL; in tc_del_tfilter()
2529 struct tcf_block *block = NULL; in tc_get_tfilter()
2641 struct tcf_block *block;
2663 struct tcf_block *block = chain->block; in tcf_chain_dump()
2730 struct tcf_block *block; in tc_dump_tfilter()
2783 if (!cops->tcf_block) in tc_dump_tfilter()
2790 block = cops->tcf_block(q, cl, NULL); in tc_dump_tfilter()
2831 struct tcf_block *block, in tc_chain_fill_node()
2889 struct tcf_block *block = chain->block; in tc_chain_notify()
2916 struct tcf_block *block, struct sk_buff *oskb, in tc_chain_notify_delete()
2999 struct tcf_block *block; in tc_ctl_chain()
3126 struct tcf_block *block; in tc_dump_chain()
3164 if (!cops->tcf_block) in tc_dump_chain()
3171 block = cops->tcf_block(q, cl, NULL); in tc_dump_chain()
3432 static void tcf_block_offload_inc(struct tcf_block *block, u32 *flags) in tcf_block_offload_inc()
3440 static void tcf_block_offload_dec(struct tcf_block *block, u32 *flags) in tcf_block_offload_dec()
3448 static void tc_cls_offload_cnt_update(struct tcf_block *block, in tc_cls_offload_cnt_update()
3468 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3480 __tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in __tc_setup_cb_call()
3499 int tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in tc_setup_cb_call()
3534 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3584 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3638 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3672 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()