Lines Matching refs:clcsock
555 static int smc_clc_prfx_set(struct socket *clcsock, in smc_clc_prfx_set() argument
559 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_set()
574 if (kernel_getsockname(clcsock, (struct sockaddr *)&addrs) < 0) in smc_clc_prfx_set()
646 int smc_clc_prfx_match(struct socket *clcsock, in smc_clc_prfx_match() argument
649 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_match()
681 long rcvtimeo = smc->clcsock->sk->sk_rcvtimeo; in smc_clc_wait_msg()
682 struct sock *clc_sk = smc->clcsock->sk; in smc_clc_wait_msg()
703 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg()
750 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg()
766 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg()
823 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline()
870 rc = smc_clc_prfx_set(smc->clcsock, pclc_prfx, ipv6_prfx); in smc_clc_send_proposal()
1016 len = kernel_sendmsg(smc->clcsock, &msg, vec, i, plen); in smc_clc_send_proposal()
1018 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_clc_send_proposal()
1191 return kernel_sendmsg(smc->clcsock, &msg, vec, 1, in smc_clc_send_confirm_accept()
1213 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_clc_send_confirm()
1232 len = len >= 0 ? -EPROTO : -new_smc->clcsock->sk->sk_err; in smc_clc_send_accept()