Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Daf_smc.c1134 static int smc_clcsock_accept(struct smc_sock *lsmc, struct smc_sock **new_smc) in smc_clcsock_accept() argument
1137 struct sock *lsk = &lsmc->sk; in smc_clcsock_accept()
1152 mutex_lock(&lsmc->clcsock_release_lock); in smc_clcsock_accept()
1153 if (lsmc->clcsock) in smc_clcsock_accept()
1154 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
1155 mutex_unlock(&lsmc->clcsock_release_lock); in smc_clcsock_accept()
1173 new_clcsock->sk->sk_data_ready = lsmc->clcsk_data_ready; in smc_clcsock_accept()
1299 struct smc_sock *lsmc = new_smc->listen_smc; in smc_listen_out() local
1302 if (lsmc->sk.sk_state == SMC_LISTEN) { in smc_listen_out()
1303 lock_sock_nested(&lsmc->sk, SINGLE_DEPTH_NESTING); in smc_listen_out()
[all …]