Lines Matching refs:devicetreecon
5074 struct cil_devicetreecon *devicetreecon = NULL; in cil_gen_devicetreecon() local
5085 cil_devicetreecon_init(&devicetreecon); in cil_gen_devicetreecon()
5087 devicetreecon->path = parse_current->next->data; in cil_gen_devicetreecon()
5090 devicetreecon->context_str = parse_current->next->next->data; in cil_gen_devicetreecon()
5092 cil_context_init(&devicetreecon->context); in cil_gen_devicetreecon()
5094 rc = cil_fill_context(parse_current->next->next->cl_head, devicetreecon->context); in cil_gen_devicetreecon()
5100 ast_node->data = devicetreecon; in cil_gen_devicetreecon()
5107 cil_destroy_devicetreecon(devicetreecon); in cil_gen_devicetreecon()
5111 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_destroy_devicetreecon() argument
5113 if (devicetreecon == NULL) { in cil_destroy_devicetreecon()
5117 if (devicetreecon->context_str == NULL && devicetreecon->context != NULL) { in cil_destroy_devicetreecon()
5118 cil_destroy_context(devicetreecon->context); in cil_destroy_devicetreecon()
5121 free(devicetreecon); in cil_destroy_devicetreecon()