Searched refs:lsock (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/tipc/ |
D | topsrv.c | 455 struct socket *newsock, *lsock; in tipc_topsrv_accept() local 465 lsock = srv->listener; in tipc_topsrv_accept() 469 ret = kernel_accept(lsock, &newsock, O_NONBLOCK); in tipc_topsrv_accept() 508 struct socket *lsock = NULL; in tipc_topsrv_create_listener() local 513 rc = sock_create_kern(srv->net, AF_TIPC, SOCK_SEQPACKET, 0, &lsock); in tipc_topsrv_create_listener() 517 srv->listener = lsock; in tipc_topsrv_create_listener() 518 sk = lsock->sk; in tipc_topsrv_create_listener() 537 rc = kernel_bind(lsock, (struct sockaddr *)&saddr, sizeof(saddr)); in tipc_topsrv_create_listener() 540 rc = kernel_listen(lsock, 0); in tipc_topsrv_create_listener() 559 module_put(lsock->ops->owner); in tipc_topsrv_create_listener() [all …]
|
/kernel/linux/linux-5.10/net/rds/ |
D | tcp.c | 593 struct socket *lsock = rtn->rds_tcp_listen_sock; in rds_tcp_kill_sock() local 596 rds_tcp_listen_stop(lsock, &rtn->rds_tcp_accept_w); in rds_tcp_kill_sock() 638 struct socket *lsock = rtn->rds_tcp_listen_sock; in rds_tcp_listen_sock_def_readable() local 640 if (!lsock) in rds_tcp_listen_sock_def_readable() 643 return lsock->sk->sk_user_data; in rds_tcp_listen_sock_def_readable()
|