Lines Matching refs:clcsock
530 static int smc_clc_prfx_set(struct socket *clcsock, in smc_clc_prfx_set() argument
534 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_set()
549 if (kernel_getsockname(clcsock, (struct sockaddr *)&addrs) < 0) in smc_clc_prfx_set()
621 int smc_clc_prfx_match(struct socket *clcsock, in smc_clc_prfx_match() argument
624 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_match()
656 long rcvtimeo = smc->clcsock->sk->sk_rcvtimeo; in smc_clc_wait_msg()
657 struct sock *clc_sk = smc->clcsock->sk; in smc_clc_wait_msg()
678 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg()
725 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg()
741 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg()
798 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline()
841 rc = smc_clc_prfx_set(smc->clcsock, pclc_prfx, ipv6_prfx); in smc_clc_send_proposal()
965 len = kernel_sendmsg(smc->clcsock, &msg, vec, i, plen); in smc_clc_send_proposal()
967 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_clc_send_proposal()
1108 return kernel_sendmsg(smc->clcsock, &msg, vec, 1, in smc_clc_send_confirm_accept()
1130 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_clc_send_confirm()
1149 len = len >= 0 ? -EPROTO : -new_smc->clcsock->sk->sk_err; in smc_clc_send_accept()