Lines Matching refs:fg
2192 proc_t *leader, *fg, *bg;
2251 for (fg = (proc_t *)pgfind(fg_pgid); fg != NULL; fg = fg->p_pglink) {
2255 if (fg->p_stat == SIDL) {
2263 if (fg->p_pid == fg->p_sessp->s_sid) {
2268 "group on:proc %p", fg);
2271 if (mutex_tryenter(&fg->p_lock) == 0)
2274 mutex_enter(&fg->p_lock);
2277 if ((tx = proctot(fg)) == NULL) {
2278 mutex_exit(&fg->p_lock);
2301 } while ((tx = tx->t_forw) != fg->p_tlist);
2302 mutex_exit(&fg->p_lock);