Lines Matching refs:cond_node
75 cond_node_t *cond_node; member
922 …avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor… in __cil_cond_insert_rule() argument
946 cond_list->next = cond_node->true_list; in __cil_cond_insert_rule()
947 cond_node->true_list = cond_list; in __cil_cond_insert_rule()
949 cond_list->next = cond_node->false_list; in __cil_cond_insert_rule()
950 cond_node->false_list = cond_list; in __cil_cond_insert_rule()
973 …int32_t obj, uint32_t res, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor… in __cil_insert_type_rule() argument
1021 if (!cond_node) { in __cil_insert_type_rule()
1031 this_list = cond_node->true_list; in __cil_insert_type_rule()
1032 other_list = cond_node->false_list; in __cil_insert_type_rule()
1034 this_list = cond_node->false_list; in __cil_insert_type_rule()
1035 other_list = cond_node->true_list; in __cil_insert_type_rule()
1059 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_type_rule()
1066 …, const struct cil_db *db, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor… in __cil_type_rule_to_avtab() argument
1103 …, sepol_tgt->s.value, sepol_obj->s.value, sepol_result->s.value, cil_rule, cond_node, cond_flavor); in __cil_type_rule_to_avtab()
1123 …ruct cil_db *db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enum cil_flavor… in __cil_typetransition_to_avtab() argument
1149 return __cil_type_rule_to_avtab(pdb, db, &trans, cond_node, cond_flavor); in __cil_typetransition_to_avtab()
1262 …, uint32_t src, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enum cil_flavor… in __cil_insert_avrule() argument
1289 if (!cond_node) { in __cil_insert_avrule()
1302 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_avrule()
1309 …, struct cil_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enum cil_flavor… in __cil_avrule_expand_helper() argument
1338 … kind, sepol_src->s.value, sepol_tgt->s.value, sepol_class->s.value, data, cond_node, cond_flavor); in __cil_avrule_expand_helper()
1350 …struct cil_symtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enum cil_flavor… in __cil_avrule_expand() argument
1359 rc = __cil_avrule_expand_helper(pdb, kind, src, tgt, cp, cond_node, cond_flavor); in __cil_avrule_expand()
1367 rc = __cil_avrule_expand(pdb, kind, src, tgt, cmp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1376 rc = __cil_avrule_expand(pdb, kind, src, tgt, cp->classperms, cond_node, cond_flavor); in __cil_avrule_expand()
1405 …b, const struct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enum cil_flavor… in __cil_avrule_to_avtab() argument
1433 rc = __cil_avrule_expand(pdb, kind, src, src, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1444 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1465 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1484 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1500 rc = __cil_avrule_expand(pdb, kind, src, tgt, classperms, cond_node, cond_flavor); in __cil_avrule_to_avtab()
1893 cond_node_t *cond_node = args->cond_node; in __cil_cond_to_policydb_helper() local
1908 rc = __cil_typetransition_to_avtab(pdb, db, cil_typetrans, cond_node, cond_flavor); in __cil_cond_to_policydb_helper()
1916 rc = __cil_type_rule_to_avtab(pdb, db, cil_type_rule, cond_node, cond_flavor); in __cil_cond_to_policydb_helper()
1924 rc = __cil_avrule_to_avtab(pdb, db, cil_avrule, cond_node, cond_flavor); in __cil_cond_to_policydb_helper()
2232 cond_node_t *cond_node = NULL; in cil_booleanif_to_policydb() local
2267 cond_node = cond_node_find(pdb, tmp_cond, pdb->cond_list, &was_created); in cil_booleanif_to_policydb()
2268 if (cond_node == NULL) { in cil_booleanif_to_policydb()
2274 cond_node->next = pdb->cond_list; in cil_booleanif_to_policydb()
2275 pdb->cond_list = cond_node; in cil_booleanif_to_policydb()
2301 bool_args.cond_node = cond_node; in cil_booleanif_to_policydb()