Lines Matching refs:s_accepting_workers
162 static int *s_accepting_workers = NULL; variable
2923 if (s_accepting_workers) in LSAPI_reset_server_state()
2924 __atomic_store_n(s_accepting_workers, 0, __ATOMIC_SEQ_CST); in LSAPI_reset_server_state()
2985 if (s_accepting_workers) in lsapi_sigchild()
2986 __atomic_fetch_sub(s_accepting_workers, 1, __ATOMIC_SEQ_CST); in lsapi_sigchild()
3023 s_accepting_workers = s_busy_workers + 1; in lsapi_init_children_status()
3024 s_global_counter = s_accepting_workers + 1; in lsapi_init_children_status()
3258 if (s_accepting_workers) in lsapi_prefork_server_accept()
3259 accepting = __atomic_load_n(s_accepting_workers, __ATOMIC_SEQ_CST); in lsapi_prefork_server_accept()
3531 if (s_accepting_workers) in LSAPI_Accept_Before_Fork()
3532 accepting = __atomic_load_n(s_accepting_workers, __ATOMIC_SEQ_CST); in LSAPI_Accept_Before_Fork()
3663 if (s_accepting_workers) in LSAPI_Prefork_Accept_r()
3664 __atomic_fetch_add(s_accepting_workers, 1, __ATOMIC_SEQ_CST); in LSAPI_Prefork_Accept_r()
3669 if (s_accepting_workers) in LSAPI_Prefork_Accept_r()
3670 __atomic_fetch_sub(s_accepting_workers, 1, __ATOMIC_SEQ_CST); in LSAPI_Prefork_Accept_r()
3690 if (s_accepting_workers) in LSAPI_Prefork_Accept_r()
3691 wait_time >>= (*s_accepting_workers); in LSAPI_Prefork_Accept_r()