Lines Matching defs:shc
161 static struct shcount *shc = NULL;
171 if (shc == NULL)
172 shc = &shcounts;
175 while ((shadow > shc->ino) && (shc->higher))
176 shc = shc->higher;
177 while ((shadow < shc->ino) && (shc->lower))
178 shc = shc->lower;
179 if (shadow != shc->ino) {
183 new->higher = shc->higher;
184 if (shc->higher != NULL)
185 shc->higher->lower = new;
186 shc->higher = new;
187 new->lower = shc;
188 shc = new;
189 shc->ino = shadow;
194 shc->count++;
207 while ((ino > shc->ino) && (shc->higher))
208 shc = shc->higher;
209 while ((ino < shc->ino) && (shc->lower))
210 shc = shc->lower;
211 if (ino != shc->ino)
218 esizeprime *= shc->count - 1;
225 if (shc == NULL)
228 while (shc->higher)
229 shc = shc->higher;
230 while (shc->lower) {
231 shc = shc->lower;
232 if (shc->higher) /* else panic? */
233 (void) free(shc->higher);
237 * Note that shc might be malloc'd or static, so can't free().
239 bzero(shc, sizeof (*shc));