Lines Matching refs:modinfos

896 				semanage_module_info_t *modinfos,  in semanage_compile_hll()  argument
916 assert(modinfos); in semanage_compile_hll()
919 if (!strcasecmp(modinfos[i].lang_ext, "cil")) { in semanage_compile_hll()
925 &modinfos[i], in semanage_compile_hll()
938 status = semanage_get_hll_compiler_path(sh, modinfos[i].lang_ext, &compiler_path); in semanage_compile_hll()
945 &modinfos[i], in semanage_compile_hll()
972 fprintf(stderr, "%s: ", modinfos[i].name); in semanage_compile_hll()
979 fprintf(stderr, "%s: ", modinfos[i].name); in semanage_compile_hll()
995 status = semanage_direct_write_langext(sh, "cil", &modinfos[i]); in semanage_compile_hll()
1047 semanage_module_info_t *modinfos = NULL; in semanage_direct_commit() local
1150 retval = semanage_get_active_modules(sh, &modinfos, &num_modinfos); in semanage_direct_commit()
1159 retval = semanage_compile_hll(sh, modinfos, num_modinfos); in semanage_direct_commit()
1165 retval = semanage_get_cil_paths(sh, modinfos, num_modinfos, &mod_filenames); in semanage_direct_commit()
1335 semanage_module_info_destroy(sh, &modinfos[i]); in semanage_direct_commit()
1337 free(modinfos); in semanage_direct_commit()
1797 semanage_module_info_t *modinfos = NULL; in semanage_direct_get_module_info() local
1812 ret = semanage_direct_list_all(sh, &modinfos, &modinfos_len); in semanage_direct_get_module_info()
1819 ret = strcmp(modinfos[i].name, modkey->name); in semanage_direct_get_module_info()
1821 highest = &modinfos[i]; in semanage_direct_get_module_info()
1952 if (modinfos != NULL) { in semanage_direct_get_module_info()
1954 semanage_module_info_destroy(sh, &modinfos[i]); in semanage_direct_get_module_info()
1956 free(modinfos); in semanage_direct_get_module_info()
2124 semanage_module_info_t **modinfos, in semanage_direct_list_all() argument
2128 assert(modinfos); in semanage_direct_list_all()
2137 *modinfos = NULL; in semanage_direct_list_all()
2236 tmp = realloc(*modinfos, in semanage_direct_list_all()
2244 *modinfos = tmp; in semanage_direct_list_all()
2272 &((*modinfos)[*modinfos_len])); in semanage_direct_list_all()
2281 &((*modinfos)[*modinfos_len])); in semanage_direct_list_all()
2325 if (modinfos != NULL) { in semanage_direct_list_all()
2329 &(*modinfos)[i]); in semanage_direct_list_all()
2331 free(*modinfos); in semanage_direct_list_all()
2332 *modinfos = NULL; in semanage_direct_list_all()