Lines Matching refs:tcf_block

183 	struct tcf_block *block = chain->block;  in tcf_proto_signal_destroying()
222 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed()
471 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
502 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
517 struct tcf_block *block = chain->block; in tcf_chain_detach()
532 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
541 struct tcf_block *block = chain->block; in tcf_chain_destroy()
566 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
581 static struct tcf_chain *tcf_chain_lookup_rcu(const struct tcf_block *block, in tcf_chain_lookup_rcu()
598 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
638 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
644 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act()
654 struct tcf_block *block, struct sk_buff *oskb,
660 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()
1566 static int tcf_block_bind(struct tcf_block *block, in tcf_block_bind()
1607 static void tcf_block_unbind(struct tcf_block *block, in tcf_block_unbind()
1626 static int tcf_block_setup(struct tcf_block *block, in tcf_block_setup()
1734 const struct tcf_block *block, in tcf_classify()
1964 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
2026 struct tcf_block *block, struct Qdisc *q, in tfilter_notify()
2055 struct tcf_block *block, struct Qdisc *q, in tfilter_del_notify()
2093 struct tcf_block *block, struct Qdisc *q, in tfilter_notify_chain()
2132 struct tcf_block *block; in tc_new_tfilter()
2365 struct tcf_block *block = NULL; in tc_del_tfilter()
2522 struct tcf_block *block = NULL; in tc_get_tfilter()
2634 struct tcf_block *block;
2656 struct tcf_block *block = chain->block; in tcf_chain_dump()
2723 struct tcf_block *block; in tc_dump_tfilter()
2776 if (!cops->tcf_block) in tc_dump_tfilter()
2783 block = cops->tcf_block(q, cl, NULL); in tc_dump_tfilter()
2824 struct tcf_block *block, in tc_chain_fill_node()
2882 struct tcf_block *block = chain->block; in tc_chain_notify()
2909 struct tcf_block *block, struct sk_buff *oskb, in tc_chain_notify_delete()
2990 struct tcf_block *block; in tc_ctl_chain()
3117 struct tcf_block *block; in tc_dump_chain()
3155 if (!cops->tcf_block) in tc_dump_chain()
3162 block = cops->tcf_block(q, cl, NULL); in tc_dump_chain()
3419 static void tcf_block_offload_inc(struct tcf_block *block, u32 *flags) in tcf_block_offload_inc()
3427 static void tcf_block_offload_dec(struct tcf_block *block, u32 *flags) in tcf_block_offload_dec()
3435 static void tc_cls_offload_cnt_update(struct tcf_block *block, in tc_cls_offload_cnt_update()
3455 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3467 __tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in __tc_setup_cb_call()
3486 int tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in tc_setup_cb_call()
3521 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3571 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3625 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3659 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()