Lines Matching defs:mask
255 printf("ERROR : Unsupported CPU mask [use 1,2 or 4 threads per core].\n"
256 "\tcore0 thread mask [%lx], boot cpu mask [%lx].\n",
258 panic("Invalid CPU mask - halting.\n");
299 ihandle_t mask;
317 if (OF_getprop(chosen, "cpumask", &mask, sizeof(mask)) != -1) {
318 xlp_hw_thread_mask = mask;
334 uint32_t mask;
337 * provide backward compat for passing cpu mask as arg
356 /* CPU mask can be passed thru env */
357 if (getenv_uint("cpumask", &mask) != 0)
358 xlp_hw_thread_mask = mask;
717 platform_cpu_mask(cpuset_t *mask)
721 CPU_ZERO(mask);
724 CPU_SET(i, mask);