Searched refs:pollevt (Results 1 - 4 of 4) sorted by relevance

/fuchsia/zircon/system/ulib/port/include/port/
H A Dport.h59 zx_status_t (*func)(port_fd_handler_t* fh, unsigned pollevt, uint32_t evt);
64 // specified pollevt (POLLIN, etc), and a reference is held
66 zx_status_t port_fd_handler_init(port_fd_handler_t* fh, int fd, unsigned pollevt);
/fuchsia/zircon/system/ulib/port/
H A Dport.c98 uint32_t pollevt; local
99 __fdio_wait_end(fh->fdio_context, signals, &pollevt);
100 return fh->func(fh, pollevt, 0);
104 zx_status_t port_fd_handler_init(port_fd_handler_t* fh, int fd, unsigned pollevt) { argument
109 __fdio_wait_begin(io, pollevt, &fh->ph.handle, &fh->ph.waitfor);
/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard.cpp147 static zx_status_t vc_input_cb(port_fd_handler_t* fh, unsigned pollevt, uint32_t evt) { argument
151 if (!(pollevt & POLLIN)) {
H A Dmain.cpp121 static zx_status_t session_io_cb(port_fd_handler_t* fh, unsigned pollevt, uint32_t evt) { argument
124 if (pollevt & POLLIN) {
133 if (pollevt & (POLLRDHUP | POLLHUP)) {

Completed in 64 milliseconds