Home
last modified time | relevance | path

Searched refs:lsmc (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/net/smc/
Daf_smc.c1114 static int smc_clcsock_accept(struct smc_sock *lsmc, struct smc_sock **new_smc) in smc_clcsock_accept() argument
1117 struct sock *lsk = &lsmc->sk; in smc_clcsock_accept()
1132 mutex_lock(&lsmc->clcsock_release_lock); in smc_clcsock_accept()
1133 if (lsmc->clcsock) in smc_clcsock_accept()
1134 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
1135 mutex_unlock(&lsmc->clcsock_release_lock); in smc_clcsock_accept()
1153 new_clcsock->sk->sk_data_ready = lsmc->clcsk_data_ready; in smc_clcsock_accept()
1279 struct smc_sock *lsmc = new_smc->listen_smc; in smc_listen_out() local
1282 if (lsmc->sk.sk_state == SMC_LISTEN) { in smc_listen_out()
1283 lock_sock_nested(&lsmc->sk, SINGLE_DEPTH_NESTING); in smc_listen_out()
[all …]