Lines Matching refs:n
486 int n = con->is_readable > 0 ? 0 : FDEVENT_IN; in server_oneshot_read_cq() local
488 n |= FDEVENT_RDHUP; in server_oneshot_read_cq()
489 fdevent_fdnode_event_set(con->srv->ev, oneshot_fdn, n); in server_oneshot_read_cq()
499 int n = fdevent_fdnode_interest(oneshot_fdn); in server_oneshot_handle_fdevent() local
501 n &= ~FDEVENT_IN; in server_oneshot_handle_fdevent()
508 n &= ~(FDEVENT_IN|FDEVENT_RDHUP); in server_oneshot_handle_fdevent()
511 fdevent_fdnode_event_set(con->srv->ev, oneshot_fdn, n); in server_oneshot_handle_fdevent()
1115 for (int n = 0; n < npids; ++n) pids[n] = -1; in server_main_setup_workers() local
1128 for (int n = 0; n < npids; ++n) { in server_main_setup_workers() local
1129 if (-1 == pids[n]) { in server_main_setup_workers()
1130 pids[n] = pid; in server_main_setup_workers()
1159 for (int n = 0; n < npids; ++n) { in server_main_setup_workers() local
1160 if (pid == pids[n]) { in server_main_setup_workers()
1161 pids[n] = -1; in server_main_setup_workers()
1177 for (int n = 0; n < npids; ++n) { in server_main_setup_workers() local
1178 if (pids[n] > 0) kill(pids[n], SIGHUP); in server_main_setup_workers()