Lines Matching refs:mods
148 hashtab_t mods; in generate_requires() local
151 mods = hashtab_create(reqsymhash, reqsymcmp, 64); in generate_requires()
152 if (mods == NULL) in generate_requires()
187 (hashtab_t) hashtab_search(mods, in generate_requires()
198 hashtab_insert(mods, in generate_requires()
217 return mods; in generate_requires()
238 static void output_graphviz(hashtab_t mods, int exclude_base, FILE * f) in output_graphviz() argument
247 for (i = 0; i < mods->size; i++) { in output_graphviz()
248 cur = mods->htable[i]; in output_graphviz()
272 static void output_requirements(hashtab_t mods, int exclude_base, FILE * f) in output_requirements() argument
279 for (i = 0; i < mods->size; i++) { in output_requirements()
280 cur = mods->htable[i]; in output_requirements()
319 sepol_module_package_t *base, **mods; in main() local
357 mods = in main()
360 if (!mods) { in main()
364 memset(mods, 0, sizeof(sepol_module_package_t *) * num_mods); in main()
367 mods[i] = load_module(argv[optind], argv[0]); in main()
368 if (!mods[i]) { in main()
376 if (sepol_link_packages(NULL, base, mods, num_mods, verbose)) { in main()
396 sepol_module_package_free(mods[i]); in main()