Lines Matching refs:fsuse
5171 struct cil_fsuse *fsuse = NULL; in cil_gen_fsuse() local
5185 cil_fsuse_init(&fsuse); in cil_gen_fsuse()
5188 fsuse->type = CIL_FSUSE_XATTR; in cil_gen_fsuse()
5190 fsuse->type = CIL_FSUSE_TASK; in cil_gen_fsuse()
5192 fsuse->type = CIL_FSUSE_TRANS; in cil_gen_fsuse()
5198 fsuse->fs_str = parse_current->next->next->data; in cil_gen_fsuse()
5201 fsuse->context_str = parse_current->next->next->next->data; in cil_gen_fsuse()
5203 cil_context_init(&fsuse->context); in cil_gen_fsuse()
5205 rc = cil_fill_context(parse_current->next->next->next->cl_head, fsuse->context); in cil_gen_fsuse()
5211 ast_node->data = fsuse; in cil_gen_fsuse()
5218 cil_destroy_fsuse(fsuse); in cil_gen_fsuse()
5222 void cil_destroy_fsuse(struct cil_fsuse *fsuse) in cil_destroy_fsuse() argument
5224 if (fsuse == NULL) { in cil_destroy_fsuse()
5228 if (fsuse->context_str == NULL && fsuse->context != NULL) { in cil_destroy_fsuse()
5229 cil_destroy_context(fsuse->context); in cil_destroy_fsuse()
5232 free(fsuse); in cil_destroy_fsuse()