Home | History | Annotate | Download | only in src

Lines Matching refs:pcidevicecon

4478 	struct cil_pcidevicecon *pcidevicecon = NULL;
4489 cil_pcidevicecon_init(&pcidevicecon);
4491 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev);
4497 pcidevicecon->context_str = parse_current->next->next->data;
4499 cil_context_init(&pcidevicecon->context);
4501 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context);
4507 ast_node->data = pcidevicecon;
4513 cil_log(CIL_ERR, "Bad pcidevicecon declaration at line %d of %s\n",
4515 cil_destroy_pcidevicecon(pcidevicecon);
4519 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon)
4521 if (pcidevicecon == NULL) {
4525 if (pcidevicecon->context_str == NULL && pcidevicecon->context != NULL) {
4526 cil_destroy_context(pcidevicecon->context);
4529 free(pcidevicecon);