Searched defs:pfd (Results 1 - 12 of 12) sorted by relevance

/httpd/server/mpm/simple/
H A Dsimple_run.c77 apr_pollfd_t *pfd = apr_palloc(sc->pool, sizeof(apr_pollfd_t)); local
80 pfd->p = sc->pool;
81 pfd->desc_type = APR_POLL_SOCKET;
82 pfd->desc.s = lr->sd;
83 pfd->reqevents = APR_POLLIN;
88 pfd->client_data = sb;
90 rv = apr_socket_opt_set(pfd->desc.s, APR_SO_NONBLOCK, 1);
98 rv = apr_pollcb_add(sc->pollcb, pfd);
112 static apr_status_t simple_io_callback(void *baton, apr_pollfd_t * pfd) argument
116 simple_sb_t *sb = pfd
[all...]
H A Dsimple_types.h126 apr_pollfd_t pfd; member in struct:simple_conn_t
/httpd/server/mpm/motorz/
H A Dmotorz.h189 apr_pollfd_t pfd; member in struct:motorz_conn_t
H A Dmotorz.c154 scon->pfd.p = scon->pool;
155 scon->pfd.desc_type = APR_POLL_SOCKET;
156 scon->pfd.desc.s = scon->sock;
157 scon->pfd.reqevents = APR_POLLIN;
161 scon->pfd.client_data = sb;
271 static apr_status_t motorz_io_callback(void *baton, const apr_pollfd_t *pfd) argument
275 motorz_sb_t *sb = pfd->client_data;
337 if (scon->pfd.reqevents != 0) {
344 rv = apr_pollset_remove(mz->pollset, &scon->pfd);
350 scon->pfd
922 apr_pollfd_t *pfd = apr_pcalloc(mz->pool, sizeof *pfd); local
[all...]
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c186 apr_pollfd_t pfd = { 0 }; local
188 pfd.desc_type = APR_POLL_SOCKET;
189 pfd.desc.s = lr->sd;
190 pfd.reqevents = APR_POLLIN;
191 pfd.client_data = lr;
192 apr_pollset_add(pollset, &pfd);
/httpd/modules/cluster/
H A Dmod_heartmonitor.c623 apr_pollfd_t pfd; local
628 pfd.desc_type = APR_POLL_SOCKET;
629 pfd.desc.s = ctx->sock;
630 pfd.p = p;
631 pfd.reqevents = APR_POLLIN;
635 rc = apr_poll(&pfd, 1, &n, timeout);
641 if (rc == APR_SUCCESS && (pfd.rtnevents & APR_POLLIN)) {
/httpd/modules/filters/
H A Dmod_ext_filter.c499 apr_pollfd_t pfd = { 0 }; local
504 pfd.p = ctx->p;
505 pfd.desc_type = APR_POLL_FILE;
506 pfd.reqevents = APR_POLLOUT;
507 pfd.desc.f = ctx->proc->in;
508 rc = apr_pollset_add(ctx->pollset, &pfd);
511 pfd.reqevents = APR_POLLIN;
512 pfd.desc.f = ctx->proc->out;
513 rc = apr_pollset_add(ctx->pollset, &pfd);
/httpd/modules/proxy/
H A Dmod_proxy_fcgi.c441 apr_pollfd_t pfd; local
453 pfd.desc_type = APR_POLL_SOCKET;
454 pfd.desc.s = conn->sock;
455 pfd.p = r->pool;
456 pfd.reqevents = APR_POLLIN | APR_POLLOUT;
470 rv = apr_poll(&pfd, 1, &n, timeout);
479 if (pfd.rtnevents & APR_POLLOUT) {
544 pfd.reqevents = APR_POLLIN; /* Done with input data */
562 if (pfd.rtnevents & APR_POLLIN) {
/httpd/modules/ssl/
H A Dssl_ct_util.c243 apr_pollfd_t pfd = {0}; local
252 pfd.p = p;
253 pfd.desc_type = APR_POLL_FILE;
254 pfd.reqevents = APR_POLLIN;
255 pfd.desc.f = proc->err;
256 rv = apr_pollset_add(pollset, &pfd);
260 pfd.desc.f = proc->out;
261 rv = apr_pollset_add(pollset, &pfd);
/httpd/server/mpm/prefork/
H A Dprefork.c582 apr_pollfd_t *pfd = apr_pcalloc(pchild, sizeof *pfd); local
584 pfd->desc_type = APR_POLL_SOCKET;
585 pfd->desc.s = lr->sd;
586 pfd->reqevents = APR_POLLIN;
587 pfd->client_data = lr;
589 status = apr_pollset_add(pollset, pfd);
/httpd/server/mpm/worker/
H A Dworker.c719 apr_pollfd_t *pfd = apr_pcalloc(tpool, sizeof *pfd); local
721 pfd->desc_type = APR_POLL_SOCKET;
722 pfd->desc.s = lr->sd;
723 pfd->reqevents = APR_POLLIN;
724 pfd->client_data = lr;
726 rv = apr_pollset_add(pollset, pfd);
/httpd/server/mpm/event/
H A Devent.c225 apr_pollfd_t pfd; member in struct:event_conn_state_t
860 apr_socket_t *csd = cs->pfd.desc.s;
892 cs->pfd.reqevents = (
896 rv = apr_pollset_add(event_pollset, &cs->pfd);
904 apr_socket_close(cs->pfd.desc.s);
942 apr_socket_t *csd = cs->pfd.desc.s;
1076 cs->pfd.desc_type = APR_POLL_SOCKET;
1077 cs->pfd.reqevents = APR_POLLIN;
1078 cs->pfd.desc.s = sock;
1081 cs->pfd
1310 s_socket_add(void *user_baton, apr_pollfd_t *pfd, void *serf_baton) argument
1323 s_socket_remove(void *user_baton, apr_pollfd_t *pfd, void *serf_baton) argument
1345 apr_pollfd_t *pfd; local
1391 push2worker(const apr_pollfd_t * pfd, apr_pollset_t * pollset) argument
1629 process_lingering_close(event_conn_state_t *cs, const apr_pollfd_t *pfd) argument
[all...]

Completed in 535 milliseconds