Lines Matching refs:cl_head
409 perms = parse_current->next->next->cl_head;
466 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str);
558 if (current_perm->cl_head != NULL) {
574 if (ast_node->cl_head == NULL) {
575 ast_node->cl_head = new_ast;
602 rc = __cil_verify_syntax(start_perm->cl_head, syntax, syntax_len);
699 curr = parse_current->cl_head;
706 } else if (curr->cl_head == NULL) {
884 rc = cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_MAP_PERM, &map->num_perms);
984 rc = cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_PERM, &common->num_perms);
1124 if (parse_current->next->next->cl_head == NULL) {
1129 rc = cil_fill_context(parse_current->next->next->cl_head, sidcon->context);
1182 rc = cil_fill_list(parse_current->next->cl_head, CIL_SIDORDER, &sidorder->sid_list_str);
1414 if (parse_current->next->next->cl_head == NULL) {
1419 rc = cil_fill_level(parse_current->next->next->cl_head
1474 if (parse_current->next->next->cl_head == NULL) {
1479 rc = cil_fill_levelrange(parse_current->next->next->cl_head, userrange->range);
1581 if (parse_current->next->next->next->cl_head == NULL) {
1586 rc = cil_fill_levelrange(parse_current->next->next->next->cl_head, selinuxuser->range);
1628 if (parse_current->next->next->cl_head == NULL) {
1633 rc = cil_fill_levelrange(parse_current->next->next->cl_head, selinuxuser->range);
2155 rc = cil_fill_permissionx(parse_current->next->next->cl_head, permx);
2212 if (parse_current->next->next->next->cl_head == NULL) {
2217 rc = cil_fill_permissionx(parse_current->next->next->next->cl_head, rule->perms.x.permx);
2594 if (current->cl_head == NULL) {
2604 rc = __cil_fill_expr_helper(current->cl_head, flavor, sub_expr, depth);
2626 if (current->cl_head == NULL) {
2629 rc = __cil_fill_expr_helper(current->cl_head, flavor, *expr, &depth);
2724 cil_fill_list(current->next->next->cl_head, leaf_expr_flavor, &sub_list);
2744 if (current->data == NULL || current->cl_head != NULL) {
2775 rc = __cil_fill_constraint_expr(current->next->cl_head, flavor, &lexpr, depth);
2784 rc = __cil_fill_constraint_expr(current->next->cl_head, flavor, &lexpr, depth);
2788 rc = __cil_fill_constraint_expr(current->next->next->cl_head, flavor, &rexpr, depth);
2813 if (current->cl_head == NULL) {
2817 rc = __cil_fill_constraint_expr(current->cl_head, flavor, expr, &depth);
2865 if (cond->cl_head->data != CIL_KEY_CONDTRUE &&
2866 cond->cl_head->data != CIL_KEY_CONDFALSE) {
2874 if (cond->cl_head->data != CIL_KEY_CONDTRUE &&
2875 cond->cl_head->data != CIL_KEY_CONDFALSE) {
2947 if (cond->cl_head->data != CIL_KEY_CONDTRUE &&
2948 cond->cl_head->data != CIL_KEY_CONDFALSE) {
2957 if (cond->cl_head->data != CIL_KEY_CONDTRUE &&
2958 cond->cl_head->data != CIL_KEY_CONDFALSE) {
3237 if (parse_current->next->cl_head == NULL) {
3241 rc = cil_fill_list(parse_current->next->cl_head, CIL_TYPE, &expandattr->attr_strs);
3449 if (parse_current->next->next->next->next->cl_head == NULL) {
3454 rc = cil_fill_levelrange(parse_current->next->next->next->next->cl_head, rangetrans->range);
3666 rc = cil_fill_list(parse_current->next->cl_head, CIL_CATORDER, &catorder->cat_list_str);
3726 rc = cil_fill_list(parse_current->next->cl_head, CIL_SENSITIVITYORDER, &sensorder->sens_list_str);
3846 rc = cil_fill_level(parse_current->next->next->cl_head, level);
3894 if (low->cl_head == NULL) {
3898 rc = cil_fill_level(low->cl_head, lvlrange->low);
3904 if (low->next->cl_head == NULL) {
3908 rc = cil_fill_level(low->next->cl_head, lvlrange->high);
3952 rc = cil_fill_levelrange(parse_current->next->next->cl_head, lvlrange);
4125 if (user_node->next->next->next->cl_head == NULL) {
4130 rc = cil_fill_levelrange(user_node->next->next->next->cl_head, context->range);
4174 rc = cil_fill_context(parse_current->next->next->cl_head, context);
4253 if (parse_current->next->next->next->cl_head == NULL) {
4256 if (parse_current->next->next->next->cl_head->next == NULL) {
4261 rc = cil_fill_context(parse_current->next->next->next->cl_head, filecon->context);
4317 if (parse_current->next->next->cl_head) {
4318 if (parse_current->next->next->cl_head->next &&
4319 !parse_current->next->next->cl_head->next->next) {
4320 rc = cil_fill_integer(parse_current->next->next->cl_head, &ibpkeycon->pkey_low, 0);
4325 rc = cil_fill_integer(parse_current->next->next->cl_head->next, &ibpkeycon->pkey_high, 0);
4344 if (!parse_current->next->next->next->cl_head) {
4349 rc = cil_fill_context(parse_current->next->next->next->cl_head, ibpkeycon->context);
4416 if (parse_current->next->next->cl_head != NULL) {
4417 if (parse_current->next->next->cl_head->next != NULL
4418 && parse_current->next->next->cl_head->next->next == NULL) {
4419 rc = cil_fill_integer(parse_current->next->next->cl_head, &portcon->port_low, 10);
4424 rc = cil_fill_integer(parse_current->next->next->cl_head->next, &portcon->port_high, 10);
4443 if (parse_current->next->next->next->cl_head == NULL ) {
4448 rc = cil_fill_context(parse_current->next->next->next->cl_head, portcon->context);
4502 if (parse_current->next->cl_head == NULL ) {
4507 rc = cil_fill_ipaddr(parse_current->next->cl_head, nodecon->addr);
4513 if (parse_current->next->next->cl_head == NULL ) {
4518 rc = cil_fill_ipaddr(parse_current->next->next->cl_head, nodecon->mask);
4524 if (parse_current->next->next->next->cl_head == NULL ) {
4529 rc = cil_fill_context(parse_current->next->next->next->cl_head, nodecon->context);
4594 if (parse_current->next->next->next->cl_head == NULL ) {
4599 rc = cil_fill_context(parse_current->next->next->next->cl_head, genfscon->context);
4656 if (parse_current->next->next->cl_head == NULL) {
4661 rc = cil_fill_context(parse_current->next->next->cl_head, netifcon->if_context);
4667 if (parse_current->next->next->next->cl_head == NULL) {
4672 rc = cil_fill_context(parse_current->next->next->next->cl_head, netifcon->packet_context);
4736 if (!parse_current->next->next->next->cl_head) {
4741 rc = cil_fill_context(parse_current->next->next->next->cl_head, ibendportcon->context);
4796 if (parse_current->next->next->cl_head == NULL) {
4801 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context);
4854 if (parse_current->next->cl_head != NULL) {
4855 if (parse_current->next->cl_head->next != NULL &&
4856 parse_current->next->cl_head->next->next == NULL) {
4857 rc = cil_fill_integer64(parse_current->next->cl_head, &iomemcon->iomem_low, 0);
4862 rc = cil_fill_integer64(parse_current->next->cl_head->next, &iomemcon->iomem_high, 0);
4881 if (parse_current->next->next->cl_head == NULL ) {
4886 rc = cil_fill_context(parse_current->next->next->cl_head, iomemcon->context);
4939 if (parse_current->next->cl_head != NULL) {
4940 if (parse_current->next->cl_head->next != NULL &&
4941 parse_current->next->cl_head->next->next == NULL) {
4942 rc = cil_fill_integer(parse_current->next->cl_head, &ioportcon->ioport_low, 0);
4947 rc = cil_fill_integer(parse_current->next->cl_head->next, &ioportcon->ioport_high, 0);
4966 if (parse_current->next->next->cl_head == NULL ) {
4971 rc = cil_fill_context(parse_current->next->next->cl_head, ioportcon->context);
5029 if (parse_current->next->next->cl_head == NULL) {
5034 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context);
5089 if (parse_current->next->next->cl_head == NULL) {
5094 rc = cil_fill_context(parse_current->next->next->cl_head, devicetreecon->context);
5164 if (parse_current->next->next->next->cl_head == NULL) {
5169 rc = cil_fill_context(parse_current->next->next->next->cl_head, fsuse->context);
5236 struct cil_tree_node *current_item = parse_current->next->next->cl_head;
5247 rc =__cil_verify_syntax(current_item->cl_head, param_syntax, param_syntax_len);
5256 kind = current_item->cl_head->data;
5295 param->str = current_item->cl_head->next->data;
5677 if (addr_node->cl_head != NULL || addr_node->next != NULL) {
5842 if (parse_current->next->cl_head == NULL) {
5846 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs);
5909 if (parse_current->next->cl_head == NULL) {
5913 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs);
6120 if (parse_current->parent->cl_head != parse_current) {
6473 if (ast_current->cl_head == NULL) {
6490 ast_current->cl_head = ast_node;