Home
last modified time | relevance | path

Searched refs:stream_parser (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/core/
Dsock_map.c155 if (psock->saved_data_ready && stab->progs.stream_parser) in sock_map_del_link()
221 struct bpf_prog *stream_parser = NULL; in sock_map_link() local
234 stream_parser = READ_ONCE(progs->stream_parser); in sock_map_link()
235 if (stream_parser) { in sock_map_link()
236 stream_parser = bpf_prog_inc_not_zero(stream_parser); in sock_map_link()
237 if (IS_ERR(stream_parser)) { in sock_map_link()
238 ret = PTR_ERR(stream_parser); in sock_map_link()
269 (stream_parser && READ_ONCE(psock->progs.stream_parser)) || in sock_map_link()
288 if (stream_parser) in sock_map_link()
289 psock_set_prog(&psock->progs.stream_parser, stream_parser); in sock_map_link()
[all …]
Dskmsg.c844 if (psock->progs.stream_parser) in sk_psock_drop()
1102 prog = READ_ONCE(psock->progs.stream_parser); in sk_psock_strp_parse()
1154 psock_set_prog(&psock->progs.stream_parser, NULL); in sk_psock_stop_strp()
1167 if (psock->progs.stream_parser) in sk_psock_done_strp()
/linux-6.1.9/include/linux/
Dskmsg.h58 struct bpf_prog *stream_parser; member
488 psock_set_prog(&progs->stream_parser, NULL); in psock_progs_drop()