Lines Matching refs:tcf_block
78 struct tcf_block *block = chain->block; in tcf_proto_signal_destroying()
117 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed()
366 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
397 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
412 struct tcf_block *block = chain->block; in tcf_chain_detach()
427 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
436 struct tcf_block *block = chain->block; in tcf_chain_destroy()
461 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
476 static struct tcf_chain *tcf_chain_lookup_rcu(const struct tcf_block *block, in tcf_chain_lookup_rcu()
492 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
532 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
538 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act()
548 struct tcf_block *block, struct sk_buff *oskb,
554 struct tcf_block *block = chain->block; in __tcf_chain_put()
638 static int tcf_block_setup(struct tcf_block *block,
659 static void tcf_block_unbind(struct tcf_block *block,
664 struct tcf_block *block = block_cb->indr.data; in tc_block_indr_cleanup()
683 static bool tcf_block_offload_in_use(struct tcf_block *block) in tcf_block_offload_in_use()
688 static int tcf_block_offload_cmd(struct tcf_block *block, in tcf_block_offload_cmd()
720 static int tcf_block_offload_bind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_bind()
760 static void tcf_block_offload_unbind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_unbind()
779 tcf_chain0_head_change_cb_add(struct tcf_block *block, in tcf_chain0_head_change_cb_add()
823 tcf_chain0_head_change_cb_del(struct tcf_block *block, in tcf_chain0_head_change_cb_del()
853 static int tcf_block_insert(struct tcf_block *block, struct net *net, in tcf_block_insert()
869 static void tcf_block_remove(struct tcf_block *block, struct net *net) in tcf_block_remove()
878 static struct tcf_block *tcf_block_create(struct net *net, struct Qdisc *q, in tcf_block_create()
882 struct tcf_block *block; in tcf_block_create()
907 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup()
914 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get()
916 struct tcf_block *block; in tcf_block_refcnt_get()
928 __tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in __tcf_get_next_chain()
960 tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) in tcf_get_next_chain()
1024 static void tcf_block_flush_all_chains(struct tcf_block *block, bool rtnl_held) in tcf_block_flush_all_chains()
1091 if (!cops->tcf_block) { in __tcf_qdisc_find()
1138 static struct tcf_block *__tcf_block_find(struct net *net, struct Qdisc *q, in __tcf_block_find()
1143 struct tcf_block *block; in __tcf_block_find()
1154 block = cops->tcf_block(q, cl, extack); in __tcf_block_find()
1175 static void __tcf_block_put(struct tcf_block *block, struct Qdisc *q, in __tcf_block_put()
1203 static void tcf_block_refcnt_put(struct tcf_block *block, bool rtnl_held) in tcf_block_refcnt_put()
1212 static struct tcf_block *tcf_block_find(struct net *net, struct Qdisc **q, in tcf_block_find()
1217 struct tcf_block *block; in tcf_block_find()
1246 static void tcf_block_release(struct Qdisc *q, struct tcf_block *block, in tcf_block_release()
1267 tcf_block_owner_netif_keep_dst(struct tcf_block *block, in tcf_block_owner_netif_keep_dst()
1277 void tcf_block_netif_keep_dst(struct tcf_block *block) in tcf_block_netif_keep_dst()
1288 static int tcf_block_owner_add(struct tcf_block *block, in tcf_block_owner_add()
1303 static void tcf_block_owner_del(struct tcf_block *block, in tcf_block_owner_del()
1319 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q, in tcf_block_get_ext()
1324 struct tcf_block *block = NULL; in tcf_block_get_ext()
1377 int tcf_block_get(struct tcf_block **p_block, in tcf_block_get()
1394 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q, in tcf_block_put_ext()
1406 void tcf_block_put(struct tcf_block *block) in tcf_block_put()
1418 tcf_block_playback_offloads(struct tcf_block *block, flow_setup_cb_t *cb, in tcf_block_playback_offloads()
1460 static int tcf_block_bind(struct tcf_block *block, in tcf_block_bind()
1501 static void tcf_block_unbind(struct tcf_block *block, in tcf_block_unbind()
1520 static int tcf_block_setup(struct tcf_block *block, in tcf_block_setup()
1600 const struct tcf_block *block, in tcf_classify()
1816 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
1871 struct tcf_block *block, struct Qdisc *q, in tfilter_notify()
1900 struct tcf_block *block, struct Qdisc *q, in tfilter_del_notify()
1938 struct tcf_block *block, struct Qdisc *q, in tfilter_notify_chain()
1971 struct tcf_block *block; in tc_new_tfilter()
2202 struct tcf_block *block = NULL; in tc_del_tfilter()
2359 struct tcf_block *block = NULL; in tc_get_tfilter()
2471 struct tcf_block *block;
2493 struct tcf_block *block = chain->block; in tcf_chain_dump()
2560 struct tcf_block *block; in tc_dump_tfilter()
2613 if (!cops->tcf_block) in tc_dump_tfilter()
2620 block = cops->tcf_block(q, cl, NULL); in tc_dump_tfilter()
2661 struct tcf_block *block, in tc_chain_fill_node()
2712 struct tcf_block *block = chain->block; in tc_chain_notify()
2739 struct tcf_block *block, struct sk_buff *oskb, in tc_chain_notify_delete()
2820 struct tcf_block *block; in tc_ctl_chain()
2947 struct tcf_block *block; in tc_dump_chain()
2985 if (!cops->tcf_block) in tc_dump_chain()
2992 block = cops->tcf_block(q, cl, NULL); in tc_dump_chain()
3210 static void tcf_block_offload_inc(struct tcf_block *block, u32 *flags) in tcf_block_offload_inc()
3218 static void tcf_block_offload_dec(struct tcf_block *block, u32 *flags) in tcf_block_offload_dec()
3226 static void tc_cls_offload_cnt_update(struct tcf_block *block, in tc_cls_offload_cnt_update()
3246 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3258 __tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in __tc_setup_cb_call()
3277 int tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type, in tc_setup_cb_call()
3312 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3362 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3416 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3450 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()