Lines Matching refs:scoreboard_p
49 struct fpm_scoreboard_s scoreboard, *scoreboard_p; in fpm_status_export_to_zval() local
57 scoreboard_p = fpm_scoreboard_acquire(NULL, 1); in fpm_status_export_to_zval()
58 if (!scoreboard_p) { in fpm_status_export_to_zval()
59 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in use.", scoreboard_p->pool); in fpm_status_export_to_zval()
64 scoreboard = *scoreboard_p; in fpm_status_export_to_zval()
69 proc_p = fpm_scoreboard_proc_acquire(scoreboard_p, i, 1); in fpm_status_export_to_zval()
77 fpm_scoreboard_release(scoreboard_p); in fpm_status_export_to_zval()
146 struct fpm_scoreboard_s scoreboard, *scoreboard_p; in fpm_status_handle_request() local
180 scoreboard_p = fpm_scoreboard_get(); in fpm_status_handle_request()
181 if (!scoreboard_p) { in fpm_status_handle_request()
191 if (!fpm_spinlock(&scoreboard_p->lock, 1)) { in fpm_status_handle_request()
192 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in used.", scoreboard_p->pool); in fpm_status_handle_request()
201 scoreboard = *scoreboard_p; in fpm_status_handle_request()
202 fpm_unlock(scoreboard_p->lock); in fpm_status_handle_request()
500 for (i=0; i<scoreboard_p->nprocs; i++) { in fpm_status_handle_request()
501 if (!scoreboard_p->procs[i].used) { in fpm_status_handle_request()
504 proc = scoreboard_p->procs[i]; in fpm_status_handle_request()