Lines Matching refs:cil_malloc
118 struct fc_data *a_data = cil_malloc(sizeof(*a_data)); in cil_post_filecon_compare()
119 struct fc_data *b_data = cil_malloc(sizeof(*b_data)); in cil_post_filecon_compare()
120 char *a_path = cil_malloc(strlen(a_filecon->path_str) + 1); in cil_post_filecon_compare()
122 char *b_path = cil_malloc(strlen(b_filecon->path_str) + 1); in cil_post_filecon_compare()
447 db->val_to_type = cil_malloc(sizeof(*db->val_to_type) * db->num_types); in __cil_post_db_array_helper()
455 db->val_to_role = cil_malloc(sizeof(*db->val_to_role) * db->num_roles); in __cil_post_db_array_helper()
463 db->val_to_user = cil_malloc(sizeof(*db->val_to_user) * db->num_users); in __cil_post_db_array_helper()
485 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
496 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
507 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
518 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
529 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
540 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
551 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
562 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
573 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
584 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
595 sort->array = cil_malloc(sizeof(*sort->array)*count); in __cil_post_db_array_helper()
612 attr->types = cil_malloc(sizeof(*attr->types)); in __evaluate_type_expression()
664 attr->users = cil_malloc(sizeof(*attr->users)); in __evaluate_user_expression()
712 attr->roles = cil_malloc(sizeof(*attr->roles)); in __evaluate_role_expression()
756 permx->perms = cil_malloc(sizeof(*permx->perms)); in __evaluate_permissionx_expression()
1261 role->types = cil_malloc(sizeof(*role->types)); in __cil_role_assign_types()
1358 user->roles = cil_malloc(sizeof(*user->roles)); in __cil_user_assign_roles()