Home
last modified time | relevance | path

Searched refs:fdset (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/target/xtensa/
H A Dxtensa-semi.c346 fd_set fdset; in HELPER() local
348 FD_ZERO(&fdset); in HELPER()
349 FD_SET(fd, &fdset); in HELPER()
351 rq == SELECT_ONE_READ ? &fdset : NULL, in HELPER()
352 rq == SELECT_ONE_WRITE ? &fdset : NULL, in HELPER()
353 rq == SELECT_ONE_EXCEPT ? &fdset : NULL, in HELPER()
/openbmc/qemu/tests/
H A Dvhost-user-bridge.c61 fd_set fdset; member
91 FD_ZERO(&dispr->fdset); in dispatcher_init()
109 FD_SET(sock, &dispr->fdset); in dispatcher_add()
128 FD_CLR(sock, &dispr->fdset); in dispatcher_remove()
141 fd_set fdset = dispr->fdset; in dispatcher_wait() local
144 int rc = select(dispr->max_sock + 1, &fdset, 0, 0, &tv); in dispatcher_wait()
163 if (FD_ISSET(sock, &fdset) && FD_ISSET(sock, &dispr->fdset)) { in dispatcher_wait()
/openbmc/qemu/qapi/
H A Dmisc.json317 # @fdset-id: The ID of the fd set that @fd was added to.
324 { 'struct': 'AddfdInfo', 'data': {'fdset-id': 'int', 'fd': 'int'} }
331 # @fdset-id: The ID of the fd set to add the file descriptor to.
340 # - If @fdset-id is a negative value, GenericError
344 # .. note:: If @fdset-id is not specified, a new fd set will be
355 'data': { '*fdset-id': 'int',
364 # @fdset-id: The ID of the fd set that the file descriptor belongs to.
369 # - If @fdset-id or @fd is not found, GenericError
383 { 'command': 'remove-fd', 'data': {'fdset-id': 'int', '*fd': 'int'} }
404 # @fdset-id: The ID of the fd set.
[all …]
H A Dblock-core.json4054 # @fdset: Member @path supports the special "/dev/fdset/N" path
4061 'features': [ { 'name' :'fdset',
/openbmc/linux/fs/
H A Dselect.c394 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
396 memset(fdset, 0, nr); in get_fd_set()
401 set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in set_fd_set() argument
404 return __copy_to_user(ufdset, fdset, FDS_BYTES(nr)); in set_fd_set()
409 void zero_fd_set(unsigned long nr, unsigned long *fdset) in zero_fd_set() argument
411 memset(fdset, 0, FDS_BYTES(nr)); in zero_fd_set()
1161 unsigned long *fdset) in compat_get_fd_set() argument
1164 return compat_get_bitmap(fdset, ufdset, nr); in compat_get_fd_set()
1166 zero_fd_set(nr, fdset); in compat_get_fd_set()
1173 unsigned long *fdset) in compat_set_fd_set() argument
[all …]
/openbmc/qemu/stubs/
H A Dmeson.build7 stub_ss.add(files('fdset.c'))
/openbmc/qemu/python/qemu/machine/
H A Dmachine.py211 def add_fd(self: _T, fd: int, fdset: int,
217 'set=%d' % fdset,
/openbmc/qemu/docs/about/
H A Ddeprecated.rst504 file descriptor being passed as an ``fdset``. Refer to the ``add-fd``
505 command documentation for details on the ``fdset`` usage.
/openbmc/qemu/docs/devel/migration/
H A Dmain.rst51 opened. A set of file descriptors is passed to QEMU via an "fdset"
57 - the fdset must contain two file descriptors that are not
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch176 fd_set fdset;
/openbmc/qemu/
H A Dqemu-options.hx278 by setting the value to ``/dev/fdset/NN``.
587 -drive file=/dev/fdset/2,index=0,media=disk
1691 -drive file=/dev/fdset/2,index=0,media=disk