• Home
  • Raw
  • Download

Lines Matching refs:cil_malloc

227 	ocontext_t *new = cil_malloc(sizeof(ocontext_t));  in cil_add_ocontext()
246 common_datum_t *sepol_common = cil_malloc(sizeof(*sepol_common)); in cil_common_to_policydb()
264 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_common_to_policydb()
299 class_datum_t *sepol_class = cil_malloc(sizeof(*sepol_class)); in cil_classorder_to_policydb()
342 perm_datum_t *sepol_perm = cil_malloc(sizeof(*sepol_perm)); in cil_classorder_to_policydb()
369 role_datum_t *sepol_role = cil_malloc(sizeof(*sepol_role)); in cil_role_to_policydb()
458 type_datum_t *sepol_type = cil_malloc(sizeof(*sepol_type)); in cil_type_to_policydb()
510 type_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_typealias_to_policydb()
567 sepol_attr = cil_malloc(sizeof(*sepol_attr)); in cil_typeattribute_to_policydb()
595 pdb->type_attr_map = cil_malloc(pdb->p_types.nprim * sizeof(ebitmap_t)); in __cil_typeattr_bitmap_init()
596 pdb->attr_type_map = cil_malloc(pdb->p_types.nprim * sizeof(ebitmap_t)); in __cil_typeattr_bitmap_init()
682 user_datum_t *sepol_user = cil_malloc(sizeof(*sepol_user)); in cil_user_to_policydb()
769 cond_bool_datum_t *sepol_bool = cil_malloc(sizeof(*sepol_bool)); in cil_bool_to_policydb()
799 sepol_cat = cil_malloc(sizeof(*sepol_cat)); in cil_catorder_to_policydb()
824 cat_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_cat)); in cil_catalias_to_policydb()
859 sepol_level = cil_malloc(sizeof(*sepol_level)); in cil_sensitivityorder_to_policydb()
860 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensitivityorder_to_policydb()
890 level_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_sensalias_to_policydb()
902 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensalias_to_policydb()
940 cond_list = cil_malloc(sizeof(cond_av_list_t)); in __cil_cond_insert_rule()
1693 avtab_key = cil_malloc(sizeof(*avtab_key)); in __cil_avrulex_ioctl_to_hashtable()
1701 hashtab_xperms = cil_malloc(sizeof(*hashtab_xperms)); in __cil_avrulex_ioctl_to_hashtable()
2041 *head = cil_malloc(sizeof(cond_expr_t)); in __cil_cond_item_to_sepol_expr()
2079 op = cil_malloc(sizeof(*op)); in __cil_cond_expr_to_sepol_expr_helper()
2146 op = cil_malloc(sizeof(*op)); in __cil_cond_expr_to_sepol_expr_helper()
2371 new = cil_malloc(sizeof(*new)); in cil_roletrans_to_policydb()
2439 sepol_roleallow = cil_malloc(sizeof(*sepol_roleallow)); in cil_roleallow_to_policydb()
2668 op = cil_malloc(sizeof(constraint_expr_t)); in __cil_constrain_expr_to_sepol_expr_helper()
2815 sepol_constrain = cil_malloc(sizeof(*sepol_constrain)); in cil_constrain_to_policydb_helper()
2918 sepol_validatetrans = cil_malloc(sizeof(*sepol_validatetrans)); in cil_validatetrans_to_policydb()
3442 ocontext_t *new_ocon = cil_malloc(sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3448 genfs_t *new_genfs = cil_malloc(sizeof(genfs_t)); in cil_genfscon_to_policydb()
4080 policydb->p_common_val_to_name = cil_malloc(sizeof(char *) * policydb->p_commons.nprim); in __cil_policydb_val_arrays_create()
4086 policydb->p_class_val_to_name = cil_malloc(sizeof(char *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
4087 policydb->class_val_to_struct = cil_malloc(sizeof(class_datum_t *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
4093 policydb->p_role_val_to_name = cil_malloc(sizeof(char *) * policydb->p_roles.nprim); in __cil_policydb_val_arrays_create()
4094 policydb->role_val_to_struct = cil_malloc(sizeof(role_datum_t *) * policydb->p_roles.nprim); in __cil_policydb_val_arrays_create()
4100 policydb->p_type_val_to_name = cil_malloc(sizeof(char *) * policydb->p_types.nprim); in __cil_policydb_val_arrays_create()
4101 policydb->type_val_to_struct = cil_malloc(sizeof(type_datum_t *) * policydb->p_types.nprim); in __cil_policydb_val_arrays_create()
4107 policydb->p_user_val_to_name = cil_malloc(sizeof(char *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()
4108 policydb->user_val_to_struct = cil_malloc(sizeof(user_datum_t *) * policydb->p_users.nprim); in __cil_policydb_val_arrays_create()
4114 policydb->p_bool_val_to_name = cil_malloc(sizeof(char *) * policydb->p_bools.nprim); in __cil_policydb_val_arrays_create()
4115 policydb->bool_val_to_struct = cil_malloc(sizeof(cond_bool_datum_t *) * policydb->p_bools.nprim); in __cil_policydb_val_arrays_create()
4121 policydb->p_sens_val_to_name = cil_malloc(sizeof(char *) * policydb->p_levels.nprim); in __cil_policydb_val_arrays_create()
4127 policydb->p_cat_val_to_name = cil_malloc(sizeof(char *) * policydb->p_cats.nprim); in __cil_policydb_val_arrays_create()
4367 cpn = cil_malloc(sizeof(class_perm_node_t)); in __cil_rule_to_sepol_class_perms()
4430 cpn = cil_malloc(sizeof(*cpn)); in __cil_permx_to_sepol_class_perms()
4486 avrule = cil_malloc(sizeof(avrule_t)); in __cil_init_sepol_avrule()