Lines Matching refs:s_accepting_workers
162 static int *s_accepting_workers = NULL; variable
2875 if (s_accepting_workers) in LSAPI_reset_server_state()
2876 __atomic_store_n(s_accepting_workers, 0, __ATOMIC_SEQ_CST); in LSAPI_reset_server_state()
2937 if (s_accepting_workers) in lsapi_sigchild()
2938 __atomic_fetch_sub(s_accepting_workers, 1, __ATOMIC_SEQ_CST); in lsapi_sigchild()
2975 s_accepting_workers = s_busy_workers + 1; in lsapi_init_children_status()
2976 s_global_counter = s_accepting_workers + 1; in lsapi_init_children_status()
3210 if (s_accepting_workers) in lsapi_prefork_server_accept()
3211 accepting = __atomic_load_n(s_accepting_workers, __ATOMIC_SEQ_CST); in lsapi_prefork_server_accept()
3483 if (s_accepting_workers) in LSAPI_Accept_Before_Fork()
3484 accepting = __atomic_load_n(s_accepting_workers, __ATOMIC_SEQ_CST); in LSAPI_Accept_Before_Fork()
3615 if (s_accepting_workers) in LSAPI_Prefork_Accept_r()
3616 __atomic_fetch_add(s_accepting_workers, 1, __ATOMIC_SEQ_CST); in LSAPI_Prefork_Accept_r()
3621 if (s_accepting_workers) in LSAPI_Prefork_Accept_r()
3622 __atomic_fetch_sub(s_accepting_workers, 1, __ATOMIC_SEQ_CST); in LSAPI_Prefork_Accept_r()
3642 if (s_accepting_workers) in LSAPI_Prefork_Accept_r()
3643 wait_time >>= (*s_accepting_workers); in LSAPI_Prefork_Accept_r()