Lines Matching refs:psock
849 struct sk_psock *psock; in bpf_exec_tx_verdict() local
857 psock = sk_psock_get(sk); in bpf_exec_tx_verdict()
858 if (!psock || !policy) { in bpf_exec_tx_verdict()
865 if (psock) in bpf_exec_tx_verdict()
866 sk_psock_put(sk, psock); in bpf_exec_tx_verdict()
871 if (psock->eval == __SK_NONE) { in bpf_exec_tx_verdict()
873 psock->eval = sk_psock_msg_verdict(sk, psock, msg); in bpf_exec_tx_verdict()
886 switch (psock->eval) { in bpf_exec_tx_verdict()
897 redir_ingress = psock->redir_ingress; in bpf_exec_tx_verdict()
898 sk_redir = psock->sk_redir; in bpf_exec_tx_verdict()
940 psock->eval = __SK_NONE; in bpf_exec_tx_verdict()
941 if (psock->sk_redir) { in bpf_exec_tx_verdict()
942 sock_put(psock->sk_redir); in bpf_exec_tx_verdict()
943 psock->sk_redir = NULL; in bpf_exec_tx_verdict()
950 sk_psock_put(sk, psock); in bpf_exec_tx_verdict()
1308 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait() argument
1320 if (!sk_psock_queue_empty(psock)) in tls_rx_rec_wait()
1349 !sk_psock_queue_empty(psock), in tls_rx_rec_wait()
1960 struct sk_psock *psock; in tls_sw_recvmsg() local
1982 psock = sk_psock_get(sk); in tls_sw_recvmsg()
1983 bpf_strp_enabled = sk_psock_strp_enabled(psock); in tls_sw_recvmsg()
2009 err = tls_rx_rec_wait(sk, psock, flags & MSG_DONTWAIT, in tls_sw_recvmsg()
2012 if (psock) { in tls_sw_recvmsg()
2013 chunk = sk_msg_recvmsg(sk, psock, msg, len, in tls_sw_recvmsg()
2096 err = sk_psock_tls_strp_read(psock, skb); in tls_sw_recvmsg()
2169 if (psock) in tls_sw_recvmsg()
2170 sk_psock_put(sk, psock); in tls_sw_recvmsg()
2253 struct sk_psock *psock; in tls_sw_read_sock() local
2261 psock = sk_psock_get(sk); in tls_sw_read_sock()
2262 if (psock) { in tls_sw_read_sock()
2263 sk_psock_put(sk, psock); in tls_sw_read_sock()
2346 struct sk_psock *psock; in tls_sw_sock_is_readable() local
2349 psock = sk_psock(sk); in tls_sw_sock_is_readable()
2350 if (psock) in tls_sw_sock_is_readable()
2351 ingress_empty = list_empty(&psock->ingress_msg); in tls_sw_sock_is_readable()
2430 struct sk_psock *psock; in tls_data_ready() local
2440 psock = sk_psock_get(sk); in tls_data_ready()
2441 if (psock) { in tls_data_ready()
2442 if (!list_empty(&psock->ingress_msg)) in tls_data_ready()
2444 sk_psock_put(sk, psock); in tls_data_ready()