Lines Matching refs:stream_parser
151 if (psock->saved_data_ready && progs->stream_parser) in sock_map_del_link()
217 struct bpf_prog *stream_parser = NULL; in sock_map_link() local
230 stream_parser = READ_ONCE(progs->stream_parser); in sock_map_link()
231 if (stream_parser) { in sock_map_link()
232 stream_parser = bpf_prog_inc_not_zero(stream_parser); in sock_map_link()
233 if (IS_ERR(stream_parser)) { in sock_map_link()
234 ret = PTR_ERR(stream_parser); in sock_map_link()
265 (stream_parser && READ_ONCE(psock->progs.stream_parser)) || in sock_map_link()
284 if (stream_parser) in sock_map_link()
285 psock_set_prog(&psock->progs.stream_parser, stream_parser); in sock_map_link()
301 if (stream_parser && stream_verdict && !psock->saved_data_ready) { in sock_map_link()
309 } else if (!stream_parser && stream_verdict && !psock->saved_data_ready) { in sock_map_link()
323 if (stream_parser) in sock_map_link()
324 bpf_prog_put(stream_parser); in sock_map_link()
1469 *pprog = &progs->stream_parser; in sock_map_prog_lookup()