Lines Matching refs:oldpset
140 psetid_t oldpset;
160 oldpset = cpupart_query_cpu(cp);
171 if (copyout(&oldpset, opset, sizeof (psetid_t)) != 0)
241 pset_bind_thread(kthread_t *tp, psetid_t pset, psetid_t *oldpset, void *projbuf,
250 *oldpset = tp->t_bind_pset;
265 *oldpset = TB_PSET_IS_SOFT(tp) ? PS_SOFT : PS_HARD;
278 if (*oldpset == PS_NONE && pset == PS_NONE)
298 pset_bind_process(proc_t *pp, psetid_t pset, psetid_t *oldpset, void *projbuf,
306 *oldpset = PS_NONE;
316 rval = pset_bind_thread(tp, pset, oldpset, projbuf,
329 pset_bind_task(task_t *tk, psetid_t pset, psetid_t *oldpset, void *projbuf,
345 rval = pset_bind_process(pp, pset, oldpset, projbuf,
356 pset_bind_project(kproject_t *kpj, psetid_t pset, psetid_t *oldpset,
370 rval = pset_bind_process(pp, pset, oldpset, projbuf,
381 pset_bind_zone(zone_t *zptr, psetid_t pset, psetid_t *oldpset, void *projbuf,
393 rval = pset_bind_process(pp, pset, oldpset, projbuf,
450 pset_bind_contract(cont_process_t *ctp, psetid_t pset, psetid_t *oldpset,
462 rval = pset_bind_process(pp, pset, oldpset, projbuf,
480 psetid_t oldpset;
514 error = pset_bind_thread(tp, pset, &oldpset, projbuf, zonebuf);
524 if (copyout(&oldpset, opset, sizeof (psetid_t)) != 0)
541 psetid_t oldpset;
593 error = pset_bind_thread(tp, pset, &oldpset, projbuf, zonebuf);
607 error = pset_bind_process(pp, pset, &oldpset, projbuf, zonebuf);
620 error = pset_bind_task(tk, pset, &oldpset, projbuf, zonebuf);
635 error = pset_bind_project(kpj, pset, &oldpset, projbuf,
649 error = pset_bind_zone(zptr, pset, &oldpset, projbuf, zonebuf);
663 error = pset_bind_contract(ct->ct_data, pset, &oldpset, projbuf,
698 if (copyout(&oldpset, opset, sizeof (psetid_t)) != 0)