Home
last modified time | relevance | path

Searched refs:req_fd (Results 1 – 7 of 7) sorted by relevance

/linux/Documentation/userspace-api/media/mediactl/
H A Drequest-api.rst146 int req_fd;
148 if (ioctl(media_fd, MEDIA_IOC_REQUEST_ALLOC, &req_fd))
152 ctrls.request_fd = req_fd;
158 buf.request_fd = req_fd;
169 if (ioctl(req_fd, MEDIA_REQUEST_IOC_QUEUE))
197 struct pollfd pfd = { .events = POLLPRI, .fd = req_fd };
201 ctrls.request_fd = req_fd;
210 if (ioctl(req_fd, MEDIA_REQUEST_IOC_REINIT))
217 close(req_fd);
229 int req_fd;
[all …]
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-line-event-read.rst17 ``int read(int req_fd, void *buf, size_t count)``
22 ``req_fd``
75 The `read()` will block if no event is available and the ``req_fd`` has not
78 The presence of an event can be tested for by checking that the ``req_fd`` is
H A Dgpio-v2-line-set-values-ioctl.rst19 ``int ioctl(int req_fd, GPIO_V2_LINE_SET_VALUES_IOCTL, struct gpio_v2_line_values *values)``
24 ``req_fd``
H A Dgpio-v2-line-get-values-ioctl.rst19 ``int ioctl(int req_fd, GPIO_V2_LINE_GET_VALUES_IOCTL, struct gpio_v2_line_values *values)``
24 ``req_fd``
H A Dgpio-v2-line-set-config-ioctl.rst19 ``int ioctl(int req_fd, GPIO_V2_LINE_SET_CONFIG_IOCTL, struct gpio_v2_line_config *config)``
24 ``req_fd``
H A Dchardev.rst76 as ``req_fd``.
/linux/arch/um/drivers/
H A Dvirtio_uml.c56 int sock, req_fd, irq; member
212 int rc = vhost_user_recv(vu_dev, vu_dev->req_fd, msg, in vhost_user_recv_req()
370 rc = full_sendmsg_fds(vu_dev->req_fd, &reply, size, NULL, 0); in vhost_user_reply()
472 vu_dev->req_fd = req_fds[0]; in vhost_user_init_slave_req()
474 rc = um_request_irq_tt(UM_IRQ_ALLOC, vu_dev->req_fd, IRQ_READ, in vhost_user_init_slave_req()
1136 if (vu_dev->req_fd >= 0) { in virtio_uml_release_dev()
1138 os_close_file(vu_dev->req_fd); in virtio_uml_release_dev()
1230 vu_dev->req_fd = -1; in virtio_uml_probe()