| /f-stack/app/nginx-1.16.1/src/event/modules/ |
| H A D | ngx_devpoll_module.c | 224 #if (NGX_READ_EVENT != POLLIN) in ngx_devpoll_add_event() 225 event = (event == NGX_READ_EVENT) ? POLLIN : POLLOUT; in ngx_devpoll_add_event() 248 #if (NGX_READ_EVENT != POLLIN) in ngx_devpoll_del_event() 249 event = (event == NGX_READ_EVENT) ? POLLIN : POLLOUT; in ngx_devpoll_del_event() 262 e = (event == POLLIN) ? c->write : c->read; in ngx_devpoll_del_event() 273 if (event == POLLIN) { in ngx_devpoll_del_event() 279 event = POLLIN; in ngx_devpoll_del_event() 477 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { in ngx_devpoll_process_events() 491 revents |= POLLIN|POLLOUT; in ngx_devpoll_process_events() 496 if ((revents & POLLIN) && rev->active) { in ngx_devpoll_process_events()
|
| H A D | ngx_poll_module.c | 131 #if (NGX_READ_EVENT != POLLIN) in ngx_poll_add_event() 132 event = POLLIN; in ngx_poll_add_event() 184 #if (NGX_READ_EVENT != POLLIN) in ngx_poll_del_event() 185 event = POLLIN; in ngx_poll_del_event() 323 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { in ngx_poll_process_events() 363 revents |= POLLIN|POLLOUT; in ngx_poll_process_events() 368 if ((revents & POLLIN) && c->read->active) { in ngx_poll_process_events()
|
| H A D | ngx_win32_poll_module.c | 150 #if (NGX_READ_EVENT != POLLIN) in ngx_poll_add_event() 151 event = POLLIN; in ngx_poll_add_event() 206 #if (NGX_READ_EVENT != POLLIN) in ngx_poll_del_event() 207 event = POLLIN; in ngx_poll_del_event() 333 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { in ngx_poll_process_events() 373 revents |= POLLIN|POLLOUT; in ngx_poll_process_events() 378 if ((revents & POLLIN) && c->read->active) { in ngx_poll_process_events()
|
| H A D | ngx_eventport_module.c | 325 #if (NGX_READ_EVENT != POLLIN) in ngx_eventport_add_event() 326 events = POLLIN; in ngx_eventport_add_event() 331 prev = POLLIN; in ngx_eventport_add_event() 386 event = POLLIN; in ngx_eventport_del_event() 537 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { in ngx_eventport_process_events() 550 revents |= POLLIN|POLLOUT; in ngx_eventport_process_events() 560 if (revents & POLLIN) { in ngx_eventport_process_events() 583 if (port_associate(ep, PORT_SOURCE_FD, c->fd, POLLIN, in ngx_eventport_process_events()
|
| /f-stack/freebsd/sys/ |
| H A D | poll.h | 63 #define POLLIN 0x0001 /* any readable data available */ macro 86 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | mlfk_ipl.c | 441 if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&V_ipfmain, unit)) in ipfpoll() 442 revents |= events & (POLLIN | POLLRDNORM); in ipfpoll() 446 if ((events & (POLLIN | POLLRDNORM)) && ipf_auth_waiting(&V_ipfmain)) in ipfpoll() 447 revents |= events & (POLLIN | POLLRDNORM); in ipfpoll() 450 if ((events & (POLLIN | POLLRDNORM)) && ipf_sync_canread(&V_ipfmain)) in ipfpoll() 451 revents |= events & (POLLIN | POLLRDNORM); in ipfpoll() 461 if ((revents == 0) && ((events & (POLLIN|POLLRDNORM)) != 0)) in ipfpoll()
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_os_unix.c | 37 pfd.events = POLLIN; in cmdline_poll_char()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | ae_evport.c | 128 events |= POLLIN; in aeApiAssociate() 299 if (event[i].portev_events & POLLIN) in aeApiPoll()
|
| H A D | ae.c | 490 if (mask & AE_READABLE) pfd.events |= POLLIN; in aeWait() 494 if (pfd.revents & POLLIN) retmask |= AE_READABLE; in aeWait()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_log.c | 187 if (events & (POLLIN | POLLRDNORM)) { in logpoll() 190 revents |= events & (POLLIN | POLLRDNORM); in logpoll()
|
| H A D | tty_pts.c | 405 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP); in ptsdev_poll() 408 if (events & (POLLIN|POLLRDNORM)) { in ptsdev_poll() 412 revents |= events & (POLLIN|POLLRDNORM); in ptsdev_poll() 432 if (events & (POLLIN|POLLRDNORM)) in ptsdev_poll()
|
| H A D | sys_eventfd.c | 243 if ((events & (POLLIN | POLLRDNORM)) != 0 && efd->efd_count > 0) in eventfd_poll() 244 revents |= events & (POLLIN | POLLRDNORM); in eventfd_poll()
|
| H A D | sys_pipe.c | 1434 if (fp->f_flag & FREAD && events & (POLLIN | POLLRDNORM)) in pipe_poll() 1436 revents |= events & (POLLIN | POLLRDNORM); in pipe_poll() 1447 (POLLIN | POLLINIGNEOF | POLLPRI | POLLRDNORM | POLLRDBAND); in pipe_poll() 1455 revents |= (events & (POLLIN | POLLRDNORM)); in pipe_poll()
|
| H A D | uipc_socket.c | 3541 if (!(events & (POLLIN | POLLRDNORM))) 3544 revents = events & (POLLIN | POLLRDNORM); 3546 revents = (events & (POLLIN | POLLRDNORM)) | POLLHUP; 3555 if (events & (POLLIN | POLLRDNORM)) 3557 revents |= events & (POLLIN | POLLRDNORM); 3567 revents |= events & (POLLIN | POLLRDNORM); 3574 (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)) {
|
| H A D | tty.c | 655 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP); in ttydev_poll() 657 if (events & (POLLIN|POLLRDNORM)) { in ttydev_poll() 660 revents |= events & (POLLIN|POLLRDNORM); in ttydev_poll() 673 if (events & (POLLIN|POLLRDNORM)) in ttydev_poll()
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | fd_man.c | 98 pfd->events = rcb ? POLLIN : 0; in fdset_add_fd() 285 if (rcb && pfd->revents & (POLLIN | FDPOLLERR)) in fdset_event_dispatch()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_device.c | 491 if (events & (POLLIN | POLLRDNORM) && in ngdpoll() 493 revents |= events & (POLLIN | POLLRDNORM); in ngdpoll()
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event.h | 358 #define NGX_READ_EVENT POLLIN 383 #define NGX_READ_EVENT POLLIN
|
| /f-stack/dpdk/lib/librte_power/ |
| H A D | guest_channel.c | 169 fds.events = POLLIN; in power_guest_channel_read_msg()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/sysrandom/ |
| H A D | randombytes_sysrandom.c | 145 pfd.events = POLLIN; in randombytes_block_on_dev_random()
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_pipe.c | 992 if (events & (POLLIN | POLLRDNORM)) { in audit_pipe_poll() 995 revents |= events & (POLLIN | POLLRDNORM); in audit_pipe_poll()
|
| /f-stack/tools/libnetgraph/ |
| H A D | msg.c | 264 rfds.events = POLLIN; in NgDeliverMsg()
|
| /f-stack/freebsd/arm/ti/ |
| H A D | ti_pruss.c | 215 if (events & (POLLIN | POLLRDNORM)) { in ti_pruss_irq_poll() 217 return events & (POLLIN | POLLRDNORM); in ti_pruss_irq_poll()
|
| /f-stack/freebsd/x86/acpica/ |
| H A D | acpi_apm.c | 399 revents |= events & (POLLIN | POLLRDNORM); in apmpoll()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
| H A D | randombytes_salsa20_random.c | 193 pfd.events = POLLIN; in randombytes_block_on_dev_random()
|