Lines Matching refs:ret

370     nxt_int_t              ret;  in nxt_main_start_process_handler()  local
465 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_common_app_conf, in nxt_main_start_process_handler()
468 if (ret != NXT_OK) { in nxt_main_start_process_handler()
488 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_app_maps[idx].map, in nxt_main_start_process_handler()
491 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_start_process_handler()
497 ret = nxt_conf_map_object(process->mem_pool, app_conf->limits, in nxt_main_start_process_handler()
502 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_start_process_handler()
513 ret = nxt_process_start(task, process); in nxt_main_start_process_handler()
514 if (nxt_fast_path(ret == NXT_OK || ret == NXT_AGAIN)) { in nxt_main_start_process_handler()
517 if (ret == NXT_OK) { in nxt_main_start_process_handler()
699 nxt_int_t ret; in nxt_main_process_port_create() local
711 ret = nxt_port_socket_init(task, port, 0); in nxt_main_process_port_create()
712 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_process_port_create()
714 return ret; in nxt_main_process_port_create()
787 nxt_int_t ret; in nxt_main_process_sigusr1_handler() local
828 ret = nxt_file_open(task, new_file, O_WRONLY | O_APPEND, O_CREAT, in nxt_main_process_sigusr1_handler()
831 if (ret != NXT_OK) { in nxt_main_process_sigusr1_handler()
839 ret = nxt_file_stderr(&new_file[0]); in nxt_main_process_sigusr1_handler()
841 if (ret == NXT_OK) { in nxt_main_process_sigusr1_handler()
885 nxt_int_t ret; in nxt_main_process_sigchld_handler() local
998 ret = nxt_process_init_start(task, init); in nxt_main_process_sigchld_handler()
999 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_main_process_sigchld_handler()
1029 nxt_int_t ret; in nxt_main_port_socket_handler() local
1063 ret = nxt_main_listening_socket(sa, &ls); in nxt_main_port_socket_handler()
1065 if (ret == NXT_OK) { in nxt_main_port_socket_handler()
1279 nxt_int_t ret; in nxt_main_port_modules_handler() local
1353 ret = nxt_conf_map_object(rt->mem_pool, value, nxt_app_lang_module_map, in nxt_main_port_modules_handler()
1356 if (ret != NXT_OK) { in nxt_main_port_modules_handler()
1394 ret = nxt_conf_map_object(rt->mem_pool, value, in nxt_main_port_modules_handler()
1398 if (ret != NXT_OK) { in nxt_main_port_modules_handler()
1414 ret = nxt_process_init_start(task, nxt_controller_process); in nxt_main_port_modules_handler()
1415 if (ret == NXT_OK) { in nxt_main_port_modules_handler()
1416 ret = nxt_process_init_start(task, nxt_router_process); in nxt_main_port_modules_handler()
1419 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_main_port_modules_handler()
1455 nxt_int_t ret; in nxt_main_port_conf_store_handler() local
1504 ret = nxt_main_file_store(task, rt->ver_tmp, rt->ver, ver, n); in nxt_main_port_conf_store_handler()
1505 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_port_conf_store_handler()
1512 ret = nxt_main_file_store(task, rt->conf_tmp, rt->conf, p, size); in nxt_main_port_conf_store_handler()
1514 if (nxt_fast_path(ret == NXT_OK)) { in nxt_main_port_conf_store_handler()
1540 nxt_int_t ret; in nxt_main_file_store() local
1547 ret = nxt_file_open(task, &file, NXT_FILE_WRONLY, NXT_FILE_TRUNCATE, in nxt_main_file_store()
1549 if (nxt_slow_path(ret != NXT_OK)) { in nxt_main_file_store()
1570 nxt_int_t ret; in nxt_main_port_access_log_handler() local
1584 ret = nxt_file_open(task, &file, O_WRONLY | O_APPEND, O_CREAT, in nxt_main_port_access_log_handler()
1587 type = (ret == NXT_OK) ? NXT_PORT_MSG_RPC_READY_LAST | NXT_PORT_MSG_CLOSE_FD in nxt_main_port_access_log_handler()