Lines Matching refs:ret

445     nxt_int_t              ret;  in nxt_main_start_process_handler()  local
540 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_common_app_conf, in nxt_main_start_process_handler()
543 if (ret != NXT_OK) { in nxt_main_start_process_handler()
563 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_app_maps[idx].map, in nxt_main_start_process_handler()
566 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_start_process_handler()
572 ret = nxt_conf_map_object(process->mem_pool, app_conf->limits, in nxt_main_start_process_handler()
577 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_start_process_handler()
588 ret = nxt_process_start(task, process); in nxt_main_start_process_handler()
589 if (nxt_fast_path(ret == NXT_OK || ret == NXT_AGAIN)) { in nxt_main_start_process_handler()
592 if (ret == NXT_OK) { in nxt_main_start_process_handler()
779 nxt_int_t ret; in nxt_main_process_port_create() local
791 ret = nxt_port_socket_init(task, port, 0); in nxt_main_process_port_create()
792 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_process_port_create()
794 return ret; in nxt_main_process_port_create()
867 nxt_int_t ret; in nxt_main_process_sigusr1_handler() local
908 ret = nxt_file_open(task, new_file, O_WRONLY | O_APPEND, O_CREAT, in nxt_main_process_sigusr1_handler()
911 if (ret != NXT_OK) { in nxt_main_process_sigusr1_handler()
919 ret = nxt_file_stderr(&new_file[0]); in nxt_main_process_sigusr1_handler()
921 if (ret == NXT_OK) { in nxt_main_process_sigusr1_handler()
965 nxt_int_t ret; in nxt_main_process_sigchld_handler() local
1078 ret = nxt_process_init_start(task, init); in nxt_main_process_sigchld_handler()
1079 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_main_process_sigchld_handler()
1113 nxt_int_t ret; in nxt_main_port_socket_handler() local
1147 ret = nxt_main_listening_socket(sa, &ls); in nxt_main_port_socket_handler()
1149 if (ret == NXT_OK) { in nxt_main_port_socket_handler()
1412 nxt_int_t ret; in nxt_main_port_modules_handler() local
1486 ret = nxt_conf_map_object(rt->mem_pool, value, nxt_app_lang_module_map, in nxt_main_port_modules_handler()
1489 if (ret != NXT_OK) { in nxt_main_port_modules_handler()
1527 ret = nxt_conf_map_object(rt->mem_pool, value, in nxt_main_port_modules_handler()
1531 if (ret != NXT_OK) { in nxt_main_port_modules_handler()
1547 ret = nxt_process_init_start(task, nxt_controller_process); in nxt_main_port_modules_handler()
1548 if (ret == NXT_OK) { in nxt_main_port_modules_handler()
1549 ret = nxt_process_init_start(task, nxt_router_process); in nxt_main_port_modules_handler()
1552 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_main_port_modules_handler()
1588 nxt_int_t ret; in nxt_main_port_conf_store_handler() local
1637 ret = nxt_main_file_store(task, rt->ver_tmp, rt->ver, ver, n); in nxt_main_port_conf_store_handler()
1638 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_port_conf_store_handler()
1645 ret = nxt_main_file_store(task, rt->conf_tmp, rt->conf, p, size); in nxt_main_port_conf_store_handler()
1647 if (nxt_fast_path(ret == NXT_OK)) { in nxt_main_port_conf_store_handler()
1673 nxt_int_t ret; in nxt_main_file_store() local
1680 ret = nxt_file_open(task, &file, NXT_FILE_WRONLY, NXT_FILE_TRUNCATE, in nxt_main_file_store()
1682 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_file_store()
1703 nxt_int_t ret; in nxt_main_port_access_log_handler() local
1717 ret = nxt_file_open(task, &file, O_WRONLY | O_APPEND, O_CREAT, in nxt_main_port_access_log_handler()
1720 type = (ret == NXT_OK) ? NXT_PORT_MSG_RPC_READY_LAST | NXT_PORT_MSG_CLOSE_FD in nxt_main_port_access_log_handler()