Lines Matching refs:pcidevicecon
5011 struct cil_pcidevicecon *pcidevicecon = NULL; in cil_gen_pcidevicecon() local
5022 cil_pcidevicecon_init(&pcidevicecon); in cil_gen_pcidevicecon()
5024 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev, 0); in cil_gen_pcidevicecon()
5030 pcidevicecon->context_str = parse_current->next->next->data; in cil_gen_pcidevicecon()
5032 cil_context_init(&pcidevicecon->context); in cil_gen_pcidevicecon()
5034 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context); in cil_gen_pcidevicecon()
5040 ast_node->data = pcidevicecon; in cil_gen_pcidevicecon()
5047 cil_destroy_pcidevicecon(pcidevicecon); in cil_gen_pcidevicecon()
5051 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) in cil_destroy_pcidevicecon() argument
5053 if (pcidevicecon == NULL) { in cil_destroy_pcidevicecon()
5057 if (pcidevicecon->context_str == NULL && pcidevicecon->context != NULL) { in cil_destroy_pcidevicecon()
5058 cil_destroy_context(pcidevicecon->context); in cil_destroy_pcidevicecon()
5061 free(pcidevicecon); in cil_destroy_pcidevicecon()