Searched refs:MAX_CORES_PER_CMP (Results 1 – 14 of 14) sorted by relevance
52 #define MAX_CORES_PER_CMP drmach_max_core_per_cmp() macro55 #define MAX_CPU_UNITS_PER_BOARD (MAX_CMP_UNITS_PER_BOARD * MAX_CORES_PER_CMP)58 #define CPU_IMPL_IS_CMP(impl) (MAX_CORES_PER_CMP > 1)
108 (DEVSET_BIX(t) + (u) * MAX_CORES_PER_CMP) : DEVSET_BIX(t) + (u))118 #define DEVSET_CMP_NMASK ((dr_devset_t)((1ULL << MAX_CORES_PER_CMP) - 1))221 #define DR_CMP_CORE_UNUM(cmp, core) ((cmp) * MAX_CORES_PER_CMP + (core))228 ((d) == SBD_COMP_CPU ? ((n) / MAX_CORES_PER_CMP) : \229 (d) == SBD_COMP_CMP ? ((n) / MAX_CORES_PER_CMP) : (n))
239 if ((up->sbc_cm.sbdev_unum % MAX_CORES_PER_CMP) == 0) { in dr_pre_attach_cpu()504 if ((up->sbc_cm.sbdev_unum % MAX_CORES_PER_CMP) == 0) { in dr_pre_detach_cpu()714 cstat = kmem_zalloc(sizeof (sbd_cpu_stat_t) * MAX_CORES_PER_CMP, in dr_cpu_status()735 for (core = 0; core < MAX_CORES_PER_CMP; core++) { in dr_cpu_status()791 kmem_free(cstat, sizeof (sbd_cpu_stat_t) * MAX_CORES_PER_CMP); in dr_cpu_status()
1619 for (core = 1; core < MAX_CORES_PER_CMP; core++) { in dr_dev_make_list()
55 #define MAX_CORES_PER_CMP 2 macro
48 #define MAX_CORES_PER_CMP 1 macro
57 #define MAX_CORES_PER_CMP OPL_MAX_CPU_PER_CMP macro
776 sbd_cpu_stat_t cstat[MAX_CORES_PER_CMP]; in dr_cpu_status()803 for (core = 0; core < MAX_CORES_PER_CMP; core++) { in dr_cpu_status()
1650 for (core = 1; core < MAX_CORES_PER_CMP; core++) { in dr_dev_make_list()
241 sbd_cpu_stat_t cstat[MAX_CORES_PER_CMP]; in sbd_cpu_flags()284 for (core = 0; core < MAX_CORES_PER_CMP; core++) { in sbd_cpu_flags()
2857 nunits = MAX_CORES_PER_CMP; in sbd_get_devlist()
614 #define MAX_CORES_PER_CMP 2 macro
898 } else if (!ISP2(MAX_CORES_PER_CMP)) { in drmach_init()901 MAX_CORES_PER_CMP); in drmach_init()
4976 drmach_device_t *dp[MAX_CORES_PER_CMP]; in drmach_board_test()4983 cpu_flag_t oflags[MAX_CORES_PER_CMP]; in drmach_board_test()5077 for (i = 0; i < MAX_CORES_PER_CMP; i++) { in drmach_board_test()7556 for (curr = 0; curr < MAX_CORES_PER_CMP; curr++) { in drmach_iocage_cmp_acquire()