Lines Matching refs:genfscon
4579 struct cil_genfscon *genfscon = NULL; in cil_gen_genfscon() local
4590 cil_genfscon_init(&genfscon); in cil_gen_genfscon()
4592 genfscon->fs_str = parse_current->next->data; in cil_gen_genfscon()
4593 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon()
4596 genfscon->context_str = parse_current->next->next->next->data; in cil_gen_genfscon()
4598 cil_context_init(&genfscon->context); in cil_gen_genfscon()
4600 rc = cil_fill_context(parse_current->next->next->next->cl_head, genfscon->context); in cil_gen_genfscon()
4606 ast_node->data = genfscon; in cil_gen_genfscon()
4613 cil_destroy_genfscon(genfscon); in cil_gen_genfscon()
4617 void cil_destroy_genfscon(struct cil_genfscon *genfscon) in cil_destroy_genfscon() argument
4619 if (genfscon == NULL) { in cil_destroy_genfscon()
4623 if (genfscon->context_str == NULL && genfscon->context != NULL) { in cil_destroy_genfscon()
4624 cil_destroy_context(genfscon->context); in cil_destroy_genfscon()
4627 free(genfscon); in cil_destroy_genfscon()