Searched refs:pg (Results 1 – 3 of 3) sorted by relevance
196 struct rt_processgroup *pg; in lwp_tty_assign_foreground() local200 pg = lwp_pgrp_find_and_inc_ref(pgid); in lwp_tty_assign_foreground()201 if (pg == NULL || cur_lwp == NULL) in lwp_tty_assign_foreground()208 PGRP_LOCK(pg); in lwp_tty_assign_foreground()210 if (pg->sid != cur_lwp->sid) in lwp_tty_assign_foreground()212 PGRP_UNLOCK(pg); in lwp_tty_assign_foreground()213 lwp_pgrp_dec_ref(pg); in lwp_tty_assign_foreground()229 PGRP_UNLOCK(pg); in lwp_tty_assign_foreground()235 tp->t_pgrp = pg; in lwp_tty_assign_foreground()236 PGRP_UNLOCK(pg); in lwp_tty_assign_foreground()[all …]
417 struct rt_processgroup *pg; in tty_wait_background() local426 pg = p->pgrp; in tty_wait_background()427 PGRP_LOCK(pg); in tty_wait_background()434 if (p->pgrp != pg) in tty_wait_background()437 PGRP_UNLOCK(pg); in tty_wait_background()454 PGRP_UNLOCK(pg); in tty_wait_background()464 PGRP_UNLOCK(pg); in tty_wait_background()471 if (pg->is_orphaned) in tty_wait_background()476 PGRP_UNLOCK(pg); in tty_wait_background()490 PGRP_UNLOCK(pg); in tty_wait_background()[all …]
125 #define TRACE_ALLOC(pg, size) _trace_alloc(pg, __builtin_return_address(0), size) argument
Completed in 9 milliseconds