Lines Matching defs:tmid
45 static Tlsmodid tmid = {0, 0, 0};
52 if (tmid.tmi_bits == 0) {
53 if ((tmid.tmi_bits =
56 tmid.tmi_bits[0] = 1;
57 tmid.tmi_lowfree = 1;
58 tmid.tmi_cnt = TLSBLOCKCNT;
62 for (cnt = tmid.tmi_lowfree / (sizeof (uint_t) * 8);
63 cnt < tmid.tmi_cnt; cnt++) {
69 if ((tmid.tmi_bits[cnt] ^ ~((uint_t)0)) == 0)
73 if ((tmid.tmi_bits[cnt] & bits) == 0) {
74 tmid.tmi_bits[cnt] |= bits;
76 tmid.tmi_lowfree = ndx + 1;
85 if ((tmid.tmi_bits = realloc(tmid.tmi_bits,
86 ((tmid.tmi_cnt * sizeof (uint_t)) +
93 bzero(&(tmid.tmi_bits[tmid.tmi_cnt]), TLSBLOCKCNT * sizeof (uint_t));
94 tmid.tmi_bits[tmid.tmi_cnt] = 1;
95 ndx = (tmid.tmi_cnt * sizeof (uint_t)) * 8;
96 tmid.tmi_lowfree = ndx + 1;
97 tmid.tmi_cnt += TLSBLOCKCNT;
112 tmid.tmi_bits[i] &= j;
113 if (modid < tmid.tmi_lowfree)
114 tmid.tmi_lowfree = modid;