Lines Matching refs:pgrp
259 struct pgrp * pg, * oldpg;
330 struct pgrp * oldpg;
357 /* drop the reference on prev session and pgrp */
829 struct pgrp * pg, *oldpg;
966 case TIOCGPGRP: /* get pgrp of tty */
1164 /* drop the reference on prev session and pgrp */
1171 case TIOCSPGRP: { /* set pgrp of tty */
1172 struct pgrp *pgrp = PGRP_NULL;
1181 else if ((pgrp = pgfind(*(int *)data)) == PGRP_NULL) {
1186 } else if (pgrp->pg_session != sessp) {
1189 pg_rele(pgrp);
1195 tp->t_pgrp = pgrp;
1196 sessp->s_ttypgrpid = pgrp->pg_id;
1597 struct pgrp * pg;
1919 struct pgrp * pg;
2349 struct pgrp * pg;
2374 /* XXX is there a need for pgrp lock ? */