Home
last modified time | relevance | path

Searched refs:cpuset (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcpupart.c43 ulong_t *cpuset = cb_data; in cpupart_cpulist_callback() local
45 BT_SET(cpuset, cpu->cpu_id); in cpupart_cpulist_callback()
125 ulong_t *cpuset; in cpupart() local
179 cpuset = mdb_zalloc(cpusetsize, UM_SLEEP | UM_GC); in cpupart()
181 if (mdb_pwalk("cpupart_cpulist", cpupart_cpulist_callback, cpuset, in cpupart()
187 print_cpuset_range(cpuset, cpusetsize/sizeof (ulong_t), 0); in cpupart()
/illumos-gate/usr/src/uts/sun4/os/
H A Dx_call.c300 xt_some(cpuset_t cpuset, xcfunc_t *func, uint64_t arg1, uint64_t arg2) in xt_some() argument
328 CPUSET_AND(xc_cpuset, cpuset); in xt_some()
549 xc_some(cpuset_t cpuset, xcfunc_t *func, uint64_t arg1, uint64_t arg2) in xc_some() argument
569 CPUSET_AND(xc_cpuset, cpuset); in xc_some()
598 CPUSET_AND(mset, cpuset); in xc_some()
600 ASSERT(CPUSET_ISEQUAL(mset, cpuset)); in xc_some()
726 xc_attention(cpuset_t cpuset) in xc_attention() argument
745 xc_mbox[lcx].xc_cpuset = cpuset; in xc_attention()
752 CPUSET_AND(xc_cpuset, cpuset); in xc_attention()
819 xc_dismissed(cpuset_t cpuset) in xc_dismissed() argument
[all …]
H A Dprom_subr.c435 promsafe_xc_attention(cpuset_t cpuset) in promsafe_xc_attention() argument
437 xc_attention(cpuset); in promsafe_xc_attention()
442 xc_dismissed(cpuset); in promsafe_xc_attention()
450 xc_attention(cpuset); in promsafe_xc_attention()
/illumos-gate/usr/src/uts/intel/kdi/
H A Dkdi_idt.c305 cpuset_t cpuset; in kdi_activate() local
307 CPUSET_ALL(cpuset); in kdi_activate()
337 xc_call(0, 0, 0, CPUSET2BV(cpuset), kdi_cpu_activate); in kdi_activate()
352 cpuset_t cpuset; in kdi_deactivate() local
353 CPUSET_ALL(cpuset); in kdi_deactivate()
355 xc_call(0, 0, 0, CPUSET2BV(cpuset), kdi_cpu_deactivate); in kdi_deactivate()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c3318 cpuset_t cpuset = sfmmu_rgntlb_demap(vaddr, in sfmmu_tteload_addentry() local
3320 xt_sync(cpuset); in sfmmu_tteload_addentry()
4845 cpuset_t cpuset; in sfmmu_chgattr() local
4848 CPUSET_ZERO(cpuset); in sfmmu_chgattr()
4919 cpuset = sfmmup->sfmmu_cpusran; in sfmmu_chgattr()
4920 xt_sync(cpuset); in sfmmu_chgattr()
5174 cpuset_t cpuset; in hat_chgprot() local
5182 CPUSET_ZERO(cpuset); in hat_chgprot()
5247 cpuset = sfmmup->sfmmu_cpusran; in hat_chgprot()
5248 xt_sync(cpuset); in hat_chgprot()
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_cpu_states.c528 xt_sync(cpuset_t cpuset) in xt_sync() argument
531 CPUSET_DEL(cpuset, CPU->cpu_id); in xt_sync()
532 CPUSET_AND(cpuset, cpu_ready_set); in xt_sync()
533 xt_some(cpuset, (xcfunc_t *)xt_sync_tl1, 0, 0); in xt_sync()
/illumos-gate/usr/src/uts/sun4/sys/
H A Dxc_impl.h65 #define XT_SYNC_SOME(cpuset) \ argument
67 xt_sync(cpuset); \
78 #define XT_SYNC_SOME(cpuset) \ argument
81 send_mondo_set(cpuset); \
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode.c209 cpuset_t cpuset; in ucode_update() local
213 CPUSET_ZERO(cpuset); in ucode_update()
264 CPUSET_ADD(cpuset, id); in ucode_update()
266 xc_sync((xc_arg_t)uusp, 0, 0, CPUSET2BV(cpuset), ucode_write); in ucode_update()
268 CPUSET_DEL(cpuset, id); in ucode_update()
H A Dcpuid.c8176 cpuset_t cpuset; in cpuid_post_ucodeadm() local
8185 CPUSET_ONLY(cpuset, 0); in cpuid_post_ucodeadm()
8195 CPUSET_ADD(cpuset, i); in cpuid_post_ucodeadm()
8206 xc_sync((xc_arg_t)argdata, B_TRUE, 0, CPUSET2BV(cpuset), in cpuid_post_ucodeadm()
8208 xc_sync((xc_arg_t)argdata, B_FALSE, 0, CPUSET2BV(cpuset), in cpuid_post_ucodeadm()
8218 if (!CPU_IN_SET(cpuset, i)) in cpuid_post_ucodeadm()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_cpu_states.c1263 xt_sync(cpuset_t cpuset) in xt_sync() argument
1274 CPUSET_DEL(cpuset, CPU->cpu_id); in xt_sync()
1275 CPUSET_AND(cpuset, cpu_ready_set); in xt_sync()
1277 CPUSET_BOUNDS(cpuset, smallestid, largestid); in xt_sync()
1295 if (CPU_IN_SET(cpuset, i)) in xt_sync()
1307 xt_some(cpuset, (xcfunc_t *)xt_sync_tl1, in xt_sync()
1508 cpuset_t cpuset = cpu_ready_set; in recalc_xc_timeouts() local
1509 xt_sync(cpuset); in recalc_xc_timeouts()
/illumos-gate/usr/src/lib/libvmm/
H A Dlibvmm.c78 cpuset_t cpuset; in vmm_update_ncpu() local
80 assert(vm_active_cpus(vmm->vmm_ctx, &cpuset) == 0); in vmm_update_ncpu()
83 CPU_ISSET(vmm->vmm_ncpu, &cpuset) == 1; in vmm_update_ncpu()
385 cpuset_t cpuset; in vmm_step() local
400 (void) vm_debug_cpus(vmm->vmm_ctx, &cpuset); in vmm_step()
401 } while (!CPU_ISSET(vcpuid, &cpuset)); in vmm_step()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_glue.c88 cpuset_t cpuset; in invalidate_cache_all() local
91 cpuset_all_but(&cpuset, CPU->cpu_id); in invalidate_cache_all()
93 CPUSET2BV(cpuset), (xc_func_t)invalidate_cache); in invalidate_cache_all()
/illumos-gate/usr/src/uts/common/sys/
H A Dcpuvar.h408 struct cpuset { struct
412 struct cpuset; argument
415 typedef struct cpuset cpuset_t;
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c1787 cpuset_t cpuset; in sfmmu_kpm_demap_tlbs() local
1790 cpuset = ksfmmup->sfmmu_cpusran; in sfmmu_kpm_demap_tlbs()
1791 CPUSET_AND(cpuset, cpu_ready_set); in sfmmu_kpm_demap_tlbs()
1792 CPUSET_DEL(cpuset, CPU->cpu_id); in sfmmu_kpm_demap_tlbs()
1795 xt_some(cpuset, vtag_flushpage_tl1, (uint64_t)vaddr, in sfmmu_kpm_demap_tlbs()
2200 cpuset_t cpuset = cpu_ready_set; in sfmmu_kpm_page_cache() local
2203 CPUSET_DEL(cpuset, CPU->cpu_id); in sfmmu_kpm_page_cache()
2205 xt_some(cpuset, vac_flushpage_tl1, pfn, vcolor); in sfmmu_kpm_page_cache()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dprom_plat.h213 extern void promsafe_xc_attention(cpuset_t cpuset);
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c611 ulong_t *cpuset; in mdb_cpuset_find() local
617 cpuset = mdb_alloc(sz, UM_SLEEP); in mdb_cpuset_find()
619 if (mdb_vread((void *)cpuset, sz, cpusetp) != sz) in mdb_cpuset_find()
627 if (cpuset[i] & m) { in mdb_cpuset_find()
635 mdb_free(cpuset, sz); in mdb_cpuset_find()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dprom_plat.h224 extern void promsafe_xc_attention(cpuset_t cpuset);
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c1355 cpuset_t cpuset; in fast_reboot() local
1357 CPUSET_ZERO(cpuset); in fast_reboot()
1358 CPUSET_ADD(cpuset, bootcpuid); in fast_reboot()
1359 xc_priority((xc_arg_t)&newkernel, 0, 0, CPUSET2BV(cpuset), in fast_reboot()
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c4016 cpuset_t cpuset; in drmach_copy_rename() local
4054 cpuset = prog->data->cpu_ready_set; in drmach_copy_rename()
4057 if (CPU_IN_SET(cpuset, cpuid)) { in drmach_copy_rename()
4067 CPUSET_DEL(cpuset, cpuid); in drmach_copy_rename()
4070 if (CPU_IN_SET(cpuset, cpuid)) { in drmach_copy_rename()
4078 xt_some(cpuset, (xcfunc_t *)drmach_sys_trap, in drmach_copy_rename()
4080 xt_sync(cpuset); in drmach_copy_rename()
4126 if (!CPU_IN_SET(cpuset, cpuid)) { in drmach_copy_rename()
4171 if (CPU_IN_SET(cpuset, cpuid)) { in drmach_copy_rename()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c2500 boolean_t cpuset, poolset; in add_datalink() local
2526 "cpus", &cpuset); in add_datalink()
2538 if ((strlen(pool_name) != 0) && !cpuset && !poolset) { in add_datalink()