Lines Matching refs:ret

50     nxt_int_t              ret;  in nxt_runtime_create()  local
99 ret = nxt_runtime_inherited_listen_sockets(task, rt); in nxt_runtime_create()
100 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_create()
318 nxt_int_t ret; in nxt_runtime_thread_pools() local
329 ret = nxt_runtime_thread_pool_create(thr, rt, 2, 60000 * 1000000LL); in nxt_runtime_thread_pools()
331 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_thread_pools()
377 nxt_int_t ret; in nxt_runtime_initial_start() local
402 ret = nxt_event_engine_change(task->thread->engine, interface, in nxt_runtime_initial_start()
404 if (ret != NXT_OK) { in nxt_runtime_initial_start()
409 ret = nxt_runtime_pid_file_create(task, rt->pid_file); in nxt_runtime_initial_start()
410 if (ret != NXT_OK) { in nxt_runtime_initial_start()
755 nxt_int_t ret; in nxt_runtime_conf_init() local
787 ret = nxt_credential_get(task, rt->mem_pool, &rt->user_cred, in nxt_runtime_conf_init()
790 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
808 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%Z", rt->pid); in nxt_runtime_conf_init()
809 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
815 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%Z", rt->log); in nxt_runtime_conf_init()
816 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
830 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%s*.unit.so%Z", in nxt_runtime_conf_init()
832 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
845 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%sversion%Z", in nxt_runtime_conf_init()
847 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
853 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s.tmp%Z", rt->ver); in nxt_runtime_conf_init()
854 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
860 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%sconf.json%Z", in nxt_runtime_conf_init()
862 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
868 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s.tmp%Z", rt->conf); in nxt_runtime_conf_init()
869 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
875 ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%scerts/%Z", in nxt_runtime_conf_init()
877 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_conf_init()
881 ret = mkdir((char *) file_name.start, S_IRWXU); in nxt_runtime_conf_init()
883 if (nxt_fast_path(ret == 0 || nxt_errno == EEXIST)) { in nxt_runtime_conf_init()
1208 nxt_int_t ret; in nxt_runtime_log_file_add() local
1212 ret = nxt_file_name_create(rt->mem_pool, &file_name, "V%Z", name); in nxt_runtime_log_file_add()
1214 if (nxt_slow_path(ret != NXT_OK)) { in nxt_runtime_log_file_add()
1247 nxt_int_t ret; in nxt_runtime_log_files_create() local
1252 ret = nxt_file_open(task, file, O_WRONLY | O_APPEND, O_CREAT, in nxt_runtime_log_files_create()
1255 if (ret != NXT_OK) { in nxt_runtime_log_files_create()
1270 nxt_int_t ret; in nxt_runtime_listen_sockets_create() local
1292 ret = nxt_listen_socket_update(task, &curr[c], &prev[p]); in nxt_runtime_listen_sockets_create()
1293 if (ret != NXT_OK) { in nxt_runtime_listen_sockets_create()