Lines Matching refs:cil_malloc
213 struct fc_data *a_data = cil_malloc(sizeof(*a_data)); in cil_post_filecon_compare()
214 struct fc_data *b_data = cil_malloc(sizeof(*b_data)); in cil_post_filecon_compare()
215 char *a_path = cil_malloc(strlen(a_filecon->path_str) + 1); in cil_post_filecon_compare()
216 char *b_path = cil_malloc(strlen(b_filecon->path_str) + 1); in cil_post_filecon_compare()
691 db->val_to_type = cil_malloc(sizeof(*db->val_to_type) * db->num_types); in __cil_post_db_array_helper()
699 db->val_to_role = cil_malloc(sizeof(*db->val_to_role) * db->num_roles); in __cil_post_db_array_helper()
707 db->val_to_user = cil_malloc(sizeof(*db->val_to_user) * db->num_users); in __cil_post_db_array_helper()
729 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
741 sort->array = cil_malloc(sizeof(*sort->array) * count); in __cil_post_db_array_helper()
751 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
762 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
773 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
784 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
796 sort->array = cil_malloc(sizeof(*sort->array) * count); in __cil_post_db_array_helper()
806 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
817 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
828 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
839 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
850 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
861 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
878 attr->types = cil_malloc(sizeof(*attr->types)); in __evaluate_type_expression()
930 attr->users = cil_malloc(sizeof(*attr->users)); in __evaluate_user_expression()
978 attr->roles = cil_malloc(sizeof(*attr->roles)); in __evaluate_role_expression()
1022 permx->perms = cil_malloc(sizeof(*permx->perms)); in __evaluate_permissionx_expression()
1619 role->types = cil_malloc(sizeof(*role->types)); in __cil_role_assign_types()
1712 user->roles = cil_malloc(sizeof(*user->roles)); in __cil_user_assign_roles()