Lines Matching defs:fg
2095 proc_t *leader, *fg, *bg;
2154 for (fg = (proc_t *)pgfind(fg_pgid); fg != NULL; fg = fg->p_pglink) {
2158 if (fg->p_stat == SIDL) {
2166 if (fg->p_pid == fg->p_sessp->s_sid) {
2171 "group on:proc %p", fg);
2174 if (mutex_tryenter(&fg->p_lock) == 0)
2177 mutex_enter(&fg->p_lock);
2180 if ((tx = proctot(fg)) == NULL) {
2181 mutex_exit(&fg->p_lock);
2200 } while ((tx = tx->t_forw) != fg->p_tlist);
2201 mutex_exit(&fg->p_lock);