Home
last modified time | relevance | path

Searched refs:POLLOUT (Results 1 – 22 of 22) sorted by relevance

/f-stack/freebsd/sys/
H A Dpoll.h65 #define POLLOUT 0x0004 /* file descriptor is writeable */ macro
67 #define POLLWRNORM POLLOUT /* no write type differentiation */
86 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_poll_module.c137 #if (NGX_WRITE_EVENT != POLLOUT) in ngx_poll_add_event()
138 event = POLLOUT; in ngx_poll_add_event()
190 #if (NGX_WRITE_EVENT != POLLOUT) in ngx_poll_del_event()
191 event = POLLOUT; 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()
380 if ((revents & POLLOUT) && c->write->active) { in ngx_poll_process_events()
H A Dngx_win32_poll_module.c156 #if (NGX_WRITE_EVENT != POLLOUT) in ngx_poll_add_event()
157 event = POLLOUT; in ngx_poll_add_event()
212 #if (NGX_WRITE_EVENT != POLLOUT) in ngx_poll_del_event()
213 event = POLLOUT; 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()
390 if ((revents & POLLOUT) && c->write->active) { in ngx_poll_process_events()
H A Dngx_eventport_module.c324 prev = POLLOUT; in ngx_eventport_add_event()
332 #if (NGX_WRITE_EVENT != POLLOUT) in ngx_eventport_add_event()
333 events = POLLOUT; in ngx_eventport_add_event()
382 event = POLLOUT; 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()
594 if (revents & POLLOUT) { in ngx_eventport_process_events()
H A Dngx_devpoll_module.c225 event = (event == NGX_READ_EVENT) ? POLLIN : POLLOUT; in ngx_devpoll_add_event()
249 event = (event == NGX_READ_EVENT) ? POLLIN : POLLOUT; in ngx_devpoll_del_event()
275 event = POLLOUT; 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()
518 if ((revents & POLLOUT) && wev->active) { in ngx_devpoll_process_events()
/f-stack/app/redis-5.0.5/src/
H A Dae_evport.c130 events |= POLLOUT; in aeApiAssociate()
301 if (event[i].portev_events & POLLOUT) in aeApiPoll()
H A Dae.c491 if (mask & AE_WRITABLE) pfd.events |= POLLOUT; in aeWait()
495 if (pfd.revents & POLLOUT) retmask |= AE_WRITABLE; in aeWait()
/f-stack/dpdk/lib/librte_vhost/
H A Dfd_man.c99 pfd->events |= wcb ? POLLOUT : 0; in fdset_add_fd()
287 if (wcb && pfd->revents & (POLLOUT | FDPOLLERR)) in fdset_event_dispatch()
/f-stack/freebsd/kern/
H A Dsys_eventfd.c245 if ((events & (POLLOUT | POLLWRNORM)) != 0 && UINT64_MAX - 1 > in eventfd_poll()
247 revents |= events & (POLLOUT | POLLWRNORM); in eventfd_poll()
H A Dtty_pts.c414 if (events & (POLLOUT|POLLWRNORM)) { in ptsdev_poll()
417 revents |= events & (POLLOUT|POLLWRNORM); in ptsdev_poll()
434 if (events & (POLLOUT|POLLWRNORM)) in ptsdev_poll()
H A Dvfs_default.c637 return (ap->a_events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
654 return (ap->a_events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
H A Dtty.c666 } else if (events & (POLLOUT|POLLWRNORM)) { in ttydev_poll()
669 revents |= events & (POLLOUT|POLLWRNORM); in ttydev_poll()
675 if (events & (POLLOUT|POLLWRNORM)) in ttydev_poll()
H A Dsys_pipe.c1438 if (fp->f_flag & FWRITE && events & (POLLOUT | POLLWRNORM)) in pipe_poll()
1444 revents |= events & (POLLOUT | POLLWRNORM); in pipe_poll()
H A Dsys_generic.c938 return (events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM)); in poll_no_poll()
1665 fds->revents &= ~POLLOUT; in pollscan()
H A Duipc_socket.c3558 if (events & (POLLOUT | POLLWRNORM))
3560 revents |= events & (POLLOUT | POLLWRNORM);
3578 if (events & (POLLOUT | POLLWRNORM)) {
H A Duipc_mqueue.c2516 if (events & POLLOUT) { in mqf_poll()
2518 revents |= POLLOUT; in mqf_poll()
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event.h359 #define NGX_WRITE_EVENT POLLOUT
384 #define NGX_WRITE_EVENT POLLOUT
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dmlfk_ipl.c452 if ((events & (POLLOUT | POLLWRNORM)) && ipf_sync_canwrite(&V_ipfmain)) in ipfpoll()
453 revents |= events & (POLLOUT | POLLWRNORM); in ipfpoll()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dnet.c208 wfd[0].events = POLLOUT; in redisContextWaitReady()
/f-stack/dpdk/drivers/net/af_packet/
H A Drte_eth_af_packet.c191 pfd.events = POLLOUT; in eth_af_packet_tx()
/f-stack/freebsd/net/
H A Dbpf.c2104 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); in bpfpoll()
2109 revents = events & (POLLOUT | POLLWRNORM); in bpfpoll()
H A Dif_tuntap.c1927 revents |= events & (POLLOUT | POLLWRNORM); in tunpoll()