Lines Matching refs:ioportcon
4724 struct cil_ioportcon *ioportcon = NULL; in cil_gen_ioportcon() local
4735 cil_ioportcon_init(&ioportcon); in cil_gen_ioportcon()
4740 rc = cil_fill_integer(parse_current->next->cl_head, &ioportcon->ioport_low); in cil_gen_ioportcon()
4745 rc = cil_fill_integer(parse_current->next->cl_head->next, &ioportcon->ioport_high); in cil_gen_ioportcon()
4756 rc = cil_fill_integer(parse_current->next, &ioportcon->ioport_low); in cil_gen_ioportcon()
4761 ioportcon->ioport_high = ioportcon->ioport_low; in cil_gen_ioportcon()
4765 ioportcon->context_str = parse_current->next->next->data; in cil_gen_ioportcon()
4767 cil_context_init(&ioportcon->context); in cil_gen_ioportcon()
4769 rc = cil_fill_context(parse_current->next->next->cl_head, ioportcon->context); in cil_gen_ioportcon()
4775 ast_node->data = ioportcon; in cil_gen_ioportcon()
4783 cil_destroy_ioportcon(ioportcon); in cil_gen_ioportcon()
4787 void cil_destroy_ioportcon(struct cil_ioportcon *ioportcon) in cil_destroy_ioportcon() argument
4789 if (ioportcon == NULL) { in cil_destroy_ioportcon()
4793 if (ioportcon->context_str == NULL && ioportcon->context != NULL) { in cil_destroy_ioportcon()
4794 cil_destroy_context(ioportcon->context); in cil_destroy_ioportcon()
4797 free(ioportcon); in cil_destroy_ioportcon()