Lines Matching refs:genfscon
4576 struct cil_genfscon *genfscon = NULL; in cil_gen_genfscon() local
4587 cil_genfscon_init(&genfscon); in cil_gen_genfscon()
4589 genfscon->fs_str = parse_current->next->data; in cil_gen_genfscon()
4590 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon()
4593 genfscon->context_str = parse_current->next->next->next->data; in cil_gen_genfscon()
4595 cil_context_init(&genfscon->context); in cil_gen_genfscon()
4597 rc = cil_fill_context(parse_current->next->next->next->cl_head, genfscon->context); in cil_gen_genfscon()
4603 ast_node->data = genfscon; in cil_gen_genfscon()
4610 cil_destroy_genfscon(genfscon); in cil_gen_genfscon()
4614 void cil_destroy_genfscon(struct cil_genfscon *genfscon) in cil_destroy_genfscon() argument
4616 if (genfscon == NULL) { in cil_destroy_genfscon()
4620 if (genfscon->context_str == NULL && genfscon->context != NULL) { in cil_destroy_genfscon()
4621 cil_destroy_context(genfscon->context); in cil_destroy_genfscon()
4624 free(genfscon); in cil_destroy_genfscon()