Lines Matching defs:pfd
154 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)
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.reqevents = 0;
391 scon->pfd.reqevents = (
396 rv = apr_pollset_add(mz->pollset, &scon->pfd);
427 scon->pfd.reqevents = (
432 rv = apr_pollset_add(mz->pollset, &scon->pfd);
922 apr_pollfd_t *pfd = apr_pcalloc(mz->pool, sizeof *pfd);
925 pfd->desc_type = APR_POLL_SOCKET;
926 pfd->desc.s = lr->sd;
927 pfd->reqevents = APR_POLLIN;
928 pfd->p = mz->pool;
929 pfd->client_data = sb;
934 status = apr_socket_opt_set(pfd->desc.s, APR_SO_NONBLOCK, 1);
942 status = apr_pollset_add(mz->pollset, pfd);