Searched refs:lsock (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/tipc/ |
H A 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 …]
|
/openbmc/qemu/contrib/vhost-user-scsi/ |
H A D | vhost-user-scsi.c | 374 int lsock = -1, csock = -1, err = EXIT_SUCCESS; in main() local 398 lsock = unix_sock_new(opt_socket_path); in main() 399 if (lsock < 0) { in main() 406 lsock = opt_fdnum; in main() 409 csock = accept(lsock, NULL, NULL); in main() 440 if (lsock >= 0) { in main() 441 close(lsock); in main()
|
/openbmc/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 598 int lsock = -1, csock = -1; in main() local 626 lsock = unix_sock_new(opt_socket_path); in main() 627 if (lsock < 0) { in main() 634 lsock = opt_fdnum; in main() 637 csock = accept(lsock, NULL, NULL); in main() 665 if (lsock >= 0) { in main() 666 close(lsock); in main()
|
/openbmc/qemu/contrib/vhost-user-input/ |
H A D | main.c | 381 int lsock = unix_listen(opt_socket_path, &error_fatal); in main() local 382 if (lsock < 0) { in main() 386 fd = accept(lsock, NULL, NULL); in main() 387 close(lsock); in main()
|
/openbmc/linux/net/rds/ |
H A 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()
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 1290 int lsock = unix_listen(opt_socket_path, &error_fatal); in main() local 1291 if (lsock < 0) { in main() 1295 fd = accept(lsock, NULL, NULL); in main() 1296 close(lsock); in main()
|