Lines Matching refs:depends_on
107 static char *depends_on(struct module *);
783 KOBJ_MARK("depends_on");
784 mp->depends_on = kobj_alloc(allocsize, KM_WAIT);
804 KOBJ_MARK("grow depends_on");
807 bcopy(mp->depends_on, tmp, osize);
808 kobj_free(mp->depends_on, allocsize);
809 mp->depends_on = tmp;
812 bcopy(libname, mp->depends_on + osize, lsize);
813 *(mp->depends_on + nsize) = ' '; /* separate */
818 mp->depends_on[nsize - 1] = '\0'; /* terminate the string */
822 KOBJ_MARK("realloc depends_on");
824 bcopy(mp->depends_on, tmp, nsize);
825 kobj_free(mp->depends_on, allocsize);
826 mp->depends_on = tmp;
828 kobj_free(mp->depends_on, allocsize);
829 mp->depends_on = NULL;
1302 if ((p = mp->depends_on) == NULL)
1437 depends_on(struct module *mp)
1443 * The module doesn't have a depends_on value, so let's try it the
1744 mp->depends_on = depstr;
1998 if (mp->depends_on == NULL)
1999 mp->depends_on = depends_on(mp);
2108 if (mp->depends_on != NULL && (dep =
2109 mod_already_loaded(mp->depends_on)) == NULL) {
2265 if (mp->depends_on)
2266 kobj_free(mp->depends_on, strlen(mp->depends_on)+1);
2836 if ((p = mp->depends_on) == NULL)