Lines Matching refs:clcsock
31 if (smc->clcsock) { in smc_clcsock_release()
32 tcp = smc->clcsock; in smc_clcsock_release()
33 smc->clcsock = NULL; in smc_clcsock_release()
132 if (sk->sk_state != SMC_INIT && smc->clcsock && smc->clcsock->sk) { in smc_close_active_abort()
134 if (smc->clcsock && smc->clcsock->sk) in smc_close_active_abort()
135 tcp_abort(smc->clcsock->sk, ECONNABORTED); in smc_close_active_abort()
216 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active()
217 write_lock_bh(&smc->clcsock->sk->sk_callback_lock); in smc_close_active()
218 smc_clcsock_restore_cb(&smc->clcsock->sk->sk_data_ready, in smc_close_active()
220 smc->clcsock->sk->sk_user_data = NULL; in smc_close_active()
221 write_unlock_bh(&smc->clcsock->sk->sk_callback_lock); in smc_close_active()
222 rc = kernel_sock_shutdown(smc->clcsock, SHUT_RDWR); in smc_close_active()
242 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active()
243 rc1 = kernel_sock_shutdown(smc->clcsock, in smc_close_active()
436 if (smc->clcsock) in smc_close_passive_work()