Lines Matching refs:ibendportcon
4715 struct cil_ibendportcon *ibendportcon = NULL; in cil_gen_ibendportcon() local
4724 cil_ibendportcon_init(&ibendportcon); in cil_gen_ibendportcon()
4726 ibendportcon->dev_name_str = parse_current->next->data; in cil_gen_ibendportcon()
4728 rc = cil_fill_integer(parse_current->next->next, &ibendportcon->port, 10); in cil_gen_ibendportcon()
4735 ibendportcon->context_str = parse_current->next->next->next->data; in cil_gen_ibendportcon()
4737 cil_context_init(&ibendportcon->context); in cil_gen_ibendportcon()
4739 rc = cil_fill_context(parse_current->next->next->next->cl_head, ibendportcon->context); in cil_gen_ibendportcon()
4744 ast_node->data = ibendportcon; in cil_gen_ibendportcon()
4751 cil_destroy_ibendportcon(ibendportcon); in cil_gen_ibendportcon()
4755 void cil_destroy_ibendportcon(struct cil_ibendportcon *ibendportcon) in cil_destroy_ibendportcon() argument
4757 if (!ibendportcon) in cil_destroy_ibendportcon()
4760 if (!ibendportcon->context_str && ibendportcon->context) in cil_destroy_ibendportcon()
4761 cil_destroy_context(ibendportcon->context); in cil_destroy_ibendportcon()
4763 free(ibendportcon); in cil_destroy_ibendportcon()