Home
last modified time | relevance | path

Searched refs:goto_ch (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/net/sched/
Dact_simple.c63 struct tcf_chain *goto_ch = NULL; in reset_policy() local
67 err = tcf_action_check_ctrlact(p->action, tp, &goto_ch, extack); in reset_policy()
72 goto_ch = tcf_action_set_ctrlact(a, p->action, goto_ch); in reset_policy()
76 if (goto_ch) in reset_policy()
77 tcf_chain_put_by_act(goto_ch); in reset_policy()
94 struct tcf_chain *goto_ch = NULL; in tcf_simp_init() local
138 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, in tcf_simp_init()
147 tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_simp_init()
162 if (goto_ch) in tcf_simp_init()
163 tcf_chain_put_by_act(goto_ch); in tcf_simp_init()
Dact_connmark.c105 struct tcf_chain *goto_ch = NULL; in tcf_connmark_init() local
134 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, in tcf_connmark_init()
138 tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_connmark_init()
151 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, in tcf_connmark_init()
157 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_connmark_init()
160 if (goto_ch) in tcf_connmark_init()
161 tcf_chain_put_by_act(goto_ch); in tcf_connmark_init()
Dact_sample.c46 struct tcf_chain *goto_ch = NULL; in tcf_sample_init() local
83 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_sample_init()
103 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_sample_init()
117 if (goto_ch) in tcf_sample_init()
118 tcf_chain_put_by_act(goto_ch); in tcf_sample_init()
122 if (goto_ch) in tcf_sample_init()
123 tcf_chain_put_by_act(goto_ch); in tcf_sample_init()
Dact_skbmod.c111 struct tcf_chain *goto_ch = NULL; in tcf_skbmod_init() local
182 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_skbmod_init()
199 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_skbmod_init()
215 if (goto_ch) in tcf_skbmod_init()
216 tcf_chain_put_by_act(goto_ch); in tcf_skbmod_init()
220 if (goto_ch) in tcf_skbmod_init()
221 tcf_chain_put_by_act(goto_ch); in tcf_skbmod_init()
Dact_ctinfo.c165 struct tcf_chain *goto_ch = NULL; in tcf_ctinfo_init() local
232 err = tcf_action_check_ctrlact(actparm->action, tp, &goto_ch, extack); in tcf_ctinfo_init()
261 goto_ch = tcf_action_set_ctrlact(*a, actparm->action, goto_ch); in tcf_ctinfo_init()
266 if (goto_ch) in tcf_ctinfo_init()
267 tcf_chain_put_by_act(goto_ch); in tcf_ctinfo_init()
274 if (goto_ch) in tcf_ctinfo_init()
275 tcf_chain_put_by_act(goto_ch); in tcf_ctinfo_init()
Dact_skbedit.c106 struct tcf_chain *goto_ch = NULL; in tcf_skbedit_init() local
194 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_skbedit_init()
219 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_skbedit_init()
225 if (goto_ch) in tcf_skbedit_init()
226 tcf_chain_put_by_act(goto_ch); in tcf_skbedit_init()
230 if (goto_ch) in tcf_skbedit_init()
231 tcf_chain_put_by_act(goto_ch); in tcf_skbedit_init()
Dact_vlan.c123 struct tcf_chain *goto_ch = NULL; in tcf_vlan_init() local
231 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_vlan_init()
257 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_vlan_init()
261 if (goto_ch) in tcf_vlan_init()
262 tcf_chain_put_by_act(goto_ch); in tcf_vlan_init()
268 if (goto_ch) in tcf_vlan_init()
269 tcf_chain_put_by_act(goto_ch); in tcf_vlan_init()
Dact_bpf.c284 struct tcf_chain *goto_ch = NULL; in tcf_bpf_init() local
328 ret = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_bpf_init()
359 goto_ch = tcf_action_set_ctrlact(*act, parm->action, goto_ch); in tcf_bpf_init()
363 if (goto_ch) in tcf_bpf_init()
364 tcf_chain_put_by_act(goto_ch); in tcf_bpf_init()
375 if (goto_ch) in tcf_bpf_init()
376 tcf_chain_put_by_act(goto_ch); in tcf_bpf_init()
Dact_mirred.c99 struct tcf_chain *goto_ch = NULL; in tcf_mirred_init() local
166 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_mirred_init()
185 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_mirred_init()
188 if (goto_ch) in tcf_mirred_init()
189 tcf_chain_put_by_act(goto_ch); in tcf_mirred_init()
199 if (goto_ch) in tcf_mirred_init()
200 tcf_chain_put_by_act(goto_ch); in tcf_mirred_init()
Dact_mpls.c161 struct tcf_chain *goto_ch = NULL; in tcf_mpls_init() local
263 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_mpls_init()
288 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_mpls_init()
292 if (goto_ch) in tcf_mpls_init()
293 tcf_chain_put_by_act(goto_ch); in tcf_mpls_init()
299 if (goto_ch) in tcf_mpls_init()
300 tcf_chain_put_by_act(goto_ch); in tcf_mpls_init()
Dact_gact.c61 struct tcf_chain *goto_ch = NULL; in tcf_gact_init() local
120 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_gact_init()
126 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_gact_init()
140 if (goto_ch) in tcf_gact_init()
141 tcf_chain_put_by_act(goto_ch); in tcf_gact_init()
Dact_nat.c43 struct tcf_chain *goto_ch = NULL; in tcf_nat_init() local
80 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_nat_init()
91 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_nat_init()
93 if (goto_ch) in tcf_nat_init()
94 tcf_chain_put_by_act(goto_ch); in tcf_nat_init()
Dact_pedit.c145 struct tcf_chain *goto_ch = NULL; in tcf_pedit_init() local
210 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_pedit_init()
233 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_pedit_init()
239 if (goto_ch) in tcf_pedit_init()
240 tcf_chain_put_by_act(goto_ch); in tcf_pedit_init()
244 if (goto_ch) in tcf_pedit_init()
245 tcf_chain_put_by_act(goto_ch); in tcf_pedit_init()
Dact_police.c57 struct tcf_chain *goto_ch = NULL; in tcf_police_init() local
104 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_police_init()
219 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_police_init()
225 if (goto_ch) in tcf_police_init()
226 tcf_chain_put_by_act(goto_ch); in tcf_police_init()
235 if (goto_ch) in tcf_police_init()
236 tcf_chain_put_by_act(goto_ch); in tcf_police_init()
Dact_gate.c305 struct tcf_chain *goto_ch = NULL; in tcf_gate_init() local
385 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_gate_init()
431 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_gate_init()
437 if (goto_ch) in tcf_gate_init()
438 tcf_chain_put_by_act(goto_ch); in tcf_gate_init()
445 if (goto_ch) in tcf_gate_init()
446 tcf_chain_put_by_act(goto_ch); in tcf_gate_init()
Dact_csum.c52 struct tcf_chain *goto_ch = NULL; in tcf_csum_init() local
90 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_csum_init()
104 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_csum_init()
109 if (goto_ch) in tcf_csum_init()
110 tcf_chain_put_by_act(goto_ch); in tcf_csum_init()
116 if (goto_ch) in tcf_csum_init()
117 tcf_chain_put_by_act(goto_ch); in tcf_csum_init()
Dact_tunnel_key.c366 struct tcf_chain *goto_ch = NULL; in tunnel_key_init() local
513 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tunnel_key_init()
532 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tunnel_key_init()
537 if (goto_ch) in tunnel_key_init()
538 tcf_chain_put_by_act(goto_ch); in tunnel_key_init()
543 if (goto_ch) in tunnel_key_init()
544 tcf_chain_put_by_act(goto_ch); in tunnel_key_init()
Dact_ife.c489 struct tcf_chain *goto_ch = NULL; in tcf_ife_init() local
573 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_ife_init()
621 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_ife_init()
626 if (goto_ch) in tcf_ife_init()
627 tcf_chain_put_by_act(goto_ch); in tcf_ife_init()
633 if (goto_ch) in tcf_ife_init()
634 tcf_chain_put_by_act(goto_ch); in tcf_ife_init()
Dact_ct.c1245 struct tcf_chain *goto_ch = NULL; in tcf_ct_init() local
1287 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_ct_init()
1308 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_ct_init()
1313 if (goto_ch) in tcf_ct_init()
1314 tcf_chain_put_by_act(goto_ch); in tcf_ct_init()
1321 if (goto_ch) in tcf_ct_init()
1322 tcf_chain_put_by_act(goto_ch); in tcf_ct_init()