Lines Matching refs:modinfos
1020 semanage_module_info_t *modinfos, in semanage_compile_hll_modules() argument
1028 assert(modinfos); in semanage_compile_hll_modules()
1033 &modinfos[i], in semanage_compile_hll_modules()
1046 status = semanage_compile_module(sh, &modinfos[i]); in semanage_compile_hll_modules()
1074 semanage_module_info_t *modinfos = NULL; in semanage_direct_commit() local
1205 retval = semanage_get_active_modules(sh, &modinfos, &num_modinfos); in semanage_direct_commit()
1214 retval = semanage_compile_hll_modules(sh, modinfos, num_modinfos); in semanage_direct_commit()
1220 retval = semanage_get_cil_paths(sh, modinfos, num_modinfos, &mod_filenames); in semanage_direct_commit()
1425 semanage_module_info_destroy(sh, &modinfos[i]); in semanage_direct_commit()
1427 free(modinfos); in semanage_direct_commit()
1964 semanage_module_info_t *modinfos = NULL; in semanage_direct_get_module_info() local
1979 ret = semanage_direct_list_all(sh, &modinfos, &modinfos_len); in semanage_direct_get_module_info()
1986 ret = strcmp(modinfos[i].name, modkey->name); in semanage_direct_get_module_info()
1988 highest = &modinfos[i]; in semanage_direct_get_module_info()
2119 if (modinfos != NULL) { in semanage_direct_get_module_info()
2121 semanage_module_info_destroy(sh, &modinfos[i]); in semanage_direct_get_module_info()
2123 free(modinfos); in semanage_direct_get_module_info()
2291 semanage_module_info_t **modinfos, in semanage_direct_list_all() argument
2295 assert(modinfos); in semanage_direct_list_all()
2304 *modinfos = NULL; in semanage_direct_list_all()
2403 tmp = realloc(*modinfos, in semanage_direct_list_all()
2411 *modinfos = tmp; in semanage_direct_list_all()
2439 &((*modinfos)[*modinfos_len])); in semanage_direct_list_all()
2448 &((*modinfos)[*modinfos_len])); in semanage_direct_list_all()
2492 if (modinfos != NULL) { in semanage_direct_list_all()
2496 &(*modinfos)[i]); in semanage_direct_list_all()
2498 free(*modinfos); in semanage_direct_list_all()
2499 *modinfos = NULL; in semanage_direct_list_all()