Searched refs:vsc_fd (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_virtio_input.c | 148 int vsc_fd; member 227 if (write(sc->vsc_fd, &host_event, sizeof(host_event)) == -1) { in pci_vtinput_notify_statusq() 245 if (ioctl(sc->vsc_fd, cmd, sc->vsc_config.u.bitmap) < 0) { in pci_vtinput_get_bitmap() 263 if (ioctl(sc->vsc_fd, EVIOCGNAME(sizeof(name) - 1), name) < 0) { in pci_vtinput_read_config_id_name() 286 if (ioctl(sc->vsc_fd, EVIOCGID, &devids)) { in pci_vtinput_read_config_id_devids() 377 if (ioctl(sc->vsc_fd, EVIOCGABS(sc->vsc_config.subsel), &abs) < 0) { in pci_vtinput_read_config_abs_info() 599 while (vtinput_read_event_from_host(sc->vsc_fd, &event) == 0) { in vtinput_read_event() 659 sc->vsc_fd = open(sc->vsc_evdev, O_RDWR | O_NONBLOCK); in pci_vtinput_init() 660 if (sc->vsc_fd < 0) { in pci_vtinput_init() 667 int error = ioctl(sc->vsc_fd, EVIOCGVERSION, &evversion); in pci_vtinput_init() [all …]
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.h | 217 int vsc_fd; member
|
H A D | vs_icap.c | 263 ctx.vsc_fd = fd; in vs_icap_scan_file() 1219 if ((nread = vs_icap_read(ctx->vsc_fd, dbuf, chunk_len)) < 0) in vs_icap_send_chunk()
|