/openbmc/qemu/hw/virtio/ |
H A D | virtio-pci.c | 74 VirtIOPCIProxy *proxy = to_virtio_pci_proxy_fast(d); in virtio_pci_notify() local 76 if (msix_enabled(&proxy->pci_dev)) { in virtio_pci_notify() 78 msix_notify(&proxy->pci_dev, vector); in virtio_pci_notify() 81 VirtIODevice *vdev = virtio_bus_get_device(&proxy->bus); in virtio_pci_notify() 82 pci_set_irq(&proxy->pci_dev, qatomic_read(&vdev->isr) & 1); in virtio_pci_notify() 88 VirtIOPCIProxy *proxy = to_virtio_pci_proxy(d); in virtio_pci_save_config() local 89 VirtIODevice *vdev = virtio_bus_get_device(&proxy->bus); in virtio_pci_save_config() 91 pci_device_save(&proxy->pci_dev, f); in virtio_pci_save_config() 92 msix_save(&proxy->pci_dev, f); in virtio_pci_save_config() 93 if (msix_present(&proxy->pci_dev)) in virtio_pci_save_config() [all …]
|
H A D | virtio-mmio.c | 40 VirtIOMMIOProxy *proxy = VIRTIO_MMIO(d); in virtio_mmio_ioeventfd_enabled() local 42 return (proxy->flags & VIRTIO_IOMMIO_FLAG_USE_IOEVENTFD) != 0; in virtio_mmio_ioeventfd_enabled() 49 VirtIOMMIOProxy *proxy = VIRTIO_MMIO(d); in virtio_mmio_ioeventfd_assign() local 52 memory_region_add_eventfd(&proxy->iomem, VIRTIO_MMIO_QUEUE_NOTIFY, 4, in virtio_mmio_ioeventfd_assign() 55 memory_region_del_eventfd(&proxy->iomem, VIRTIO_MMIO_QUEUE_NOTIFY, 4, in virtio_mmio_ioeventfd_assign() 61 static void virtio_mmio_start_ioeventfd(VirtIOMMIOProxy *proxy) in virtio_mmio_start_ioeventfd() argument 63 virtio_bus_start_ioeventfd(&proxy->bus); in virtio_mmio_start_ioeventfd() 66 static void virtio_mmio_stop_ioeventfd(VirtIOMMIOProxy *proxy) in virtio_mmio_stop_ioeventfd() argument 68 virtio_bus_stop_ioeventfd(&proxy->bus); in virtio_mmio_stop_ioeventfd() 71 static void virtio_mmio_soft_reset(VirtIOMMIOProxy *proxy) in virtio_mmio_soft_reset() argument [all …]
|
/openbmc/qemu/hw/vfio-user/ |
H A D | proxy.c | 13 #include "hw/vfio-user/proxy.h" 28 static void vfio_user_shutdown(VFIOUserProxy *proxy); 29 static VFIOUserMsg *vfio_user_getmsg(VFIOUserProxy *proxy, VFIOUserHdr *hdr, 31 static void vfio_user_recycle(VFIOUserProxy *proxy, VFIOUserMsg *msg); 48 static void vfio_user_shutdown(VFIOUserProxy *proxy) in vfio_user_shutdown() argument 50 qio_channel_shutdown(proxy->ioc, QIO_CHANNEL_SHUTDOWN_READ, NULL); in vfio_user_shutdown() 51 qio_channel_set_aio_fd_handler(proxy->ioc, proxy->ctx, NULL, in vfio_user_shutdown() 52 proxy->ctx, NULL, NULL); in vfio_user_shutdown() 62 static ssize_t vfio_user_send_qio(VFIOUserProxy *proxy, VFIOUserMsg *msg, in vfio_user_send_qio() argument 79 ret = qio_channel_writev_full(proxy->ioc, &iov, 1, fdp, numfds, 0, errp); in vfio_user_send_qio() [all …]
|
H A D | device.c | 25 bool vfio_user_get_device_info(VFIOUserProxy *proxy, in vfio_user_get_device_info() argument 35 if (!vfio_user_send_wait(proxy, &msg.hdr, NULL, 0, errp)) { in vfio_user_get_device_info() 59 void vfio_user_device_reset(VFIOUserProxy *proxy) in vfio_user_device_reset() argument 66 if (!vfio_user_send_wait(proxy, &hdr, NULL, 0, &local_err)) { in vfio_user_device_reset() 77 static int vfio_user_get_region_info(VFIOUserProxy *proxy, in vfio_user_get_region_info() argument 103 if (!vfio_user_send_wait(proxy, &msgp->hdr, fds, size, &local_err)) { in vfio_user_get_region_info() 124 vfio_user_disable_posted_writes(proxy); in vfio_user_get_region_info() 141 ret = vfio_user_get_region_info(vbasedev->proxy, info, &fds); in vfio_user_device_io_get_region_info() 158 VFIOUserProxy *proxy = vbasedev->proxy; in vfio_user_device_io_get_irq_info() local 168 if (!vfio_user_send_wait(proxy, &msg.hdr, NULL, 0, &local_err)) { in vfio_user_device_io_get_irq_info() [all …]
|
H A D | proxy.h | 78 * below are protected by per-proxy lock 106 void vfio_user_disconnect(VFIOUserProxy *proxy); 110 bool vfio_user_validate_version(VFIOUserProxy *proxy, Error **errp); 115 void vfio_user_disable_posted_writes(VFIOUserProxy *proxy); 119 void vfio_user_wait_reqs(VFIOUserProxy *proxy); 120 bool vfio_user_send_wait(VFIOUserProxy *proxy, VFIOUserHdr *hdr, 122 bool vfio_user_send_nowait(VFIOUserProxy *proxy, VFIOUserHdr *hdr, 124 bool vfio_user_send_async(VFIOUserProxy *proxy, VFIOUserHdr *hdr, 127 void vfio_user_send_reply(VFIOUserProxy *proxy, VFIOUserHdr *hdr, int size); 128 void vfio_user_send_error(VFIOUserProxy *proxy, VFIOUserHdr *hdr, int error); [all …]
|
H A D | pci.c | 17 #include "hw/vfio-user/proxy.h" 89 VFIOUserProxy *proxy = vdev->vbasedev.proxy; in vfio_user_dma_read() local 95 vfio_user_send_error(proxy, &msg->hdr, EINVAL); in vfio_user_dma_read() 98 if (msg->count > proxy->max_xfer_size) { in vfio_user_dma_read() 99 vfio_user_send_error(proxy, &msg->hdr, E2BIG); in vfio_user_dma_read() 117 vfio_user_send_reply(proxy, &res->hdr, size); in vfio_user_dma_read() 120 vfio_user_send_error(proxy, &res->hdr, EFAULT); in vfio_user_dma_read() 123 vfio_user_send_error(proxy, &res->hdr, ENODEV); in vfio_user_dma_read() 126 vfio_user_send_error(proxy, &res->hdr, EPERM); in vfio_user_dma_read() 130 vfio_user_send_error(vdev->vbasedev.proxy, &res->hdr, EINVAL); in vfio_user_dma_read() [all …]
|
H A D | container.c | 30 container->proxy->async_ops = true; in vfio_user_listener_begin() 39 container->proxy->async_ops = false; in vfio_user_listener_commit() 40 vfio_user_wait_reqs(container->proxy); in vfio_user_listener_commit() 60 container->proxy->async_ops); in vfio_user_dma_unmap() 62 if (container->proxy->async_ops) { in vfio_user_dma_unmap() 63 if (!vfio_user_send_nowait(container->proxy, &msgp->hdr, NULL, in vfio_user_dma_unmap() 69 if (!vfio_user_send_wait(container->proxy, &msgp->hdr, NULL, in vfio_user_dma_unmap() 118 container->proxy->async_ops); in vfio_user_dma_map() 124 if (container->proxy->async_ops) { in vfio_user_dma_map() 132 if (!vfio_user_send_nowait(container->proxy, &msgp->hdr, fds, in vfio_user_dma_map() [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/connman/connman-gnome/ |
H A D | connman-gnome-fix-dbus-interface-name.patch | 27 - ret = connman_set_property(proxy, "IPv4.Configuration", &value, NULL); 28 + ret = net_connman_set_property(proxy, "IPv4.Configuration", &value, NULL); 30 g_object_unref(proxy); 36 - connman_set_property(proxy, "Powered", &value, &error); 37 + net_connman_set_property(proxy, "Powered", &value, &error); 49 DBusGProxy *proxy; 51 if (proxy == NULL) 54 - connman_scan_async(proxy, callback, user_data); 55 + net_connman_scan_async(proxy, callback, user_data); 57 g_object_unref(proxy); [all …]
|
/openbmc/openbmc/poky/meta-poky/conf/templates/default/ |
H A D | site.conf.sample | 3 # such as proxy server addresses and optionally any shared download location 9 # Uncomment to cause CVS to use the proxy host specified 10 #CVS_PROXY_HOST = "proxy.example.com" 15 #http-proxy-host = proxy.example.com 16 #http-proxy-port = 81 19 # To use git with a proxy, you must use an external git proxy command, such as 20 # the one provided by scripts/oe-git-proxy. To use this script, copy it to 22 #GIT_PROXY_COMMAND ?= "oe-git-proxy" 25 #ALL_PROXY ?= "https://proxy.example.com:8080" 26 # If you wish to use certain hosts without the proxy, specify them in NO_PROXY. [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-git-proxy | 3 # oe-git-proxy is a simple tool to be via GIT_PROXY_COMMAND. It uses socat 4 # to make SOCKS5 or HTTPS proxy connections. 5 # It uses ALL_PROXY or all_proxy or http_proxy to determine the proxy server, 7 # It uses NO_PROXY to skip using the proxy for a comma delimited list of 13 # ALL_PROXY=https://proxy.example.com:8080 26 echo 'oe-git-proxy: error: the following arguments are required: host port' 27 echo 'Usage: oe-git-proxy host port' 29 echo 'OpenEmbedded git-proxy - a simple tool to be used via GIT_PROXY_COMMAND.' 30 echo 'It uses socat to make SOCKS or HTTPS proxy connections.' 31 echo 'It uses ALL_PROXY to determine the proxy server, protocol, and port.' [all …]
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | client.hpp | 3 #include <sdbusplus/async/proxy.hpp> 16 /** An aggregation class of sdbusplus::async::proxy-based client types. 21 * Like a `proxy`, the class only becomes functional once the service and 29 sdbusplus::async::proxy_ns::proxy<S, P, false, Preserved>>... 33 using Proxy = sdbusplus::async::proxy_ns::proxy<S, P, false, Preserved>; typedef in sdbusplus::async::client::client 37 Proxy proxy{}; member in sdbusplus::async::client::client 48 : context_ref(ctx), Types<Self, Proxy>(Proxy{})... in client() 51 /* Conversion constructor for a non-empty (Service and/or Path) proxy. */ 52 explicit client(sdbusplus::async::context& ctx, Proxy p) in client() 54 : context_ref(ctx), Types<Self, Proxy>(p)..., proxy(p) in client() [all …]
|
H A D | proxy.hpp | 17 /** A (client-side) proxy to a dbus object. 23 * The proxy is a holder of these 3 addresses. 25 * One all 3 pieces of the address are known by the proxy, the proxy 37 * constexpr auto systemd = sdbusplus::async::proxy() 43 * The proxy object can be filled as information is available and attempts 46 * proxy to leave a scope where it would be no longer safe to use the 48 * to transform an existing proxy into one which is safe to leave (because 53 struct proxy : private sdbusplus::bus::details::bus_friend struct 68 constexpr proxy() 71 constexpr proxy() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/ |
H A D | 0006-plat-corstone1000-Initialize-capsule-update-provider.patch | 6 Initializes the capsule update service provider in se-proxy-sp.c deployment 12 .../se-proxy/env/commonsp/se_proxy_sp.c | 14 +++++++++- 14 .../se-proxy/infra/service_proxy_factory.h | 1 + 17 diff --git a/deployments/se-proxy/env/commonsp/se_proxy_sp.c b/deployments/se-proxy/env/commonsp/se… 19 --- a/deployments/se-proxy/env/commonsp/se_proxy_sp.c 20 +++ b/deployments/se-proxy/env/commonsp/se_proxy_sp.c 36 + EMSG("Failed to create Capsule Update proxy"); 48 EMSG("Failed to create FWU proxy"); 49 diff --git a/deployments/se-proxy/infra/corstone1000/service_proxy_factory.c b/deployments/se-proxy… 51 --- a/deployments/se-proxy/infra/corstone1000/service_proxy_factory.c [all …]
|
H A D | 0015-se-proxy-protobuf-change.patch | 9 .../se-proxy/env/commonsp/se_proxy_sp.c | 25 ++++++++++++++++++- 12 diff --git a/deployments/se-proxy/env/commonsp/se_proxy_sp.c b/deployments/se-proxy/env/commonsp/se… 14 --- a/deployments/se-proxy/env/commonsp/se_proxy_sp.c 15 +++ b/deployments/se-proxy/env/commonsp/se_proxy_sp.c 18 #include "deployments/se-proxy/infra/service_proxy_factory.h" 19 #include "deployments/se-proxy/se_proxy_interfaces.h"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/dbus/ |
H A D | dbus-daemon-proxy_git.bb | 3 LIC_FILES_CHKSUM = "file://dbus-daemon-proxy.c;endline=19;md5=41df6d21fe1c97d6a1cc22a5bf374cba" 8 SRC_URI = "git://github.com/alban/dbus-daemon-proxy;branch=master;protocol=https \ 9 file://0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch \ 20 …${CC} ${CFLAGS} -o dbus-daemon-proxy dbus-daemon-proxy.c `pkg-config --cflags --libs dbus-glib-1` … 25 install -m 0755 dbus-daemon-proxy ${D}${bindir}
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | interface.client.hpp.mako | 18 template <typename Client, typename Proxy> 28 template <typename Client = void, typename Proxy = void> 32 details::${interface.classname}<Client, Proxy>> 38 details::${interface.classname}<Client, Proxy>>( 46 template <typename Client, typename Proxy> 70 return proxy.template get_all_properties<PropertiesVariant>(context()) | 104 // Conversion constructor from proxy used by client_t. 105 explicit constexpr ${interface.classname}(Proxy p) : 106 proxy(p.interface(interface)) 115 decltype(std::declval<Proxy>().interface(interface)) proxy = {};
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/dbus/dbus-daemon-proxy/ |
H A D | 0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch | 4 Subject: [PATCH] dbus-daemon-proxy: Return DBUS_HANDLER_RESULT_NOT_YET_HANDLED 14 dbus-daemon-proxy.c | 2 +- 17 diff --git a/dbus-daemon-proxy.c b/dbus-daemon-proxy.c 19 --- a/dbus-daemon-proxy.c 20 +++ b/dbus-daemon-proxy.c
|
/openbmc/openbmc/meta-phosphor/recipes-connectivity/jsnbd/ |
H A D | jsnbd_git.bb | 1 SUMMARY = "Network Block Device Proxy" 21 install -d ${D}${sysconfdir}/nbd-proxy/ 22 install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json 23 install -m 0755 ${UNPACKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state 26 FILES:${PN} += "${sysconfdir}/nbd-proxy/state"
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/ |
H A D | gpiod-sysfs-proxy_0.1.2.bb | 11 file://gpiod-sysfs-proxy.service.in \ 14 file://gpiod-sysfs-proxy.init.in \ 32 …install -m 0644 ${UNPACKDIR}/gpiod-sysfs-proxy.service.in ${D}${systemd_system_unitdir}/gpiod-sysf… 44 … sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${systemd_system_unitdir}/gpiod-sysfs-proxy.service 47 … install -m 0755 ${UNPACKDIR}/gpiod-sysfs-proxy.init.in ${D}${sysconfdir}/init.d/gpiod-sysfs-proxy 48 sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${sysconfdir}/init.d/gpiod-sysfs-proxy 52 SYSTEMD_SERVICE:${PN} = "gpiod-sysfs-proxy.service" 55 INITSCRIPT_NAME = "gpiod-sysfs-proxy"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/xdg-dbus-proxy/ |
H A D | xdg-dbus-proxy_0.1.6.bb | 1 SUMMARY = "xdg-dbus-proxy is a filtering proxy for D-Bus connections" 2 HOMEPAGE = "https://github.com/flatpak/xdg-dbus-proxy" 14 SRC_URI = "git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main"
|
/openbmc/u-boot/doc/device-tree-bindings/mailbox/ |
H A D | k3-secure-proxy.txt | 1 Texas Instruments' K3 Secure Proxy 4 The Texas Instruments' K3 Secure Proxy is a mailbox controller that has 8 Secure Proxy Device Node: 12 - compatible: Shall be: "ti,am654-secure-proxy" 23 compatible = "ti,am654-secure-proxy";
|
/openbmc/qemu/util/ |
H A D | dbus.c | 26 g_autoptr(GDBusProxy) proxy = NULL; in qemu_dbus_get_queued_owners() 31 proxy = g_dbus_proxy_new_sync(connection, G_DBUS_PROXY_FLAGS_NONE, NULL, in qemu_dbus_get_queued_owners() 36 if (!proxy) { in qemu_dbus_get_queued_owners() 37 error_setg(errp, "Failed to create DBus proxy: %s", err->message); in qemu_dbus_get_queued_owners() 41 result = g_dbus_proxy_call_sync(proxy, "ListQueuedOwners", in qemu_dbus_get_queued_owners()
|
/openbmc/qemu/backends/ |
H A D | dbus-vmstate.c | 105 g_autoptr(GDBusProxy) proxy = NULL; in dbus_get_proxies() 110 proxy = g_dbus_proxy_new_sync(self->bus, G_DBUS_PROXY_FLAGS_NONE, in dbus_get_proxies() 116 if (!proxy) { in dbus_get_proxies() 118 warn_report("%s: Failed to create proxy: %s", in dbus_get_proxies() 125 result = g_dbus_proxy_get_cached_property(proxy, "Id"); in dbus_get_proxies() 128 g_clear_object(&proxy); in dbus_get_proxies() 135 g_clear_object(&proxy); in dbus_get_proxies() 144 if (!g_hash_table_insert(proxies, id, proxy)) { in dbus_get_proxies() 150 proxy = NULL; in dbus_get_proxies() 171 dbus_load_state_proxy(GDBusProxy *proxy, const uint8_t *data, size_t size) in dbus_load_state_proxy() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/agent-proxy/ |
H A D | agent-proxy_1.97.bb | 1 SUMMARY = "Proxy for UDP/TCP debug connections" 2 DESCRIPTION = "The agent-proxy will forward tcp or udp connections as well as allow for script mult… 13 SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git;protocol=git;branch=maste… 23 install -m 0755 agent-proxy ${D}${bindir}
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-pci.h | 169 static inline bool virtio_pci_modern(VirtIOPCIProxy *proxy) in virtio_pci_modern() argument 171 return !proxy->disable_modern; in virtio_pci_modern() 174 static inline bool virtio_pci_legacy(VirtIOPCIProxy *proxy) in virtio_pci_legacy() argument 176 return proxy->disable_legacy == ON_OFF_AUTO_OFF; in virtio_pci_legacy() 179 static inline void virtio_pci_force_virtio_1(VirtIOPCIProxy *proxy) in virtio_pci_force_virtio_1() argument 181 proxy->disable_modern = false; in virtio_pci_force_virtio_1() 182 proxy->disable_legacy = ON_OFF_AUTO_ON; in virtio_pci_force_virtio_1() 185 static inline void virtio_pci_disable_modern(VirtIOPCIProxy *proxy) in virtio_pci_disable_modern() argument 187 proxy->disable_modern = true; in virtio_pci_disable_modern() 270 int virtio_pci_add_shm_cap(VirtIOPCIProxy *proxy, uint8_t bar, uint64_t offset,
|