Lines Matching refs:verinfo
372 struct mod_depend *verinfo; in file_load_dependencies() local
382 verinfo = (struct mod_depend *)md->md_data; in file_load_dependencies()
383 dmodname = (char *)(verinfo + 1); in file_load_dependencies()
384 if (file_findmodule(NULL, dmodname, verinfo) == NULL) { in file_load_dependencies()
386 error = mod_load(dmodname, verinfo, 0, NULL); in file_load_dependencies()
394 mp = file_findmodule(NULL, dmodname, verinfo); in file_load_dependencies()
746 mod_load(char *modname, struct mod_depend *verinfo, int argc, char *argv[]) in mod_load() argument
758 mp = file_findmodule(NULL, modname, verinfo); in mod_load()
767 filename = mod_searchmodule(modname, verinfo); in mod_load()
859 struct mod_depend *verinfo) in file_findmodule() argument
866 mp = file_findmodule(fp, modname, verinfo); in file_findmodule()
876 if (verinfo == NULL) in file_findmodule()
879 if (mver == verinfo->md_ver_preferred) in file_findmodule()
881 if (mver >= verinfo->md_ver_minimum && in file_findmodule()
882 mver <= verinfo->md_ver_maximum && in file_findmodule()
1037 struct mod_depend *verinfo) in mod_search_hints() argument
1070 if (verinfo == NULL || in mod_search_hints()
1071 ival == verinfo->md_ver_preferred) { in mod_search_hints()
1075 if (ival >= verinfo->md_ver_minimum && in mod_search_hints()
1076 ival <= verinfo->md_ver_maximum && in mod_search_hints()
1111 mod_searchmodule(char *name, struct mod_depend *verinfo) in mod_searchmodule() argument
1122 result = mod_search_hints(mdp, name, verinfo); in mod_searchmodule()