Home
last modified time | relevance | path

Searched refs:kcpc_cpumap (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dcpc.c465 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 Dcpc_subr.c200 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 Dcpc_subr.c115 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 Dcpc_subr.c133 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 Dkcpc.h200 extern int kcpc_hw_cpu_hook(int cpuid, ulong_t *kcpc_cpumap);