Lines Matching defs:fsuse
5133 struct cil_fsuse *fsuse = NULL;
5147 cil_fsuse_init(&fsuse);
5150 fsuse->type = CIL_FSUSE_XATTR;
5152 fsuse->type = CIL_FSUSE_TASK;
5154 fsuse->type = CIL_FSUSE_TRANS;
5156 cil_log(CIL_ERR, "Invalid fsuse type\n");
5160 fsuse->fs_str = parse_current->next->next->data;
5163 fsuse->context_str = parse_current->next->next->next->data;
5165 cil_context_init(&fsuse->context);
5167 rc = cil_fill_context(parse_current->next->next->next->cl_head, fsuse->context);
5173 ast_node->data = fsuse;
5179 cil_tree_log(parse_current, CIL_ERR, "Bad fsuse declaration");
5180 cil_destroy_fsuse(fsuse);
5184 void cil_destroy_fsuse(struct cil_fsuse *fsuse)
5186 if (fsuse == NULL) {
5190 if (fsuse->context_str == NULL && fsuse->context != NULL) {
5191 cil_destroy_context(fsuse->context);
5194 free(fsuse);