Searched refs:oldpid (Results 1 – 4 of 4) sorted by relevance
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | nginx.c | 729 if (ngx_rename_file(ccf->pid.data, ccf->oldpid.data) == NGX_FILE_ERROR) { in ngx_exec_new_binary() 733 ccf->pid.data, ccf->oldpid.data, argv[0]); in ngx_exec_new_binary() 744 if (ngx_rename_file(ccf->oldpid.data, ccf->pid.data) in ngx_exec_new_binary() 750 ccf->oldpid.data, ccf->pid.data, argv[0]); in ngx_exec_new_binary() 1117 ccf->oldpid.len = ccf->pid.len + sizeof(NGX_OLDPID_EXT); in ngx_core_module_init_conf() 1119 ccf->oldpid.data = ngx_pnalloc(cycle->pool, ccf->oldpid.len); in ngx_core_module_init_conf() 1120 if (ccf->oldpid.data == NULL) { in ngx_core_module_init_conf() 1124 ngx_memcpy(ngx_cpymem(ccf->oldpid.data, ccf->pid.data, ccf->pid.len), in ngx_core_module_init_conf()
|
| H A D | ngx_cycle.h | 114 ngx_str_t oldpid; member
|
| H A D | ngx_cycle.c | 1060 name = ngx_new_binary ? ccf->oldpid.data : ccf->pid.data; in ngx_delete_pidfile()
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_process_cycle.c | 822 if (ngx_rename_file((char *) ccf->oldpid.data, in ngx_reap_children() 829 ccf->oldpid.data, ccf->pid.data, ngx_argv[0]); in ngx_reap_children()
|