Lines Matching refs:proc
318 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_proc_acquire() local
320 proc = fpm_scoreboard_proc_get(scoreboard, child_index); in fpm_scoreboard_proc_acquire()
321 if (!proc) { in fpm_scoreboard_proc_acquire()
325 if (!fpm_spinlock(&proc->lock, nohang)) { in fpm_scoreboard_proc_acquire()
329 return proc; in fpm_scoreboard_proc_acquire()
333 void fpm_scoreboard_proc_release(struct fpm_scoreboard_proc_s *proc) /* {{{ */ in fpm_scoreboard_proc_release() argument
335 if (!proc) { in fpm_scoreboard_proc_release()
339 proc->lock = 0; in fpm_scoreboard_proc_release()
360 struct fpm_scoreboard_proc_s *proc; in fpm_scoreboard_child_use() local
363 proc = fpm_scoreboard_proc_get_from_child(child); in fpm_scoreboard_child_use()
364 if (!proc) { in fpm_scoreboard_child_use()
367 proc->pid = pid; in fpm_scoreboard_child_use()
368 proc->start_epoch = time(NULL); in fpm_scoreboard_child_use()