Lines Matching refs:skb_verdict
159 if (psock->saved_data_ready && stab->progs.skb_verdict) in sock_map_del_link()
222 struct bpf_prog *skb_verdict = NULL; in sock_map_link() local
252 skb_verdict = READ_ONCE(progs->skb_verdict); in sock_map_link()
253 if (skb_verdict) { in sock_map_link()
254 skb_verdict = bpf_prog_inc_not_zero(skb_verdict); in sock_map_link()
255 if (IS_ERR(skb_verdict)) { in sock_map_link()
256 ret = PTR_ERR(skb_verdict); in sock_map_link()
270 (skb_verdict && READ_ONCE(psock->progs.skb_verdict)) || in sock_map_link()
271 (skb_verdict && READ_ONCE(psock->progs.stream_verdict)) || in sock_map_link()
272 (stream_verdict && READ_ONCE(psock->progs.skb_verdict)) || in sock_map_link()
292 if (skb_verdict) in sock_map_link()
293 psock_set_prog(&psock->progs.skb_verdict, skb_verdict); in sock_map_link()
307 } else if (!stream_verdict && skb_verdict && !psock->saved_data_ready) { in sock_map_link()
317 if (skb_verdict) in sock_map_link()
318 bpf_prog_put(skb_verdict); in sock_map_link()
1433 if (progs->skb_verdict) in sock_map_prog_update()
1440 pprog = &progs->skb_verdict; in sock_map_prog_update()