Searched refs:config_fd (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/hw/pci-host/ |
H A D | xen_igd_pt.c | 51 int rc, config_fd; in host_pci_config_read() local 56 config_fd = open(path, O_RDWR); in host_pci_config_read() 57 if (config_fd < 0) { in host_pci_config_read() 62 if (lseek(config_fd, pos, SEEK_SET) != pos) { in host_pci_config_read() 68 rc = read(config_fd, (uint8_t *)val, len); in host_pci_config_read() 75 close(config_fd); in host_pci_config_read()
|
/openbmc/qemu/hw/xen/ |
H A D | xen-host-pci-device.c | 269 d->config_fd = open(path, O_RDWR); in xen_host_pci_config_open() 270 if (d->config_fd == -1) { in xen_host_pci_config_open() 281 rc = pread(d->config_fd, buf, len, pos); in xen_host_pci_config_read() 295 rc = pwrite(d->config_fd, buf, len, pos); in xen_host_pci_config_write() 401 d->config_fd = -1; in xen_host_pci_device_get() 459 if (d->config_fd >= 0) { in xen_host_pci_device_get() 460 close(d->config_fd); in xen_host_pci_device_get() 461 d->config_fd = -1; in xen_host_pci_device_get() 467 return d->config_fd == -1; in xen_host_pci_device_closed() 472 if (d->config_fd >= 0) { in xen_host_pci_device_put() [all …]
|
H A D | xen-host-pci-device.h | 42 int config_fd; member
|
/openbmc/qemu/ebpf/ |
H A D | ebpf_rss.c | 160 int config_fd, int toeplitz_fd, int table_fd, in ebpf_rss_load_fds() argument 172 if (config_fd < 0) { in ebpf_rss_load_fds() 186 ctx->map_configuration = config_fd; in ebpf_rss_load_fds()
|
H A D | ebpf_rss-stub.c | 32 int config_fd, int toeplitz_fd, int table_fd, in ebpf_rss_load_fds() argument
|
H A D | ebpf_rss.h | 49 int config_fd, int toeplitz_fd, int table_fd,
|