Lines Matching refs:lsk
904 struct sock *lsk = &lsmc->sk; in smc_clcsock_accept() local
908 release_sock(lsk); in smc_clcsock_accept()
909 new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); in smc_clcsock_accept()
912 lsk->sk_err = ENOMEM; in smc_clcsock_accept()
914 lock_sock(lsk); in smc_clcsock_accept()
923 lock_sock(lsk); in smc_clcsock_accept()
925 lsk->sk_err = -rc; in smc_clcsock_accept()
926 if (rc < 0 || lsk->sk_state == SMC_CLOSED) { in smc_clcsock_accept()
1386 struct sock *lsk = &lsmc->sk; in smc_tcp_listen_work() local
1390 lock_sock(lsk); in smc_tcp_listen_work()
1391 while (lsk->sk_state == SMC_LISTEN) { in smc_tcp_listen_work()
1401 sock_hold(lsk); /* sock_put in smc_listen_work */ in smc_tcp_listen_work()
1412 release_sock(lsk); in smc_tcp_listen_work()