Home
last modified time | relevance | path

Searched refs:tlscreds (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/nbd/
H A Dclient-connection.c37 QCryptoTLSCreds *tlscreds; member
83 QCryptoTLSCreds *tlscreds, in nbd_client_connection_new() argument
88 object_ref(OBJECT(tlscreds)); in nbd_client_connection_new()
91 .tlscreds = tlscreds, in nbd_client_connection_new()
116 object_unref(OBJECT(conn->tlscreds)); in nbd_client_connection_do_free()
128 NBDExportInfo *info, QCryptoTLSCreds *tlscreds, in nbd_connect() argument
149 ret = nbd_receive_negotiate(QIO_CHANNEL(sioc), tlscreds, tlshostname, in nbd_connect()
192 conn->tlscreds, conn->tlshostname, in connect_thread_func()
H A Dclient.c618 QCryptoTLSCreds *tlscreds, in nbd_receive_starttls() argument
635 tioc = qio_channel_tls_new_client(ioc, tlscreds, hostname, errp); in nbd_receive_starttls()
916 if (tlscreds && !outioc) { in nbd_start_negotiate()
961 if (tlscreds) { in nbd_start_negotiate()
997 if (tlscreds) { in nbd_start_negotiate()
1040 int nbd_receive_negotiate(QIOChannel *ioc, QCryptoTLSCreds *tlscreds, in nbd_receive_negotiate() argument
1052 result = nbd_start_negotiate(ioc, tlscreds, hostname, outioc, in nbd_receive_negotiate()
1060 if (tlscreds && *outioc) { in nbd_receive_negotiate()
1162 int nbd_receive_export_list(QIOChannel *ioc, QCryptoTLSCreds *tlscreds, in nbd_receive_export_list() argument
1175 result = nbd_start_negotiate(ioc, tlscreds, hostname, &sioc, in nbd_receive_export_list()
[all …]
H A Dserver.c132 QCryptoTLSCreds *tlscreds; member
800 client->tlscreds, in nbd_negotiate_handle_starttls()
1230 if (client->tlscreds && in nbd_negotiate_options()
1308 } else if (client->tlscreds) { in nbd_negotiate_options()
1567 if (client->tlscreds) { in nbd_client_put()
1568 object_unref(OBJECT(client->tlscreds)); in nbd_client_put()
3244 QCryptoTLSCreds *tlscreds, in nbd_client_new() argument
3255 client->tlscreds = tlscreds; in nbd_client_new()
3256 if (tlscreds) { in nbd_client_new()
3257 object_ref(OBJECT(client->tlscreds)); in nbd_client_new()
H A Dtrace-events19 nbd_start_negotiate(void *tlscreds, const char *hostname) "Receiving negotiation tlscreds=%p hostna…
/openbmc/qemu/
H A Dblockdev-nbd.c31 QCryptoTLSCreds *tlscreds; member
89 nbd_server->tlscreds, nbd_server->tlsauthz, in nbd_accept()
127 if (server->tlscreds) { in nbd_server_free()
128 object_unref(OBJECT(server->tlscreds)); in nbd_server_free()
191 nbd_server->tlscreds = nbd_get_tls_creds(tls_creds, errp); in nbd_server_start()
192 if (!nbd_server->tlscreds) { in nbd_server_start()
H A Dqemu-nbd.c81 static QCryptoTLSCreds *tlscreds; variable
395 tlscreds, tlsauthz, nbd_client_closed, NULL); in nbd_accept()
888 tlscreds = nbd_get_tls_creds(tlscredsid, list, &local_err); in main()
918 return qemu_nbd_client_list(opts.saddr, tlscreds, in main()
/openbmc/qemu/include/block/
H A Dnbd.h396 int nbd_receive_negotiate(QIOChannel *ioc, QCryptoTLSCreds *tlscreds,
400 int nbd_receive_export_list(QIOChannel *ioc, QCryptoTLSCreds *tlscreds,
420 QCryptoTLSCreds *tlscreds,
499 QCryptoTLSCreds *tlscreds,
/openbmc/qemu/ui/
H A Dvnc.c590 if (!vd->tlscreds) { in vnc_display_reload_certs()
601 if (!creds->reload(vd->tlscreds, errp)) { in vnc_display_reload_certs()
3305 if (vd->tlscreds) { in vnc_connect()
3449 if (vd->tlscreds) { in vnc_display_close()
3450 object_unref(OBJECT(vd->tlscreds)); in vnc_display_close()
3451 vd->tlscreds = NULL; in vnc_display_close()
3660 if (websocket || !tlscreds) { in vnc_display_setup_auth()
4093 vd->tlscreds = (QCryptoTLSCreds *) in vnc_display_open()
4096 if (!vd->tlscreds) { in vnc_display_open()
4101 object_ref(OBJECT(vd->tlscreds)); in vnc_display_open()
[all …]
H A Dvnc-ws.c70 vs->vd->tlscreds, in vncws_tls_handshake_io()
H A Dvnc-auth-vencrypt.c112 vs->vd->tlscreds, in protocol_client_vencrypt_auth()
H A Dvnc.h181 QCryptoTLSCreds *tlscreds; member
/openbmc/qemu/crypto/
H A Dmeson.build19 'tlscreds.c',
H A Dtrace-events3 # tlscreds.c
/openbmc/qemu/block/
H A Dnbd.c103 QCryptoTLSCreds *tlscreds; member
126 object_unref(OBJECT(s->tlscreds)); in nbd_clear_bdrvstate()
1878 s->tlscreds = nbd_get_tls_creds(s->tlscredsid, errp); in nbd_process_options()
1879 if (!s->tlscreds) { in nbd_process_options()
1928 s->x_dirty_bitmap, s->tlscreds, in nbd_open()