Home
last modified time | relevance | path

Searched refs:cpub (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dcpuvar.h410 ulong_t cpub[CPUSET_WORDS]; member
430 #define CPU_IN_SET(set, cpu) BT_TEST((set).cpub, cpu)
431 #define CPUSET_ADD(set, cpu) BT_SET((set).cpub, cpu)
432 #define CPUSET_DEL(set, cpu) BT_CLEAR((set).cpub, cpu)
462 #define CPUSET_ATOMIC_DEL(set, cpu) BT_ATOMIC_CLEAR((set).cpub, (cpu))
463 #define CPUSET_ATOMIC_ADD(set, cpu) BT_ATOMIC_SET((set).cpub, (cpu))
466 BT_ATOMIC_SET_EXCL((set).cpub, cpu, result)
469 BT_ATOMIC_CLEAR_EXCL((set).cpub, cpu, result)
475 (set1).cpub[_i] |= (set2).cpub[_i]; \
481 (set1).cpub[_i] ^= (set2).cpub[_i]; \
[all …]
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c1279 struct cpu *cpua, *cpub; in sysc_bd_unconfigure() local
1293 cpub = cpu_get(FHC_BOARD2CPU_B(board)); in sysc_bd_unconfigure()
1304 if ((error == 0) && (cpub != NULL)) { in sysc_bd_unconfigure()
1305 error = cpu_unconfigure(cpub->cpu_id); in sysc_bd_unconfigure()
1310 cpub->cpu_id); in sysc_bd_unconfigure()
/titanic_41/usr/src/uts/common/os/
H A Dcpu.c2721 s->cpub[i] = ~0UL; in cpuset_all()
2744 if (s->cpub[i] != 0) in cpuset_isnull()
2755 if (s1->cpub[i] != s2->cpub[i]) in cpuset_cmp()
2771 cpu = (uint_t)(lowbit(s->cpub[i]) - 1); in cpuset_find()
2790 if (s->cpub[i] != 0) { in cpuset_bounds()
2791 bit = (uint_t)(lowbit(s->cpub[i]) - 1); in cpuset_bounds()
2803 if (s->cpub[j] != 0) { in cpuset_bounds()
2804 bit = (uint_t)(highbit(s->cpub[j]) - 1); in cpuset_bounds()