Lines Matching refs:bg
2095 proc_t *leader, *fg, *bg;
2206 for (bg = (proc_t *)pgfind(bg_pgid); bg != NULL; bg = bg->p_pglink) {
2207 if (bg->p_stat == SIDL) {
2215 if (bg->p_pid == bg->p_sessp->s_sid) {
2220 "group off:proc %p", bg);
2223 if (mutex_tryenter(&bg->p_lock) == 0)
2226 mutex_enter(&bg->p_lock);
2229 if ((tx = proctot(bg)) == NULL) {
2230 mutex_exit(&bg->p_lock);
2250 } while ((tx = tx->t_forw) != bg->p_tlist);
2251 mutex_exit(&bg->p_lock);