Searched refs:lsock (Results 1 – 2 of 2) sorted by relevance
/net/tipc/ |
D | topsrv.c | 458 struct socket *newsock, *lsock; in tipc_topsrv_accept() local 468 lsock = srv->listener; in tipc_topsrv_accept() 472 ret = kernel_accept(lsock, &newsock, O_NONBLOCK); in tipc_topsrv_accept() 513 struct socket *lsock = NULL; in tipc_topsrv_create_listener() local 518 rc = sock_create_kern(srv->net, AF_TIPC, SOCK_SEQPACKET, 0, &lsock); in tipc_topsrv_create_listener() 522 srv->listener = lsock; in tipc_topsrv_create_listener() 523 sk = lsock->sk; in tipc_topsrv_create_listener() 542 rc = tipc_sk_bind(lsock, (struct sockaddr *)&saddr, sizeof(saddr)); in tipc_topsrv_create_listener() 545 rc = kernel_listen(lsock, 0); in tipc_topsrv_create_listener() 564 module_put(lsock->ops->owner); in tipc_topsrv_create_listener() [all …]
|
/net/rds/ |
D | tcp.c | 611 struct socket *lsock = rtn->rds_tcp_listen_sock; in rds_tcp_kill_sock() local 614 rds_tcp_listen_stop(lsock, &rtn->rds_tcp_accept_w); in rds_tcp_kill_sock() 656 struct socket *lsock = rtn->rds_tcp_listen_sock; in rds_tcp_listen_sock_def_readable() local 658 if (!lsock) in rds_tcp_listen_sock_def_readable() 661 return lsock->sk->sk_user_data; in rds_tcp_listen_sock_def_readable()
|