Lines Matching refs:oneshot_fd
108 static int oneshot_fd = 0; variable
393 if (oneshot_fd > 0) { in server_free()
399 close(oneshot_fd); in server_free()
1030 if (oneshot_fd) { in server_graceful_shutdown_maint()
1053 if (oneshot_fd) graceful_restart = 0; in server_graceful_state()
1060 if (srv->srvconf.changeroot || oneshot_fd || 2 == graceful_shutdown) in server_graceful_state()
1248 oneshot_fd = 0; in server_main_setup()
1291 case '1': if (0 == oneshot_fd) oneshot_fd = dup(STDIN_FILENO); in server_main_setup()
1350 if (oneshot_fd) { in server_main_setup()
1351 if (oneshot_fd <= STDERR_FILENO) { in server_main_setup()
1367 if (0 != fstat(oneshot_fd, &st)) { in server_main_setup()
1672 if (0 == oneshot_fd) graceful_shutdown = 0; in server_main_setup()
1703 if (!oneshot_fd) in server_main_setup()
1824 if (server_oneshot_init_pipe(srv, oneshot_fd, oneshot_fdout)) { in server_main_setup()
1825 oneshot_fd = -1; in server_main_setup()
1829 else if (oneshot_fd && server_oneshot_init(srv, oneshot_fd)) { in server_main_setup()
1830 oneshot_fd = -1; in server_main_setup()
2076 } else if (!oneshot_fd) { in main()