Lines Matching defs:dslibtab
54 static dslibentry_t *dslibtab;
58 * Lock to protect the dslibtab table. We only need to protect this
91 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) {
109 if ((dslibtab = realloc(dslibtab, newndslib * sizeof (dslibentry_t)))
112 dsp = &dslibtab[ndslib];
126 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) {
143 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) {
176 * memory should we grow dslibtab, so save a copy of the
341 if (dslibtab == NULL) {
342 dslibtab = malloc(sizeof (dslibentry_t) * MIN_DSLIB_ENTRIES);
343 if (dslibtab == NULL)
346 (void) memset(dslibtab, 0, sizeof (dslibentry_t) * ndslib);
438 * Set entry values in dslibtab.
722 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) {
729 free(dslibtab);
731 dslibtab = NULL;