Lines Matching refs:ibendportcon
4717 struct cil_ibendportcon *ibendportcon = NULL; in cil_gen_ibendportcon() local
4726 cil_ibendportcon_init(&ibendportcon); in cil_gen_ibendportcon()
4728 ibendportcon->dev_name_str = parse_current->next->data; in cil_gen_ibendportcon()
4730 rc = cil_fill_integer(parse_current->next->next, &ibendportcon->port, 10); in cil_gen_ibendportcon()
4737 ibendportcon->context_str = parse_current->next->next->next->data; in cil_gen_ibendportcon()
4739 cil_context_init(&ibendportcon->context); in cil_gen_ibendportcon()
4741 rc = cil_fill_context(parse_current->next->next->next->cl_head, ibendportcon->context); in cil_gen_ibendportcon()
4746 ast_node->data = ibendportcon; in cil_gen_ibendportcon()
4753 cil_destroy_ibendportcon(ibendportcon); in cil_gen_ibendportcon()
4757 void cil_destroy_ibendportcon(struct cil_ibendportcon *ibendportcon) in cil_destroy_ibendportcon() argument
4759 if (!ibendportcon) in cil_destroy_ibendportcon()
4762 if (!ibendportcon->context_str && ibendportcon->context) in cil_destroy_ibendportcon()
4763 cil_destroy_context(ibendportcon->context); in cil_destroy_ibendportcon()
4765 free(ibendportcon); in cil_destroy_ibendportcon()