Home
last modified time | relevance | path

Searched refs:fpm_event_s (Results 1 – 16 of 16) sorted by relevance

/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_events.h13 struct fpm_event_s { struct
17 void (*callback)(struct fpm_event_s *, short, void *); argument
27 struct fpm_event_s *ev; argument
36 int (*add)(struct fpm_event_s *ev);
37 int (*remove)(struct fpm_event_s *ev);
41 void fpm_event_fire(struct fpm_event_s *ev);
43 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,…
44 int fpm_event_add(struct fpm_event_s *ev, unsigned long int timeout);
45 int fpm_event_del(struct fpm_event_s *ev);
H A Dfpm_events.c38 static void fpm_got_signal(struct fpm_event_s *ev, short which, void *arg);
39 static struct fpm_event_s *fpm_event_queue_isset(struct fpm_event_queue_s *queue, struct fpm_event_…
47 static struct fpm_event_s children_bury_timer;
137 static struct fpm_event_s *fpm_event_queue_isset(struct fpm_event_queue_s *queue, struct fpm_event_… in fpm_event_queue_isset()
359 static struct fpm_event_s signal_fd_event; in fpm_event_loop()
440 struct fpm_event_s *ev = q->ev; in fpm_event_loop()
476 void fpm_event_fire(struct fpm_event_s *ev) /* {{{ */ in fpm_event_fire()
482 (*ev->callback)( (struct fpm_event_s *) ev, ev->which, ev->arg); in fpm_event_fire()
486 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… in fpm_event_set() argument
491 memset(ev, 0, sizeof(struct fpm_event_s)); in fpm_event_set()
[all …]
H A Dfpm_process_ctl.h22 void fpm_pctl_heartbeat(struct fpm_event_s *ev, short which, void *arg);
23 void fpm_pctl_perform_idle_server_maintenance_heartbeat(struct fpm_event_s *ev, short which, void *…
24 void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg);
H A Dfpm_systemd.h9 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg);
H A Dfpm_process_ctl.c50 static struct fpm_event_s pctl_event;
52 static void fpm_pctl_action(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_pctl_action()
444 void fpm_pctl_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_pctl_heartbeat()
446 static struct fpm_event_s heartbeat; in fpm_pctl_heartbeat()
469 void fpm_pctl_perform_idle_server_maintenance_heartbeat(struct fpm_event_s *ev, short which, void *… in fpm_pctl_perform_idle_server_maintenance_heartbeat()
471 static struct fpm_event_s heartbeat; in fpm_pctl_perform_idle_server_maintenance_heartbeat()
499 void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_pctl_on_socket_accept()
H A Dfpm_systemd.c48 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_systemd_heartbeat()
50 static struct fpm_event_s heartbeat; in fpm_systemd_heartbeat()
H A Dfpm_children.h25 struct fpm_event_s ev_stdout, ev_stderr;
H A Dfpm_worker_pool.h41 struct fpm_event_s *ondemand_event;
H A Dfpm_children.c456 wp->ondemand_event = (struct fpm_event_s *)malloc(sizeof(struct fpm_event_s)); in fpm_children_create_initial()
464 memset(wp->ondemand_event, 0, sizeof(struct fpm_event_s)); in fpm_children_create_initial()
H A Dfpm_stdio.c117 static void fpm_stdio_child_said(struct fpm_event_s *ev, short which, void *arg) /* {{{ */
124 struct fpm_event_s *event;
/PHP-7.4/sapi/fpm/fpm/events/
H A Dkqueue.c35 static int fpm_event_kqueue_add(struct fpm_event_s *ev);
36 static int fpm_event_kqueue_remove(struct fpm_event_s *ev);
143 struct fpm_event_s *ev = (struct fpm_event_s *)kevents[i].udata; in fpm_event_kqueue_wait()
159 static int fpm_event_kqueue_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_kqueue_add()
184 static int fpm_event_kqueue_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_kqueue_remove()
H A Dport.c33 static int fpm_event_port_add(struct fpm_event_s *ev);
34 static int fpm_event_port_remove(struct fpm_event_s *ev);
157 fpm_event_fire((struct fpm_event_s *)events[i].portev_user); in fpm_event_port_wait()
171 static int fpm_event_port_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_port_add()
185 static int fpm_event_port_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_port_remove()
H A Dselect.c38 static int fpm_event_select_add(struct fpm_event_s *ev);
39 static int fpm_event_select_remove(struct fpm_event_s *ev);
140 static int fpm_event_select_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_select_add()
161 static int fpm_event_select_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_select_remove()
H A Depoll.c32 static int fpm_event_epoll_add(struct fpm_event_s *ev);
33 static int fpm_event_epoll_remove(struct fpm_event_s *ev);
145 fpm_event_fire((struct fpm_event_s *)epollfds[i].data.ptr); in fpm_event_epoll_wait()
160 static int fpm_event_epoll_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_epoll_add()
192 static int fpm_event_epoll_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_epoll_remove()
H A Ddevpoll.c36 static int fpm_event_devpoll_add(struct fpm_event_s *ev);
37 static int fpm_event_devpoll_remove(struct fpm_event_s *ev);
199 static int fpm_event_devpoll_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_devpoll_add()
224 static int fpm_event_devpoll_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_devpoll_remove()
H A Dpoll.c33 static int fpm_event_poll_add(struct fpm_event_s *ev);
34 static int fpm_event_poll_remove(struct fpm_event_s *ev);
184 static int fpm_event_poll_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_poll_add()
229 static int fpm_event_poll_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_poll_remove()

Completed in 43 milliseconds