Lines Matching refs:modinfos

1048 				semanage_module_info_t *modinfos,  in semanage_compile_hll_modules()  argument
1056 assert(modinfos); in semanage_compile_hll_modules()
1061 &modinfos[i], in semanage_compile_hll_modules()
1074 status = semanage_compile_module(sh, &modinfos[i]); in semanage_compile_hll_modules()
1102 semanage_module_info_t *modinfos = NULL; in semanage_direct_commit() local
1233 retval = semanage_get_active_modules(sh, &modinfos, &num_modinfos); in semanage_direct_commit()
1242 retval = semanage_compile_hll_modules(sh, modinfos, num_modinfos); in semanage_direct_commit()
1248 retval = semanage_get_cil_paths(sh, modinfos, num_modinfos, &mod_filenames); in semanage_direct_commit()
1453 semanage_module_info_destroy(sh, &modinfos[i]); in semanage_direct_commit()
1455 free(modinfos); in semanage_direct_commit()
2013 semanage_module_info_t *modinfos = NULL; in semanage_direct_get_module_info() local
2028 ret = semanage_direct_list_all(sh, &modinfos, &modinfos_len); in semanage_direct_get_module_info()
2035 ret = strcmp(modinfos[i].name, modkey->name); in semanage_direct_get_module_info()
2037 highest = &modinfos[i]; in semanage_direct_get_module_info()
2168 if (modinfos != NULL) { in semanage_direct_get_module_info()
2170 semanage_module_info_destroy(sh, &modinfos[i]); in semanage_direct_get_module_info()
2172 free(modinfos); in semanage_direct_get_module_info()
2339 semanage_module_info_t **modinfos, in semanage_direct_list_all() argument
2343 assert(modinfos); in semanage_direct_list_all()
2352 *modinfos = NULL; in semanage_direct_list_all()
2451 tmp = realloc(*modinfos, in semanage_direct_list_all()
2459 *modinfos = tmp; in semanage_direct_list_all()
2487 &((*modinfos)[*modinfos_len])); in semanage_direct_list_all()
2496 &((*modinfos)[*modinfos_len])); in semanage_direct_list_all()
2540 if (modinfos != NULL) { in semanage_direct_list_all()
2544 &(*modinfos)[i]); in semanage_direct_list_all()
2546 free(*modinfos); in semanage_direct_list_all()
2547 *modinfos = NULL; in semanage_direct_list_all()