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()
133 if (sk->sk_state != SMC_INIT && smc->clcsock && smc->clcsock->sk) { in smc_close_active_abort()
135 if (smc->clcsock && smc->clcsock->sk) in smc_close_active_abort()
136 tcp_abort(smc->clcsock->sk, ECONNABORTED); in smc_close_active_abort()
217 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active()
218 write_lock_bh(&smc->clcsock->sk->sk_callback_lock); in smc_close_active()
219 smc_clcsock_restore_cb(&smc->clcsock->sk->sk_data_ready, in smc_close_active()
221 smc->clcsock->sk->sk_user_data = NULL; in smc_close_active()
222 write_unlock_bh(&smc->clcsock->sk->sk_callback_lock); in smc_close_active()
223 rc = kernel_sock_shutdown(smc->clcsock, SHUT_RDWR); in smc_close_active()
243 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active()
244 rc1 = kernel_sock_shutdown(smc->clcsock, in smc_close_active()
437 if (smc->clcsock) in smc_close_passive_work()