| /openbmc/pldm/common/ |
| H A D | transport.cpp | 11 struct pldm_transport* transport_impl_init(TransportImpl& impl, pollfd& pollfd, 36 pldm_transport_impl_mctp_demux_init(TransportImpl& impl, pollfd& pollfd) in pldm_transport_impl_mctp_demux_init() argument 61 pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd); in pldm_transport_impl_mctp_demux_init() 68 TransportImpl& impl, pollfd& pollfd, bool listening) in pldm_transport_impl_af_mctp_init() argument 98 pldm_transport_af_mctp_init_pollfd(pldmTransport, &pollfd); in pldm_transport_impl_af_mctp_init() 104 struct pldm_transport* transport_impl_init(TransportImpl& impl, pollfd& pollfd, in transport_impl_init() argument 108 return pldm_transport_impl_mctp_demux_init(impl, pollfd); in transport_impl_init() 110 return pldm_transport_impl_af_mctp_init(impl, pollfd, listening); in transport_impl_init()
|
| H A D | transport.hpp | 95 pollfd pfd;
|
| /openbmc/libpldm/src/transport/ |
| H A D | transport.h | 7 struct pollfd; 28 struct pollfd *pollfd);
|
| H A D | test.h | 52 struct pollfd; 54 struct pollfd *pollfd);
|
| H A D | transport.c | 22 struct pollfd { struct 28 static inline int poll(struct pollfd *fds LIBPLDM_CC_UNUSED, in poll() argument 39 struct pollfd pollfd; in pldm_transport_poll() local 50 rc = transport->init_pollfd(transport, &pollfd); in pldm_transport_poll() 55 rc = poll(&pollfd, 1, timeout); in pldm_transport_poll()
|
| H A D | test.c | 35 struct pollfd *pollfd) in pldm_transport_test_init_pollfd() argument 74 struct pollfd pfds[] = { in pldm_transport_test_init_pollfd() 93 pollfd->fd = test->timerfd; in pldm_transport_test_init_pollfd() 94 pollfd->events = POLLIN; in pldm_transport_test_init_pollfd()
|
| H A D | af-mctp.c | 56 struct pollfd *pollfd) in pldm_transport_af_mctp_init_pollfd() argument 59 pollfd->fd = ctx->socket; in pldm_transport_af_mctp_init_pollfd() 60 pollfd->events = POLLIN; in pldm_transport_af_mctp_init_pollfd()
|
| H A D | mctp-demux.c | 74 struct pollfd *pollfd) in pldm_transport_mctp_demux_init_pollfd() argument 77 pollfd->fd = ctx->socket; in pldm_transport_mctp_demux_init_pollfd() 78 pollfd->events = POLLIN; in pldm_transport_mctp_demux_init_pollfd()
|
| /openbmc/libpldm/include/libpldm/transport/ |
| H A D | mctp-demux.h | 25 struct pollfd; 28 struct pollfd *pollfd);
|
| H A D | af-mctp.h | 26 struct pollfd; 29 struct pollfd *pollfd);
|
| /openbmc/libmctp/ |
| H A D | libmctp-serial.h | 20 struct pollfd; 22 struct pollfd *pollfd);
|
| H A D | libmctp-astlpc.h | 50 struct pollfd; 52 struct pollfd *pollfd);
|
| H A D | serial.c | 351 struct pollfd *pollfd) in mctp_serial_init_pollfd() argument 353 pollfd->fd = serial->fd; in mctp_serial_init_pollfd() 354 pollfd->events = POLLIN; in mctp_serial_init_pollfd()
|
| /openbmc/phosphor-debug-collector/host-transport-extensions/pldm/common/ |
| H A D | pldm_utils.cpp | 144 struct pollfd pollfd; in openMctpDemuxTransport() local 145 rc = pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd); in openMctpDemuxTransport() 153 return pollfd.fd; in openMctpDemuxTransport()
|
| /openbmc/obmc-console/ |
| H A D | console-server.c | 66 static bool console_server_pollfd_reclaimable(struct pollfd *p) in console_server_pollfd_reclaimable() 75 struct pollfd *p = &server->pollfds[i]; in console_server_find_released_pollfd() 89 struct pollfd *pollfd; in console_server_request_pollfd() local 96 struct pollfd *newarr = reallocarray(server->pollfds, newcap, in console_server_request_pollfd() 97 sizeof(struct pollfd)); in console_server_request_pollfd() 108 pollfd = &server->pollfds[index]; in console_server_request_pollfd() 109 pollfd->fd = fd; in console_server_request_pollfd() 110 pollfd->events = events; in console_server_request_pollfd() 111 pollfd->revents = 0; in console_server_request_pollfd() 123 struct pollfd *pfd = &server->pollfds[pollfd_index]; in console_server_release_pollfd() [all …]
|
| /openbmc/libmctp/utils/ |
| H A D | mctp-demux-daemon.c | 53 int (*init_pollfd)(struct binding *binding, struct pollfd *pollfd); 73 struct pollfd *pollfds; 201 struct pollfd *pollfd) in binding_serial_init_pollfd() argument 203 return mctp_serial_init_pollfd(binding->data, pollfd); in binding_serial_init_pollfd() 247 struct pollfd *pollfd) in binding_astlpc_init_pollfd() argument 249 return mctp_astlpc_init_pollfd(binding->data, pollfd); in binding_astlpc_init_pollfd() 466 ctx->pollfds = malloc(FD_NR * sizeof(struct pollfd)); in run_daemon() 497 sizeof(struct pollfd)); in run_daemon()
|
| /openbmc/openpower-hw-diags/util/ |
| H A D | pldm.cpp | 195 struct pollfd pollfd; in openMctpDemuxTransport() local 196 rc = pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd); in openMctpDemuxTransport() 204 return pollfd.fd; in openMctpDemuxTransport() 228 struct pollfd pollfd; in openAfMctpTransport() local 229 rc = pldm_transport_af_mctp_init_pollfd(pldmTransport, &pollfd); in openAfMctpTransport() 237 return pollfd.fd; in openAfMctpTransport()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | pldm_interface.cpp | 109 struct pollfd pollfd; in openMctpDemuxTransport() local 110 rc = pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd); in openMctpDemuxTransport() 118 return pollfd.fd; in openMctpDemuxTransport()
|
| /openbmc/qemu/qga/ |
| H A D | channel-win32.c | 28 GPollFD pollfd; member 160 success = c->cb(watch->pollfd.revents, c->user_data); in ga_channel_dispatch() 195 watch->pollfd.fd = (gintptr) c->rstate.ov.hEvent; in ga_channel_create_watch() 196 g_source_add_poll(source, &watch->pollfd); in ga_channel_create_watch()
|
| /openbmc/phosphor-ipmi-flash/internal/ |
| H A D | sys.hpp | 45 virtual int poll(struct pollfd* fds, nfds_t nfds, int timeout) const = 0; 80 int poll(struct pollfd* fds, nfds_t nfds, int timeout) const override;
|
| /openbmc/openbmc-tools/pwmtachtool/src/ |
| H A D | EINTR_wrappers.h | 63 int sigwrap_poll(struct pollfd *fds, nfds_t nfds, int timeout); 64 int sigwrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *s…
|
| /openbmc/openbmc-tools/adcapp/src/ |
| H A D | EINTR_wrappers.h | 63 int sigwrap_poll(struct pollfd *fds, nfds_t nfds, int timeout); 64 int sigwrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *s…
|
| /openbmc/openpower-occ-control/ |
| H A D | pldm.cpp | 600 struct pollfd pollfd; in openMctpDemuxTransport() local 601 if (pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd)) in openMctpDemuxTransport() 609 pldmFd = pollfd.fd; in openMctpDemuxTransport() 639 struct pollfd pollfd; in openAfMctpTransport() local 640 if (pldm_transport_af_mctp_init_pollfd(pldmTransport, &pollfd)) in openAfMctpTransport() 648 pldmFd = pollfd.fd; in openAfMctpTransport()
|
| /openbmc/google-misc/subprojects/ncsid/src/ |
| H A D | ncsi_sockio.cpp | 84 struct pollfd sock_pollfd{sockfd_, POLLIN | POLLPRI, 0}; in recv()
|
| /openbmc/qemu/audio/ |
| H A D | sndioaudio.c | 37 struct pollfd *pfds; 65 struct pollfd *pfd; in sndio_poll_clear() 136 struct pollfd *pfd; in sndio_poll_wait() 431 self->pfds = g_malloc_n(nfds, sizeof(struct pollfd)); in sndio_init()
|