Lines Matching refs:pcidevicecon
5012 struct cil_pcidevicecon *pcidevicecon = NULL; in cil_gen_pcidevicecon() local
5023 cil_pcidevicecon_init(&pcidevicecon); in cil_gen_pcidevicecon()
5025 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev, 0); in cil_gen_pcidevicecon()
5031 pcidevicecon->context_str = parse_current->next->next->data; in cil_gen_pcidevicecon()
5033 cil_context_init(&pcidevicecon->context); in cil_gen_pcidevicecon()
5035 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context); in cil_gen_pcidevicecon()
5041 ast_node->data = pcidevicecon; in cil_gen_pcidevicecon()
5048 cil_destroy_pcidevicecon(pcidevicecon); in cil_gen_pcidevicecon()
5052 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) in cil_destroy_pcidevicecon() argument
5054 if (pcidevicecon == NULL) { in cil_destroy_pcidevicecon()
5058 if (pcidevicecon->context_str == NULL && pcidevicecon->context != NULL) { in cil_destroy_pcidevicecon()
5059 cil_destroy_context(pcidevicecon->context); in cil_destroy_pcidevicecon()
5062 free(pcidevicecon); in cil_destroy_pcidevicecon()