Lines Matching defs:node
75 static int __cil_gather_statements_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args)
82 switch (node->flavor) {
84 struct cil_block *blk = node->data;
127 struct cil_typeattribute *attr = node->data;
134 struct cil_roleattribute *attr = node->data;
150 struct cil_role *role = node->data;
176 cil_list_append(lists[kind], node->flavor, node->data);
363 struct cil_tree_node *node = NODE(operand->data);
364 if (node->flavor == CIL_USERATTRIBUTE) {
373 struct cil_tree_node *node = NODE(operand->data);
374 if (node->flavor == CIL_USERATTRIBUTE) {
523 struct cil_tree_node *node = NODE(operand->data);
524 if (node->flavor == CIL_USERATTRIBUTE) {
538 struct cil_tree_node *node = NODE(operand->data);
539 if (node->flavor == CIL_USERATTRIBUTE) {
731 struct cil_tree_node *node;
736 node = NODE(&common->datum);
737 perm = node->cl_head;
752 struct cil_tree_node *node;
756 node = NODE(&class->datum);
762 if (node->cl_head != NULL) {
763 struct cil_tree_node *perm = node->cl_head;
1108 ebitmap_node_t *node;
1121 ebitmap_for_each_positive_bit(permx->perms, node, i) {
1305 static int __cil_block_te_rules_to_policy_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args)
1309 switch (node->flavor) {
1311 struct cil_block *blk = node->data;
1325 if (args->flavor == node->flavor) {
1326 struct cil_avrule *rule = node->data;
1337 if (args->flavor == node->flavor) {
1338 struct cil_type_rule *rule = node->data;
1346 if (args->flavor == node->flavor) {
1347 cil_nametypetransition_to_policy(args->out, node->data);
1351 if (args->flavor == node->flavor) {
1352 cil_rangetransition_to_policy(args->out, node->data);
1357 if (args->flavor == node->flavor) {
1358 cil_typepermissive_to_policy(args->out, node->data);
1424 static int __cil_te_rules_to_policy_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args)
1428 switch (node->flavor) {
1430 struct cil_block *blk = node->data;
1440 struct cil_booleanif *bool = node->data;
1447 n = node->cl_head;