Lines Matching refs:newcpu
650 processorid_t oldcpu = oldp->v_cpuid, newcpu = newp->v_cpuid;
658 top = xv_vector(newcpu, newvec + i);
1459 apix_rebind(apix_vector_t *vecp, processorid_t newcpu, int count)
1468 if (!apix_is_cpu_enabled(newcpu))
1471 if (vecp->v_cpuid == newcpu) /* rebind to the same cpu */
1475 APIX_ENTER_CPU_LOCK(newcpu);
1479 newp = apix_alloc_vector_oncpu(newcpu, NULL, 0, vecp->v_type);
1482 newp = apix_alloc_nvectors_oncpu(newcpu, NULL, 0, count,
1486 APIX_LEAVE_CPU_LOCK(newcpu);
1494 APIX_LEAVE_CPU_LOCK(newcpu);
1499 if (apix_intx_rebind(vecp->v_inum, newcpu, newvec) != 0) {
1505 APIX_ENTER_CPU_LOCK(newcpu);
1516 APIX_LEAVE_CPU_LOCK(newcpu);
1520 vecp->v_inum, newcpu));
1529 oldcpu, oldvec, newcpu, newvec));
1535 newp = xv_vector(newcpu, newvec + i);
1551 oldcpu, oldvec, newcpu, newvec, count));
1553 return (xv_vector(newcpu, newvec));