Searched refs:kcpc_cpumap (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpc.c | 465 static ulong_t *kcpc_cpumap; /* bitmap of cpus */ variable 487 ASSERT(kcpc_cpumap == NULL); in kcpc_open() 497 kcpc_cpumap = kmem_zalloc(BT_SIZEOFMAP(max_cpuid + 1), in kcpc_open() 507 } else if (BT_TEST(kcpc_cpumap, cpuid)) { in kcpc_open() 511 } else if (kcpc_hw_cpu_hook(cpuid, kcpc_cpumap) != 0) { in kcpc_open() 516 BT_SET(kcpc_cpumap, cpuid); in kcpc_open() 529 BT_CLEAR(kcpc_cpumap, getminor(dev)); in kcpc_close() 531 kmem_free(kcpc_cpumap, BT_SIZEOFMAP(max_cpuid + 1)); in kcpc_close() 532 kcpc_cpumap = NULL; in kcpc_close()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | cpc_subr.c | 200 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) in kcpc_hw_cpu_hook() argument 228 if (BT_TEST(kcpc_cpumap, p->cpu_id)) { in kcpc_hw_cpu_hook()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cpc_subr.c | 115 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) in kcpc_hw_cpu_hook() argument
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | cpc_subr.c | 133 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) in kcpc_hw_cpu_hook() argument
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kcpc.h | 200 extern int kcpc_hw_cpu_hook(int cpuid, ulong_t *kcpc_cpumap);
|