Searched refs:newtk (Results 1 – 2 of 2) sorted by relevance
714 task_change(task_t *newtk, proc_t *p) in task_change() argument728 mutex_enter(&newtk->tk_zone->zone_nlwps_lock); in task_change()729 newtk->tk_nlwps += p->p_lwpcnt; in task_change()730 newtk->tk_nprocs++; in task_change()731 mutex_exit(&newtk->tk_zone->zone_nlwps_lock); in task_change()734 task_begin(newtk, p); in task_change()735 exacct_move_mstate(p, oldtk, newtk); in task_change()
1799 exacct_move_mstate(proc_t *p, task_t *oldtk, task_t *newtk) in exacct_move_mstate() argument1813 mutex_enter(&newtk->tk_usage_lock); in exacct_move_mstate()1814 exacct_add_task_mstate(newtk->tk_inherited, &tu); in exacct_move_mstate()1815 mutex_exit(&newtk->tk_usage_lock); in exacct_move_mstate()