Searched refs:cil_type (Results 1 – 12 of 12) sorted by relevance
115 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type);
263 struct cil_type *selftype;285 struct cil_type **val_to_type;477 struct cil_type { struct479 struct cil_type *bounds; argument960 void cil_type_init(struct cil_type **type);
343 struct cil_type *type = node->data; in __cil_post_db_count_helper()420 struct cil_type *type = node->data; in __cil_post_db_array_helper()606 struct cil_type *type = alias->actual; in __cil_type_to_bitmap()613 struct cil_type *type = (struct cil_type *)datum; in __cil_type_to_bitmap()1048 struct cil_type *type = (struct cil_type *)datum; in __cil_role_assign_types()1055 struct cil_type *type = alias->actual; in __cil_role_assign_types()
207 struct cil_type *type = (struct cil_type *)datum; in __cil_expand_type()493 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type) in cil_type_to_policydb() argument503 key = cil_strdup(cil_type->datum.fqn); in cil_type_to_policydb()520 int cil_type_bounds_to_policydb(policydb_t *pdb, struct cil_type *cil_type) in cil_type_bounds_to_policydb() argument526 if (cil_type->bounds) { in cil_type_bounds_to_policydb()527 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type), &sepol_type); in cil_type_bounds_to_policydb()530 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type->bounds), &sepol_parent); in cil_type_bounds_to_policydb()539 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()1348 struct cil_type *t = (struct cil_type *)t2; in __cil_is_type_match()1354 struct cil_type *t = (struct cil_type *)t1; in __cil_is_type_match()
686 struct cil_type *type = node->data; in __cil_verify_type()689 struct cil_type *t1 = type; in __cil_verify_type()690 struct cil_type *t2 = type->bounds; in __cil_verify_type()719 struct cil_type *type = ctx->type; in __cil_verify_context()
141 static void cil_reset_type(struct cil_type *type) in cil_reset_type()
113 void cil_destroy_type(struct cil_type *type);
1456 struct cil_type *type = ctx->type; in cil_filecons_to_string()1519 struct cil_type *type = ctx->type; in cil_filecons_to_string()2358 void cil_type_init(struct cil_type **type) in cil_type_init()
923 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()2302 struct cil_type *type = (struct cil_type *)child_datum; in cil_resolve_bounds()2327 type->bounds = (struct cil_type *)parent_datum; in cil_resolve_bounds()
547 struct cil_type *orig = data; in cil_copy_type()553 struct cil_type *new; in cil_copy_type()
616 struct cil_type *type = node->data; in cil_tree_print_node()
1967 struct cil_type *type = NULL; in cil_gen_type()2003 void cil_destroy_type(struct cil_type *type) in cil_destroy_type()