Lines Matching defs:gstate
88 struct tstate *gstate;
351 int designee = chip_designees[gstate[cpuid].chip_id];
378 if ((i != cpuid) && (gstate[i].cpuid != -1) &&
379 (chip_designees[gstate[i].chip_id] == cpuid))
620 if ((gstate = calloc(ncpus, sizeof (*gstate))) == NULL) {
661 gstate[i].chip_id = get_chipid(kc, c);
662 if (gstate[i].chip_id != -1 &&
663 chip_designees[gstate[i].chip_id] == -1)
664 chip_designees[gstate[i].chip_id] = c;
667 gstate[i++].cpuid = c;
673 gstate[i++].cpuid = -1;
676 gstate[i++].cpuid = -1;
696 struct tstate *this = &gstate[i];
720 struct tstate *this = &gstate[i];
742 (void) thr_join(gstate[i].tid, NULL, NULL);
752 struct tstate *this = &gstate[i];
773 free(gstate);