Lines Matching refs:num_core
122 int i, j, num_core, n, credits_per_cpu; in setup_fmn_cc() local
125 num_core = hweight32(nlm_current_node()->coremask); in setup_fmn_cc()
130 n = num_core; in setup_fmn_cc()
131 if (num_core == 3) in setup_fmn_cc()
139 for (j = 0; j < num_core; j++) in setup_fmn_cc()
143 credits_per_cpu = size - (credits_per_cpu * num_core); in setup_fmn_cc()
146 for (j = 0; (j < num_core) && (credits_per_cpu >= 4); j++) { in setup_fmn_cc()
153 for (i = 0; i < num_core; i++) { in setup_fmn_cc()
163 static void setup_cpu_fmninfo(struct xlr_fmn_info *cpu, int num_core) in setup_cpu_fmninfo() argument
167 for (i = 0; i < num_core; i++) { in setup_cpu_fmninfo()
188 int processor_id, num_core; in xlr_board_info_setup() local
190 num_core = hweight32(nlm_current_node()->coremask); in xlr_board_info_setup()
193 setup_cpu_fmninfo(cpu, num_core); in xlr_board_info_setup()