| /openbmc/qemu/contrib/ivshmem-client/ |
| H A D | ivshmem-client.c | 18 #define IVSHMEM_CLIENT_DEBUG(client, fmt, ...) do { \ argument 19 if ((client)->verbose) { \ 26 ivshmem_client_read_one_msg(IvshmemClient *client, int64_t *index, int *fd) in ivshmem_client_read_one_msg() argument 46 ret = recvmsg(client->sock_fd, &msg, 0); in ivshmem_client_read_one_msg() 48 IVSHMEM_CLIENT_DEBUG(client, "cannot read message: %s\n", in ivshmem_client_read_one_msg() 53 IVSHMEM_CLIENT_DEBUG(client, "lost connection to server\n"); in ivshmem_client_read_one_msg() 77 ivshmem_client_free_peer(IvshmemClient *client, IvshmemClientPeer *peer) in ivshmem_client_free_peer() argument 81 QTAILQ_REMOVE(&client->peer_list, peer, next); in ivshmem_client_free_peer() 91 ivshmem_client_handle_server_msg(IvshmemClient *client) in ivshmem_client_handle_server_msg() argument 97 ret = ivshmem_client_read_one_msg(client, &peer_id, &fd); in ivshmem_client_handle_server_msg() [all …]
|
| H A D | main.c | 78 ivshmem_client_handle_stdin_command(IvshmemClient *client) in ivshmem_client_handle_stdin_command() argument 103 ivshmem_client_dump(client); in ivshmem_client_handle_stdin_command() 105 ivshmem_client_notify_broadcast(client); in ivshmem_client_handle_stdin_command() 107 peer = ivshmem_client_search_peer(client, peer_id); in ivshmem_client_handle_stdin_command() 112 ivshmem_client_notify(client, peer, vector); in ivshmem_client_handle_stdin_command() 114 peer = ivshmem_client_search_peer(client, peer_id); in ivshmem_client_handle_stdin_command() 119 ivshmem_client_notify_all_vects(client, peer); in ivshmem_client_handle_stdin_command() 133 ivshmem_client_poll_events(IvshmemClient *client) in ivshmem_client_poll_events() argument 144 ivshmem_client_get_fds(client, &fds, &maxfd); in ivshmem_client_poll_events() 160 ivshmem_client_handle_stdin_command(client) < 0 && errno != EINTR) { in ivshmem_client_poll_events() [all …]
|
| H A D | ivshmem-client.h | 57 const IvshmemClient *client, 96 int ivshmem_client_init(IvshmemClient *client, const char *unix_sock_path, 111 int ivshmem_client_connect(IvshmemClient *client); 118 void ivshmem_client_close(IvshmemClient *client); 133 void ivshmem_client_get_fds(const IvshmemClient *client, fd_set *fds, 150 int ivshmem_client_handle_fds(IvshmemClient *client, fd_set *fds, int maxfd); 161 int ivshmem_client_notify(const IvshmemClient *client, 173 int ivshmem_client_notify_all_vects(const IvshmemClient *client, 184 int ivshmem_client_notify_broadcast(const IvshmemClient *client); 198 ivshmem_client_search_peer(IvshmemClient *client, int64_t peer_id); [all …]
|
| /openbmc/qemu/block/ |
| H A D | nfs.c | 75 NFSClient *client; member 190 static void nfs_set_events(NFSClient *client) in nfs_set_events() argument 192 int ev = nfs_which_events(client->context); in nfs_set_events() 193 if (ev != client->events) { in nfs_set_events() 194 aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context), in nfs_set_events() 197 NULL, NULL, client); in nfs_set_events() 200 client->events = ev; in nfs_set_events() 205 NFSClient *client = arg; in nfs_process_read() local 207 qemu_mutex_lock(&client->mutex); in nfs_process_read() 208 nfs_service(client->context, POLLIN); in nfs_process_read() [all …]
|
| /openbmc/obmc-console/ |
| H A D | socket-handler.c | 40 struct client { struct 54 struct client **clients; argument 68 static void client_close(struct client *client) in client_close() argument 70 struct socket_handler *sh = client->sh; in client_close() 73 close(client->fd); in client_close() 74 if (client->poller) { in client_close() 75 console_poller_unregister(sh->console, client->poller); in client_close() 78 if (client->rbc) { in client_close() 79 ringbuffer_consumer_unregister(client->rbc); in client_close() 83 if (sh->clients[idx] == client) { in client_close() [all …]
|
| H A D | console-client.c | 70 static enum process_rc process_ssh_tty(struct console_client *client, in process_ssh_tty() argument 73 struct ssh_esc_state *esc_state = &client->esc_state.ssh; in process_ssh_tty() 92 rc = write_buf_to_fd(client->console_sd, out_buf, in process_ssh_tty() 107 rc = write_buf_to_fd(client->console_sd, out_buf, in process_ssh_tty() 112 static enum process_rc process_str_tty(struct console_client *client, in process_str_tty() argument 115 struct str_esc_state *esc_state = &client->esc_state.str; in process_str_tty() 133 if (write_buf_to_fd(client->console_sd, buf, i) < 0) { in process_str_tty() 139 static enum process_rc process_tty(struct console_client *client) in process_tty() argument 144 len = read(client->fd_in, buf, sizeof(buf)); in process_tty() 152 switch (client->esc_type) { in process_tty() [all …]
|
| /openbmc/qemu/nbd/ |
| H A D | server.c | 83 NBDClient *client; member 126 void (*close_fn)(NBDClient *client, bool negotiated); 160 static void nbd_client_receive_next_request(NBDClient *client); 201 nbd_negotiate_send_rep_len(NBDClient *client, uint32_t type, in nbd_negotiate_send_rep_len() argument 206 trace_nbd_negotiate_send_rep_len(client->opt, nbd_opt_lookup(client->opt), in nbd_negotiate_send_rep_len() 211 set_be_option_rep(&rep, client->opt, type, len); in nbd_negotiate_send_rep_len() 212 return nbd_write(client->ioc, &rep, sizeof(rep), errp); in nbd_negotiate_send_rep_len() 218 nbd_negotiate_send_rep(NBDClient *client, uint32_t type, Error **errp) in nbd_negotiate_send_rep() argument 220 return nbd_negotiate_send_rep_len(client, type, 0, errp); in nbd_negotiate_send_rep() 226 nbd_negotiate_send_rep_verr(NBDClient *client, uint32_t type, in nbd_negotiate_send_rep_verr() argument [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/hashserv/ |
| H A D | tests.py | 74 def cleanup_client(client): argument 75 client.close() 77 client = create_client(server_address, username=username, password=password) 78 self.addCleanup(cleanup_client, client) 80 return client 101 self.client = self.start_client(self.server_address) 103 def assertClientGetHash(self, client, taskhash, unihash): argument 104 result = client.get_unihash(self.METHOD, taskhash) 108 with self.auth_client(user) as client: 109 info = client.get_user() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/libotr/ |
| H A D | 0001-tests-Include-missing-sys-socket.h-header.patch | 7 | ../../../../libotr-4.1.1/tests/regression/client/client.c:979:21: error: use of undeclared identi… 8 | ../../../../libotr-4.1.1/tests/regression/client/client.c:979:30: error: use of undeclared identi… 9 | ../../../../libotr-4.1.1/tests/regression/client/client.c:986:20: error: use of undeclared identi… 14 tests/regression/client/client.c | 1 + 17 diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c 19 --- a/tests/regression/client/client.c 20 +++ b/tests/regression/client/client.c
|
| /openbmc/sdbusplus/include/sdbusplus/async/ |
| H A D | client.hpp | 8 namespace client namespace 26 class client : class 28 public Types<client<S, P, Preserved, Types...>, 32 using Self = client<S, P, Preserved, Types...>; 40 constexpr client() = delete; 42 explicit client(sdbusplus::async::context& ctx) 46 explicit client(sdbusplus::async::context& ctx) in client() function in sdbusplus::async::client::client 52 explicit client(sdbusplus::async::context& ctx, Proxy p) in client() function in sdbusplus::async::client::client 61 return client<true, P, Preserved, Types...>(ctx, proxy.service(s)); in service() 68 return client<S, true, Preserved, Types...>(ctx, proxy.path(p)); in path() [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | virtio-9p-test.c | 60 tversion({ .client = obj }); in fs_version() 66 tattach({ .client = obj }); in fs_attach() 82 tattach({ .client = v9p }); in fs_walk() 84 .client = v9p, .fid = 0, .newfid = 1, in fs_walk() 117 tattach({ .client = v9p }); in fs_readdir() 119 .client = v9p, .fid = 0, .newfid = 1, in fs_readdir() 125 .client = v9p, .fid = 1, .flags = O_DIRECTORY, .rlopen.qid = &qid in fs_readdir() 132 .client = v9p, .fid = 1, .offset = 0, .count = P9_MAX_SIZE - 11, in fs_readdir() 174 tattach({ .client = v9p }); in do_readdir_split() 183 .client = v9p, .fid = 0, .newfid = fid, in do_readdir_split() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-connectivity/connman/connman-gnome/ |
| H A D | connman-gnome-fix-dbus-interface-name.patch | 13 common/connman-client.c | 24 ++++++++++++------------ 14 common/connman-client.h | 4 ++-- 19 diff --git a/common/connman-client.c b/common/connman-client.c 21 --- a/common/connman-client.c 22 +++ b/common/connman-client.c 23 @@ -289,7 +289,7 @@ gboolean connman_client_set_ipv4(ConnmanClient *client, const gchar *device, 32 @@ -317,7 +317,7 @@ void connman_client_set_powered(ConnmanClient *client, const gchar *device, 41 @@ -325,7 +325,7 @@ void connman_client_set_powered(ConnmanClient *client, const gchar *device, 44 void connman_client_scan(ConnmanClient *client, const gchar *device, 48 ConnmanClientPrivate *priv = CONNMAN_CLIENT_GET_PRIVATE(client); [all …]
|
| /openbmc/phosphor-snmp/test/ |
| H A D | test_snmp_client.cpp | 43 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 202); in TEST_F() local 44 EXPECT_EQ(client.transportProtocol(), in TEST_F() 47 EXPECT_EQ(client.address(), "1.1.1.1"); in TEST_F() 48 EXPECT_EQ(client.port(), 202); in TEST_F() 49 client.address("2.2.2.2"); in TEST_F() 50 EXPECT_EQ(client.address(), "2.2.2.2"); in TEST_F() 51 client.port(404); in TEST_F() 52 EXPECT_EQ(client.port(), 404); in TEST_F() 59 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 202); in TEST_F() local 60 EXPECT_EQ(client.address(), "1.1.1.1"); in TEST_F() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
| H A D | 0012-raddb-certs-Makefile-fix-the-existed-certificate-err.patch | 9 …a.key -cert ca.pem -in client.csr -key 'whatever' -out client.crt -extensions xpclient_ext -extfi… 10 Using configuration from ./client.cnf 20 make: *** [Makefile:128: client.crt] Error 1 44 @@ -117,7 +117,7 @@ client.csr client.key: client.cnf 45 chmod g+r client.key 47 client.crt: ca.key ca.pem client.csr 48 …key -cert ca.pem -in client.csr -key $(PASSWORD_CA) -out client.crt -extensions xpclient_ext -ext… 49 …client.crt ] || $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key $(PASSWORD_… 51 client.p12: client.crt 52 …$(OPENSSL) pkcs12 -export -in client.crt -inkey client.key -out client.p12 -passin pass:$(PASSWOR…
|
| H A D | 0013-raddb-certs-Makefile-fix-the-occasional-verification.patch | 35 @@ -59,7 +59,7 @@ passwords.mk: server.cnf ca.cnf client.cnf inner-server.cnf 91 client.csr client.key: client.cnf 92 - $(OPENSSL) req -new -out client.csr -keyout client.key -config ./client.cnf 93 + @[ -f client.csr ] || $(OPENSSL) req -new -out client.csr -keyout client.key -config ./client.cnf 94 chmod g+r client.key 96 client.crt: ca.key ca.pem client.csr 97 …client.crt ] || $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key $(PASSWORD_… 99 client.p12: client.crt 100 - $(OPENSSL) pkcs12 -export -in client.crt -inkey client.key -out client.p12 -passin pass:$(PASSWO… 101 + @[ -f client.p12 ] || $(OPENSSL) pkcs12 -export -in client.crt -inkey client.key -out client.p12 … [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary/ |
| H A D | 0001-application-client.vala-hardcode-some-paths.patch | 4 Subject: [PATCH] application-client.vala: hardcode some paths 7 https://gitlab.gnome.org/GNOME/geary/-/blob/main/src/client/application/application-client.vala?ref… 8 https://gitlab.gnome.org/GNOME/geary/-/blob/main/src/client/application/application-client.vala?ref… 11 WARNING: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/libgeary-client-46.0.so in pack… 12 WARNING: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/.debug/libgeary-client-46.0.so … 18 src/client/application/application-client.vala | 4 ++-- 21 diff --git a/src/client/application/application-client.vala b/src/client/application/application-cl… 23 --- a/src/client/application/application-client.vala 24 +++ b/src/client/application/application-client.vala
|
| /openbmc/openbmc/poky/bitbake/bin/ |
| H A D | bitbake-hashclient | 57 def handle_get(args, client): argument 58 result = client.get_taskhash(args.method, args.taskhash, all_properties=True) 65 def handle_get_outhash(args, client): argument 66 result = client.get_outhash(args.method, args.outhash, args.taskhash) 73 def handle_stats(args, client): argument 75 s = client.reset_stats() 77 s = client.get_stats() 81 def handle_stress(args, client): argument 88 with hashserv.create_client(args.address) as client: 95 l = client.get_unihash(METHOD, taskhash.hexdigest()) [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/boinc/boinc-client/ |
| H A D | 0001-scripts-Do-not-check-for-files-on-build-host.patch | 16 client/scripts/Makefile.am | 10 +++++----- 19 diff --git a/client/scripts/Makefile.am b/client/scripts/Makefile.am 21 --- a/client/scripts/Makefile.am 22 +++ b/client/scripts/Makefile.am 26 chmod +x boinc-client 30 $(INSTALL) -b boinc-client $(DESTDIR)$(sysconfdir)/init.d/boinc-client ; \ 35 $(INSTALL_DATA) boinc-client.service $(DESTDIR)/usr/lib/systemd/system/boinc-client.service ; \ 39 $(INSTALL_DATA) boinc-client.service $(DESTDIR)/lib/systemd/system/boinc-client.service ; \ 44 $(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/sysconfig/boinc-client ; \ 48 $(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/default/boinc-client ; \
|
| /openbmc/phosphor-bmc-code-mgmt/common/src/ |
| H A D | host_power.cpp | 22 sdbusplus::client::xyz::openbmc_project::state::Host<void, void>; 25 sdbusplus::client::xyz::openbmc_project::state::Host<>::Transition::On; 27 sdbusplus::client::xyz::openbmc_project::state::Host<>::Transition::Off; 32 const auto host0ObjectPath = sdbusplus::client::xyz::openbmc_project::state:: 52 auto client = sdbusplus::client::xyz::openbmc_project::state::Host(ctx) in setState() local 56 co_await client.requested_host_transition( in setState() 67 if ((co_await client.current_host_state()) == state) in setState() 83 auto client = sdbusplus::client::xyz::openbmc_project::state::Host(ctx) in getState() local 87 auto res = co_await client.current_host_state(); in getState()
|
| /openbmc/qemu/python/qemu/utils/ |
| H A D | qemu_ga_client.py | 189 def _cmd_cat(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 194 print(client.read(args[0])) 197 def _cmd_fsfreeze(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 208 ret = client.fsfreeze(cmd) 218 def _cmd_fstrim(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 223 print(client.fstrim(minimum)) 226 def _cmd_ifconfig(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 228 print(client.ifconfig()) 231 def _cmd_info(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 233 print(client.info()) [all …]
|
| /openbmc/qemu/docs/interop/ |
| H A D | barrier.rst | 1 Barrier client protocol 4 QEMU's ``input-barrier`` device implements the client end of 13 Message format between the server and client is in two parts: 19 command. The first command between the server and the client 32 server -> client 36 Say hello to client 46 client ->server 52 ``minor`` = protocol major version number supported by client 54 ``major`` = protocol minor version number supported by client 56 ``name`` = client name [all …]
|
| /openbmc/qemu/net/can/ |
| H A D | can_core.c | 85 int can_bus_insert_client(CanBusState *bus, CanBusClientState *client) in can_bus_insert_client() argument 87 client->bus = bus; in can_bus_insert_client() 88 QTAILQ_INSERT_TAIL(&bus->clients, client, next); in can_bus_insert_client() 92 int can_bus_remove_client(CanBusClientState *client) in can_bus_remove_client() argument 94 CanBusState *bus = client->bus; in can_bus_remove_client() 99 QTAILQ_REMOVE(&bus->clients, client, next); in can_bus_remove_client() 100 client->bus = NULL; in can_bus_remove_client() 104 ssize_t can_bus_client_send(CanBusClientState *client, in can_bus_client_send() argument 108 CanBusState *bus = client->bus; in can_bus_client_send() 116 if (peer == client) { in can_bus_client_send() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/ |
| H A D | uw-imap_2007f.bb | 1 SUMMARY = "UW c-client library for mail protocols" 34 HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage… 42 install -d ${D}${includedir}/c-client 43 install ${HEADERS} ${D}${includedir}/c-client 45 install c-client/c-client.a ${D}${libdir}/libc-client.a 48 RPROVIDES:${PN} = "libc-client" 49 RREPLACES:${PN} = "libc-client" 50 RCONFLICTS:${PN} = "libc-client"
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/ |
| H A D | disable-outside-tests.patch | 11 Index: cpprest/Release/tests/functional/http/client/CMakeLists.txt 13 --- cpprest.orig/Release/tests/functional/http/client/CMakeLists.txt 14 +++ cpprest/Release/tests/functional/http/client/CMakeLists.txt 23 Index: cpprest/Release/tests/functional/http/client/authentication_tests.cpp 25 --- cpprest.orig/Release/tests/functional/http/client/authentication_tests.cpp 26 +++ cpprest/Release/tests/functional/http/client/authentication_tests.cpp 55 Index: cpprest/Release/tests/functional/websockets/client/authentication_tests.cpp 57 --- cpprest.orig/Release/tests/functional/websockets/client/authentication_tests.cpp 58 +++ cpprest/Release/tests/functional/websockets/client/authentication_tests.cpp 66 websocket_client client; [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/packagegroups/ |
| H A D | packagegroup-core-nfs.bb | 9 PACKAGES = "${PN}-server ${PN}-client" 11 SUMMARY:${PN}-client = "NFS client" 12 RDEPENDS:${PN}-client = "nfs-utils-client" 17 nfs-utils-client \
|