/openbmc/linux/net/bluetooth/hidp/ |
H A D | sock.c | 56 struct socket *csock; in do_hidp_sock_ioctl() local 70 csock = sockfd_lookup(ca.ctrl_sock, &err); in do_hidp_sock_ioctl() 71 if (!csock) in do_hidp_sock_ioctl() 76 sockfd_put(csock); in do_hidp_sock_ioctl() 81 err = hidp_connection_add(&ca, csock, isock); in do_hidp_sock_ioctl() 85 sockfd_put(csock); in do_hidp_sock_ioctl() 175 struct socket *csock; in hidp_sock_compat_ioctl() local 199 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_compat_ioctl() 200 if (!csock) in hidp_sock_compat_ioctl() 205 sockfd_put(csock); in hidp_sock_compat_ioctl() [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 409 csock = accept(lsock, NULL, NULL); in main() 410 if (csock < 0) { in main() 422 if (!vug_init(&vdev_scsi->parent, VHOST_USER_SCSI_MAX_QUEUES, csock, in main() 437 if (csock >= 0) { in main() 438 close(csock); in main()
|
/openbmc/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 598 int lsock = -1, csock = -1; in main() local 637 csock = accept(lsock, NULL, NULL); in main() 638 if (csock < 0) { in main() 651 if (!vug_init(&vdev_blk->parent, VHOST_USER_BLK_MAX_QUEUES, csock, in main() 662 if (csock >= 0) { in main() 663 close(csock); in main()
|
/openbmc/qemu/ui/ |
H A D | dbus.c | 286 dbus_display_add_client(int csock, Error **errp) in dbus_display_add_client() argument 303 socket = g_socket_new_from_fd(_get_osfhandle(csock), &err); in dbus_display_add_client() 305 socket = g_socket_new_from_fd(csock, &err); in dbus_display_add_client() 309 close(csock); in dbus_display_add_client() 314 qemu_close_socket_osfhandle(csock); in dbus_display_add_client()
|
H A D | dbus-module.c | 27 qemu_dbus_display_add_client(int csock, Error **errp) in qemu_dbus_display_add_client() argument
|
H A D | spice-module.c | 58 static int qemu_spice_display_add_client_stub(int csock, int skipauth, in qemu_spice_display_add_client_stub() argument
|
H A D | spice-core.c | 929 static int qemu_spice_display_add_client(int csock, int skipauth, int tls) in qemu_spice_display_add_client() argument 932 csock = qemu_close_socket_osfhandle(csock); in qemu_spice_display_add_client() 935 return spice_server_add_ssl_client(spice_server, csock, skipauth); in qemu_spice_display_add_client() 937 return spice_server_add_client(spice_server, csock, skipauth); in qemu_spice_display_add_client()
|
H A D | vnc.c | 4245 void vnc_display_add_client(const char *id, int csock, bool skipauth) in vnc_display_add_client() argument 4254 sioc = qio_channel_socket_new_fd(csock, NULL); in vnc_display_add_client()
|
/openbmc/qemu/include/ui/ |
H A D | dbus-module.h | 5 bool (*add_client)(int csock, Error **errp);
|
H A D | qemu-spice-module.h | 34 int (*display_add_client)(int csock, int skipauth, int tls);
|
H A D | console.h | 459 void vnc_display_add_client(const char *id, int csock, bool skipauth);
|
/openbmc/linux/net/kcm/ |
H A D | kcmsock.c | 1232 csk = csock->sk; in kcm_attach() 1321 struct socket *csock; in kcm_attach_ioctl() local 1325 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl() 1326 if (!csock) in kcm_attach_ioctl() 1335 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl() 1345 sockfd_put(csock); in kcm_attach_ioctl() 1450 struct socket *csock; in kcm_unattach_ioctl() local 1454 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl() 1455 if (!csock) in kcm_unattach_ioctl() 1458 csk = csock->sk; in kcm_unattach_ioctl() [all …]
|